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

Re: git-svn: Finding the svn-URL of the current branch in git

From
MKMatthias Kleine <matthias_kleine@gmx.de>
Date
Aug 8, 2007, 18:51 UTC
Message-ID
<f9d3ce$1lo$1@sea.gmane.org>
In-Reply-To
<7vy7gm4cdv.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 5 quoted lines
> Parents' order and which branch you are on may not have anything
> to do with each other.  Somebody else may have pulled a while on
> b, and you might have pulled from him the merge he created by
> doing so while you are on branch a.
> 

You're right, I didn't think of that. While pondering this I came up with another problem: git-svn currently remembers which svn-branch a commit belongs to by including this information in the git commit log message. This way it is not possible to have one git-commit appear in more than one svn branch. Maybe it's better to store this git-commit->svn-branch mapping somewhere else. Although it's probably even better to completely switch to git :)

Matthias
Previous: Junio C HamanoNext: Peter Baumann
Message 5 of 15 in “git-svn: Finding the svn-URL of the current branch in git”
  1. Matthias KleineAug 7, 2007
  2. Peter BaumannAug 7, 2007
  3. Matthias KleineAug 8, 2007
  4. Junio C HamanoAug 8, 2007
  5. Matthias KleineAug 8, 2007
  6. Peter BaumannAug 8, 2007
  7. Peter BaumannAug 8, 2007
  8. Eric WongAug 16, 2007
  9. Peter BaumannAug 16, 2007
  10. Eric WongAug 17, 2007
  11. Junio C HamanoAug 17, 2007
  12. Eric WongAug 18, 2007
  13. David KastrupAug 18, 2007
  14. Junio C HamanoAug 18, 2007
  15. Karl HasselströmAug 18, 2007

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.