On Monday, June 10, 2013 8:26:58 AM UTC+2, BhaaLseN . wrote:
> We're pretty much stuck with subversion over here, yet a few colleagues
> would like to try Git.
> The Git-Book has a note that it might make sense to create a git-svn clone
> and have others git clone that one - too bad it doesn't explain how (altho
> one could think the obvious).
> There are tutorials and steps available elsewhere, like on the Git
> various <http://kris.me.uk/2010/10/01/svn-master-with-git-mirrors.html>
> other <http://www.tfnico.com/presentations/git-and-subversion> blogs.
> All of them have the same problem (at least for me); and its described in
> some other blog i found on google:
> Too bad his solution didn't work for me.
> On client side, i'm doing this to test my setup:
> D:\_git>git clone -o svn git://debian-esxi/svn/Utils utils-test
> Cloning into 'utils-test'...[...]
> D:\_git>cd utils-test
> D:\_git\utils-test>git svn init --prefix=svn/ -s
> Using higher level of URL: http://linux01/svn/tci/Utils =>
> D:\_git\utils-test>git svn rebase
> Unable to determine upstream SVN information from working tree history
> The last step never works; regardless if I update-ref/symbolic-ref git-svn
> files in various locations or not (like git update-ref
> refs/remotes/git-svn HEAD or git update-ref refs/remotes/svn/git-svn HEAD
> I compared the git clone with a complete git-svn clone and ended up with
> the exact same git sandbox; except the .rev_map file. Someone else said
> that the .rev_map will be rebuilt by running either git-svn fetch or
> rebase; but I never get that far.
> Does anyone have some pointers on what else I could try to get this
> working? I'd really like to share my colleagues of having to go through
> days of cloning from the original 30k+ revs.
I certainly see the pain you want to avoid here, hence, I've written one of
the guides you link to above. I wonder why it's not working for you. Now,
it's a couple of years back that I did this kind of setup, but I thought
that as long as you use a prefix, everything would be
You can also have a look at the video around time point
32:20<https://vimeo.com/28762003>for how I first used to do the clone setup.
Keep in mind that this was
before I discovered the nice prefix option.
If I get the time, I might be able to set up another test round to see if
this still works in modern versions of git-svn.
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/groups/opt_out.