From: Sam Vilain <sam@vilain.net>
To: Steven Grimm <koreth@midwinter.com>
Cc: git@vger.kernel.org
Subject: Re: git for subversion users
Date: Tue, 26 Jun 2007 17:54:29 +1200 [thread overview]
Message-ID: <4680AA15.6040501@vilain.net> (raw)
In-Reply-To: <4680A341.5000208@midwinter.com>
Steven Grimm wrote:
> I will say, though, that the upcoming addition to git-svn to allow
> merges to be directly committed to the svn repository will make some of
> those kinds of scenarios a lot less brittle than they are now. It's
> still a work in progress but it looks very promising so far. (Search the
> list for "[PATCH] git-svn: allow dcommit to retain local merge
> information" if you want to see what I'm talking about.)
Yes. On that. It would be nice if git-svn could also fake setting
remote merge properties, too.
Some beginnings at:
http://git.catalyst.net.nz/gw?p=git.git;a=shortlog;h=svk-merge
(pull from git://git.catalyst.net.nz/git.git#svk-merge)
What it needs to do;
0. preserve the notion that commits tagged with "git-svn-id:" should
not vary depending on who synced them.
1. on commit, if we're committing a merge, make sure that the other
parent has the same revision somewhere in the repo, and then set
the "svk:merge" and "svnmerge-integrated" tags to accurately record
which parent SVN revisions are used
2. when fetching revisions, spot these tickets and set parents
appropriately. In the case of SVK, the merge tickets may
correspond to revisions in (inaccessible) svk local depots. It may
be possible to infer these extra parents in some limited
situations using the extra information svk puts in commit messages
by default, but I doubt that is a useful endeavour!
I'll take a look at what you've been working on and see if that's not
what you're already trying...
Sam.
next prev parent reply other threads:[~2007-06-26 5:54 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 [this message]
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 ` subversion and merging [was: Re: git for subversion users] Sam Vilain
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=4680AA15.6040501@vilain.net \
--to=sam@vilain.net \
--cc=git@vger.kernel.org \
--cc=koreth@midwinter.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).