Thread (21 messages) flat view 21 messages, 5 authors, 2016-06-15

Re: [RFC/PATCH] git-svn: add support for --first-parent

From: Lars Hjemli <hidden>
Date: 2016-06-15 22:43:33

On 9/5/07, Eric Wong [off-list ref] wrote:
Lars Hjemli [off-list ref] wrote:
quoted
When git-svn uses git-log to find embedded 'git-svn-id'-lines in commit
messages, it can get confused when local history contains merges with
other git-svn branches. But if --first-parent is supplied to git-log,
working_head_info() will only see 'branch-local' commits and thus the
first commit containing a 'git-svn-id' line should refer to the correct
subversion branch.
Ideally, we'd probably stop, say something and give the user the choice
of branches if multiple parents available.
Could you elaborate? (I don't understand how following the first
parent of a merge could end up at the wrong svn branch)

--
larsh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help