From: Ximin Luo <xl269@cam.ac.uk>
To: Bryan Donlan <bdonlan@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: [git-svn] [BUG] merge-tracking inconsistencies; Was: [FEATURE-REQ] track merges from git
Date: Wed, 26 Aug 2009 22:13:55 +0100 [thread overview]
Message-ID: <4A95A593.4070002@cam.ac.uk> (raw)
In-Reply-To: <4A95A032.3000801@cam.ac.uk>
Ximin Luo wrote:
> The only difference between the two runs is that in the unfucked version, we
> run "git svn dcommit" after every git commit.
Hmm, now that I think about it, the "bug" would be quite hard to "fix"...
Basically, it happens if you try to dcommit a commit A which has two parents, B
and X, where X is in a different branch, and hasn't already been dcommited. It
would seem that there isn't (in general) a way to detect whether X would become
(ie. in the future) a dcommitted svn commit - and actually this might not even
be the case, if eg. someone "svn commited" before we could get that dcommit in.
However about having git-svn outputting a warning when it detects merge
commits, one of whose parents is *not* a dcommitted commit, but does belongs to
a branch that is also being tracked by git-svn?
Something like "Warning: commit aaaa has parent bbbb; however, parent bbbb has
not been dcommited to the remote svn yet. If you proceed with this dcommit, the
merge history will be lost; to preserve the history, dcommit the branch
containing bbbb instead and then continue to dcommit this branch"?
X
next prev parent reply other threads:[~2009-08-26 21:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-26 16:42 [git-svn] [FEATURE-REQ] track merges from git Ximin Luo
2009-08-26 19:06 ` Bryan Donlan
[not found] ` <4A95A032.3000801@cam.ac.uk>
2009-08-26 20:55 ` [git-svn] [BUG] merge-tracking inconsistencies; Was: " Ximin Luo
2009-08-26 21:13 ` Ximin Luo [this message]
2009-09-05 8:03 ` [git-svn] " Eric Wong
2009-09-06 22:15 ` Ximin Luo
2009-09-05 9:23 ` Jakub Narebski
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=4A95A593.4070002@cam.ac.uk \
--to=xl269@cam.ac.uk \
--cc=bdonlan@gmail.com \
--cc=git@vger.kernel.org \
/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).