Show More
@@ -720,7 +720,7 b' def movebookmarks(ui, repo, mapping, old' | |||||
720 | # if nothing got rewritten there is not purpose for this function |
|
720 | # if nothing got rewritten there is not purpose for this function | |
721 | return |
|
721 | return | |
722 | moves = [] |
|
722 | moves = [] | |
723 | for bk, old in repo._bookmarks.iteritems(): |
|
723 | for bk, old in sorted(repo._bookmarks.iteritems()): | |
724 | if old == oldtopmost: |
|
724 | if old == oldtopmost: | |
725 | # special case ensure bookmark stay on tip. |
|
725 | # special case ensure bookmark stay on tip. | |
726 | # |
|
726 | # |
@@ -84,12 +84,12 b'' | |||||
84 | > pick 652413bf663e 5 f |
|
84 | > pick 652413bf663e 5 f | |
85 | > EOF |
|
85 | > EOF | |
86 | $ hg histedit 1 --commands commands.txt --verbose | grep histedit |
|
86 | $ hg histedit 1 --commands commands.txt --verbose | grep histedit | |
87 | histedit: moving bookmarks two from 177f92b77385 to d36c0562f908 |
|
87 | histedit: moving bookmarks also-two from 177f92b77385 to d36c0562f908 | |
88 |
histedit: moving bookmarks |
|
88 | histedit: moving bookmarks five from 652413bf663e to 0efacef7cb48 | |
89 | histedit: moving bookmarks four from e860deea161a to ae467701c500 |
|
89 | histedit: moving bookmarks four from e860deea161a to ae467701c500 | |
90 |
histedit: moving bookmarks |
|
90 | histedit: moving bookmarks three from 055a42cdd887 to ae467701c500 | |
|
91 | histedit: moving bookmarks two from 177f92b77385 to d36c0562f908 | |||
91 | histedit: moving bookmarks will-move-backwards from d2ae7f538514 to cb9a9f314b8b |
|
92 | histedit: moving bookmarks will-move-backwards from d2ae7f538514 to cb9a9f314b8b | |
92 | histedit: moving bookmarks five from 652413bf663e to 0efacef7cb48 |
|
|||
93 | saved backup bundle to $TESTTMP/r/.hg/strip-backup/d2ae7f538514-backup.hg (glob) |
|
93 | saved backup bundle to $TESTTMP/r/.hg/strip-backup/d2ae7f538514-backup.hg (glob) | |
94 | saved backup bundle to $TESTTMP/r/.hg/strip-backup/34a9919932c1-backup.hg (glob) |
|
94 | saved backup bundle to $TESTTMP/r/.hg/strip-backup/34a9919932c1-backup.hg (glob) | |
95 | $ hg log --graph |
|
95 | $ hg log --graph | |
@@ -141,9 +141,9 b'' | |||||
141 | > pick ae467701c500 2 d |
|
141 | > pick ae467701c500 2 d | |
142 | > EOF |
|
142 | > EOF | |
143 | $ hg histedit 1 --commands commands.txt --verbose | grep histedit |
|
143 | $ hg histedit 1 --commands commands.txt --verbose | grep histedit | |
144 |
histedit: moving bookmarks |
|
144 | histedit: moving bookmarks five from 0efacef7cb48 to 1be9c35b4cb2 | |
145 | histedit: moving bookmarks four from ae467701c500 to 1be9c35b4cb2 |
|
145 | histedit: moving bookmarks four from ae467701c500 to 1be9c35b4cb2 | |
146 |
histedit: moving bookmarks |
|
146 | histedit: moving bookmarks three from ae467701c500 to 1be9c35b4cb2 | |
147 | saved backup bundle to $TESTTMP/r/.hg/strip-backup/ae467701c500-backup.hg (glob) |
|
147 | saved backup bundle to $TESTTMP/r/.hg/strip-backup/ae467701c500-backup.hg (glob) | |
148 |
|
148 | |||
149 | We expect 'five' to stay at tip, since the tipmost bookmark is most |
|
149 | We expect 'five' to stay at tip, since the tipmost bookmark is most |
General Comments 0
You need to be logged in to leave comments.
Login now