Wednesday, August 7, 2013

Git -> SVN

7 comments:

  1. 1) Crear proyecto SVN en Google Code
    - https://code.google.com/hosting/createProject

    ReplyDelete
  2. $ git svn clone -r HEAD https://xxx.googlecode.com/svn/trunk xxx --username xxx@gmail.com
    Initialized empty Git repository in .../xxx/.git/
    r1 = b614c8f77ae6c7d818fd67068fb1c20cf31cb20e (refs/remotes/git-svn)
    Checked out HEAD:
    https://xxx.googlecode.com/svn/trunk r1

    ReplyDelete
  3. $ git svn info
    Use of uninitialized value $lc_author in concatenation (.) or string at /usr/lib/git-core/git-svn line 1531.
    Use of uninitialized value $lc_rev in concatenation (.) or string at /usr/lib/git-core/git-svn line 1532.
    Path: .
    URL: https://xxx.googlecode.com/svn/trunk
    Repository Root: https://xxx.googlecode.com/svn
    Repository UUID: cf037059-dcc6-fb35-c51a-58dea249c370
    Revision: 1
    Node Kind: directory
    Schedule: normal
    Last Changed Author:
    Last Changed Rev:
    Last Changed Date: 2013-08-08 00:34:29 -0300 (Thu, 08 Aug 2013)

    ReplyDelete
  4. $ git config svn.rmdir true
    $ git config core.autocrlf input

    ReplyDelete
  5. To see what is going to be committed one can choose the following options.
    $ gitk git-svn..
    $ gitk
    $ git log remotes/git-svn.. --oneline
    $ git svn dcommit --dry-run

    To really commit
    $ git svn dcommit

    ReplyDelete

Note: Only a member of this blog may post a comment.