Mercurial > hg-stable
changeset 8270:3477ad0b1f2c
Merge with crew-stable
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Fri, 01 May 2009 12:35:13 +0200 |
parents | bb9f13974d8e (current diff) 609ce91670d0 (diff) |
children | e3d3dad805f9 |
files | hgext/rebase.py tests/test-rebase-keep-branch |
diffstat | 3 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/rebase.py Thu Apr 30 23:57:36 2009 -0500 +++ b/hgext/rebase.py Fri May 01 12:35:13 2009 +0200 @@ -176,6 +176,7 @@ user=repo[rev].user(), date=repo[rev].date(), extra=extra) + repo.dirstate.setbranch(repo[newrev].branch()) return newrev except util.Abort: # Invalidate the previous setparents
--- a/tests/test-rebase-keep-branch Thu Apr 30 23:57:36 2009 -0500 +++ b/tests/test-rebase-keep-branch Fri May 01 12:35:13 2009 +0200 @@ -28,3 +28,5 @@ hg update -C 3 hg rebase -b 4 -d 3 --keepbranches 2>&1 | sed 's/\(saving bundle to \).*/\1/' hg glog --template '{rev}:{desc}:{branches}\n' +echo '% dirstate branch should be "notdefault"' +hg branch