SVN tool to rebase a branch in git style
Posted
by
timmow
on Stack Overflow
See other posts from Stack Overflow
or by timmow
Published on 2010-02-15T18:32:30Z
Indexed on
2012/09/25
9:38 UTC
Read the original article
Hit count: 169
Are there any tools available that will let me rebase in git style an SVN branch onto a new parent?
So, in the following situation, I create a feature branch, and there are commits to the trunk
E---F---G Feature
/
A---B---C---D--H--I trunk
I'm looking for a tool which copies the trunk, and applies the commits one by one, letting me resolve any conflicts if any exist - but each commit retains the same commit message, and is still a separate commit.
E'---F'---G' Feature
/
A---B---C---D--H--I trunk
So commit E' will be a commit with the same changes as E, except in the case of E causing a conflict, in which case E' will differ from E in that E' has the conflicts resolved, and the same commit message as E.
I'm looking for this as it helps in keeping branches up to date with trunk - the svnmerge.py / mergeinfo way does not help, as you still need to resolve your changes when you merge back to trunk.
© Stack Overflow or respective owner