From: Sam Vilain <sam@vilain.net>
To: Alexander Litvinov <litvinov2004@gmail.com>
Cc: Patrick Doyle <wpdster@gmail.com>, git@vger.kernel.org
Subject: subversion and merging [was: Re: git for subversion users]
Date: Tue, 26 Jun 2007 19:48:33 +1200 [thread overview]
Message-ID: <4680C4D1.6050408@vilain.net> (raw)
In-Reply-To: <200706261302.10056.litvinov2004@gmail.com>
Alexander Litvinov wrote:
> 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
prev parent reply other threads:[~2007-06-26 7:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-25 19:48 git for subversion users Patrick Doyle
2007-06-26 4:33 ` Sam Vilain
2007-06-26 5:25 ` Steven Grimm
2007-06-26 5:54 ` Sam Vilain
2007-06-26 7:29 ` Sam Vilain
2007-06-26 13:19 ` Patrick Doyle
2007-06-26 6:02 ` Alexander Litvinov
2007-06-26 7:48 ` Sam Vilain [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4680C4D1.6050408@vilain.net \
--to=sam@vilain.net \
--cc=git@vger.kernel.org \
--cc=litvinov2004@gmail.com \
--cc=wpdster@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).