I'm trying to clone a specific SVN revision with git-svn:
git svn clone -r 12345 https://host/svn/foo/branches/bar xyz
but it doesn't check out any files, I see just this:
Initialized empty Git repository in /Users/liyanage/Desktop/xyz/.git
If I try the same thing with SVN like this:
svn co -r 12345 https://host/svn/foo/branches/bar xyz
then I get what I expect, it checks out all the files and "svn info" gives me this revision.I think it's because this particular revision wasn't committed on this branch, i.e. it doesn't show up in "svn log". If I try a revision that is listed in the log, it works as expected.
Is there a way to make this work?