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

subversion and merging [was: Re: git for subversion users]

From
Sam Vilain <sam@vilain.net>
Date
Jun 26, 2007, 07:48 UTC
Message-ID
<4680C4D1.6050408@vilain.net>
In-Reply-To
<200706261302.10056.litvinov2004@gmail.com>
Alexander Litvinov wrote:
Show 5 quoted lines
> So, git-svn just a offline-capable version of svn client with linear history. 
> Sure. you can fork your own branch and then merge it into svn branch again 
> but you should really careful about this.
> 
> I even does not know the way to solve this problem.

The problem is the SVN model. Only now that people have woken up en masse to the fact that tracking merges is actually really important are they adding it to the core.

Their system¹ is of course completely incompatible with the predominant tool for this SVK (no complaints there). Thankfully it looks based on the other major solution out there, svnmerge, so hopefully only minor incompatibilities can be expected.

My first analysis of the solution is that they have approached this on two levels: commit merge ancestry and file merge ancestry.

File merge ancestry, while central to tools like Perforce, is a pretty alien concept to git and almost certainly can be derived (probably more reliably in practice) using git-cherry-type algorithms. I describe this as the "smash patches to pieces" development model on my git-svn tutorial.

Commit merge ancestry is however a basic feature in git.  They are even
going further than that and allowing cherry picks to be tracked as well.
 This information is currently derived in git using git-cherry.
Sam.
¹ http://subversion.tigris.org/merge-tracking/design.html
Previous: Alexander Litvinov
Message 8 of 8 in “git for subversion users”
  1. Patrick DoyleJun 25, 2007
  2. Sam VilainJun 26, 2007
  3. Steven GrimmJun 26, 2007
  4. Sam VilainJun 26, 2007
  5. Sam VilainJun 26, 2007
  6. Patrick DoyleJun 26, 2007
  7. Alexander LitvinovJun 26, 2007
  8. subversion and merging [was: Re: git for subversion users]Sam Vilain, Jun 26, 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.