Show More
@@ -172,6 +172,7 b' def concludenode(repo, rev, p1, p2, stat' | |||||
172 | user=repo[rev].user(), |
|
172 | user=repo[rev].user(), | |
173 | date=repo[rev].date(), |
|
173 | date=repo[rev].date(), | |
174 | extra=extra) |
|
174 | extra=extra) | |
|
175 | repo.dirstate.setbranch(repo[newrev].branch()) | |||
175 | return newrev |
|
176 | return newrev | |
176 | except util.Abort: |
|
177 | except util.Abort: | |
177 | # Invalidate the previous setparents |
|
178 | # Invalidate the previous setparents |
@@ -28,3 +28,5 b" echo '% Rebase a branch while preserving" | |||||
28 | hg update -C 3 |
|
28 | hg update -C 3 | |
29 | hg rebase -b 4 -d 3 --keepbranches 2>&1 | sed 's/\(saving bundle to \).*/\1/' |
|
29 | hg rebase -b 4 -d 3 --keepbranches 2>&1 | sed 's/\(saving bundle to \).*/\1/' | |
30 | hg glog --template '{rev}:{desc}:{branches}\n' |
|
30 | hg glog --template '{rev}:{desc}:{branches}\n' | |
|
31 | echo '% dirstate branch should be "notdefault"' | |||
|
32 | hg branch |
General Comments 0
You need to be logged in to leave comments.
Login now