git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Thomas Leonard <talex5@gmail.com>
Date
Apr 8, 2008, 15:48 UTC
Message-ID
<cd53a0140804080848r54bb1e6dq54b5cce62339d6d1@mail.gmail.com>
In-Reply-To
<20080407195610.13681.39351.malone@potassium.ubuntu.com>
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@amsterdam.lcs.mit.edu>
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@vger.kernel.org.  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
Next: Björn Steinbrink
Message 1 of 6 in “Fwd: [Bug 163341] Re: git-svn gets wrong parent revision for tags”
  1. Thomas LeonardApr 8, 2008
  2. Björn SteinbrinkApr 8, 2008
  3. Thomas LeonardApr 8, 2008
  4. Björn SteinbrinkApr 9, 2008
  5. Thomas LeonardApr 9, 2008
  6. Björn SteinbrinkApr 9, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.