Fwd: [Bug 163341] Re: git-svn gets wrong parent revision for tags

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

 



Hi.

The git-svn Ubuntu packager asked me to forward this here.

Summary:

When converting a subversion repository to GIT using git-svn, the tags
do not have the right parent. Each tag should be identical to a trunk
revision (which it was copied from), but because git-svn uses an
earlier revision as the parent it appears that the same work was
duplicated on two branches.

Example:

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

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
r2071 | tal197 | 2007-11-10 19:40:45 +0000 (Sat, 10 Nov 2007) | 1 line
Changed paths:
   A /releases/0publish/0publish-0.12 (from /trunk/0publish:1968)
   R /releases/0publish/0publish-0.12/0publish (from
/trunk/0publish/0publish:2070)
   R /releases/0publish/0publish-0.12/0publish.xml (from
/trunk/0publish/0publish.xml:2070)
   R /releases/0publish/0publish-0.12/release.py (from
/trunk/0publish/release.py:2069)

Released 0.12

https://bugs.launchpad.net/ubuntu/+source/git-core/+bug/163341

Thanks,


---------- Forwarded message ----------
From: Emil Sit <sit@xxxxxxxxxxxxxxxxxxxxx>
Date: 7 Apr 2008 20:56
Subject: [Bug 163341] Re: git-svn gets wrong parent revision for tags


I know that git-svn may rely on various conventions for the use of git
 and use of svn but since I'm not really familiar with either, it sounds
 like this should best be handled by the upstream developers.  Git does
 not use a dedicated bug tracker but handles issues on the mailing list
 git@xxxxxxxxxxxxxxxx  If you submit your patch there, you should get a
 pretty fast response and you can follow up with this bug.  In any event,
 if the bug is fixed upstream, the next version of Ubuntu will probably
 include the fix automatically.

 Can you handle the follow-up with the official git developers?  Thanks!


 --
 git-svn gets wrong parent revision for tags
 https://bugs.launchpad.net/bugs/163341
 You received this bug notification because you are a direct subscriber
 of the bug.


-- 
Dr Thomas Leonard		http://rox.sourceforge.net
GPG: 9242 9807 C985 3C07 44A6  8B9A AE07 8280 59A5 3CC1
--
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