Try:

git-svn clone https://zero-install.svn.sourceforge.net/svnroot/zero-
install -T trunk/0publish -r1890:2072 -b releases/0publish

git-svn version 1.5.2.5 (svn 1.4.4)

Go into the created 'zero-install' directory and run:

gitk --all

As you can see, the git branch comes from r1894, yet the svn log shows
that in includes files from r2070:

svn log https://zero-install.svn.sourceforge.net/svnroot/zero-install
-r2071 -v

My patch is not correct in all cases, since it is possible to create a
branch from an earlier revision than HEAD (probably it should find the
newest source version rather than the oldest). However, the current code
seems worse since in fails to cope with the normal case.

(the problem of getting the correct branch point is probably unsolvable
in the most general case, since a branch may even come from a mixture of
different revisions, although I doubt anyone does that intentionally)

-- 
git-svn gets wrong parent revision for tags
https://bugs.launchpad.net/bugs/163341
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to