diff options
author | Bryan Jacobs <bjacobs@woti.com> | 2011-09-07 13:36:05 -0400 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-09-13 08:12:13 +0000 |
commit | 1e5814f3def08452aef4caa703f074ba7d167867 (patch) | |
tree | 4d4d43de6777ca1c592e6a95580855f34bc47a13 /builtin/log.c | |
parent | Git 1.7.7-rc1 (diff) | |
download | tgif-1e5814f3def08452aef4caa703f074ba7d167867.tar.xz |
git-svn: teach git-svn to populate svn:mergeinfo
Allow git-svn to populate the svn:mergeinfo property automatically in
a narrow range of circumstances. Specifically, when dcommitting a
revision with multiple parents, all but (potentially) the first of
which have been committed to SVN in the same repository as the target
of the dcommit.
In this case, the merge info is the union of that given by each of the
parents, plus all changes introduced to the first parent by the other
parents.
In all other cases where a revision to be committed has multiple
parents, cause "git svn dcommit" to raise an error rather than
completing the commit and potentially losing history information in
the upstream SVN repository.
This behavior is disabled by default, and can be enabled by setting
the svn.pushmergeinfo config option.
[ew: minor style changes and manpage merge fix]
Acked-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Bryan Jacobs <bjacobs@woti.com>
Diffstat (limited to 'builtin/log.c')
0 files changed, 0 insertions, 0 deletions