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
Junio C Hamano <gitster@pobox.com>
Date
Aug 17, 2007, 08:45 UTC
Message-ID
<7vir7eh7mc.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<20070816082110.GB16849@muzzle>
Eric Wong <normalperson@yhbt.net> writes:
> Junio:
> Would you object to having git-merge spew a big fat warning
> and/or outright refuse to let git-merge run on git-svn repositories?

Actually I do. A major, if not primary, selling point of git-svn has been that svn cannot do merges but if you import to git you can, and I've had an impression that Sam's git-svn intro alludes to this capability as well.

If I understand you correctly, your position is that the svn side has the authoritative history when using git-svn, and we should refuse to do anything on the git side that the resulting history in svn cannot represent. I know and respect that you have thought about the issues involved long enough before that declaration of defeat, but at the same time, I would really hope that we can come up with a workable compromise to allow merge tracking on the git side.

It probably does not even have to interoperate with people who do their own merge tracking using svk. Perhaps something as simple and ugly as recording the parent commit object names on the git side as a trailer to the commit log message we push back to svn would allow people who interact with the same svn repository from their own git-svn managed git repository to interoperate with each other?

Previous: Eric WongNext: Eric Wong
Message 11 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.