Re: git export to svn

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



John,

Thanks for your quick reply. I tried that, but got the following error:


$ git clone ../test2/
Initialized empty Git repository in /Users/warren/projects/tmp/test2- git-clone/test2/.git/ # ...svn test2 dir already created with subdirs trunk, tags and branches... $ git svn init https://svn/svn/SANDBOX/warren/test2 -T trunk -t tags - b branches
Using higher level of URL: https://svn/svn/SANDBOX/warren/test2 => https://svn/svn
$ git svn dcommit
Can't call method "full_url" on an undefined value at /opt/local/ libexec/git-core/git-svn line 425.

I then tried the hints from here: http://www.basementcoders.com/2008/9/30/git-svn-gotcha , but still no luck:

$ git merge --no-ff master
Already up-to-date.
$ git svn dcommit
Can't call method "full_url" on an undefined value at /opt/local/ libexec/git-core/git-svn line 425.


Warren


On Oct 25, 2008, at 11:43 AM, J.H. wrote:

The basic way you would want to do it, it attach your git tree to SVN
and then git svn dcommit - which will replay the uncommitted changes
back into SVN - git svn init will do the attachment - assuming that your
git / svn repositories are at least based from the same place.

- John 'Warthog9' Hawley

On Sat, 2008-10-25 at 11:40 -0700, Warren Harris wrote:
Is there a way to export a git repository along with its history to
svn? (git svn init seems to want to go in the other direction.) I know
this is in some sense "going backwards" but I need to commit my work
to a client. Thanks,

Warren
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux