Mercurial > evolve
comparison tests/test-stabilize-result.t @ 465:4a039a8c1cf3
stabilize: --continue support !!!
Based on graft one.
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Mon, 20 Aug 2012 14:13:29 +0200 |
parents | aedb6b8ace86 |
children | abeb17a9e313 |
comparison
equal
deleted
inserted
replaced
464:d88c761f97c4 | 465:4a039a8c1cf3 |
---|---|
47 | 47 |
48 $ hg debugobsolete | 48 $ hg debugobsolete |
49 41ad4fe8c79565a06c89f032ef0937b3cbd68a04 1447e1c4828d2347df8f858aa041305fa4cf7db1 0 {'date': '* *', 'user': 'test'} (glob) | 49 41ad4fe8c79565a06c89f032ef0937b3cbd68a04 1447e1c4828d2347df8f858aa041305fa4cf7db1 0 {'date': '* *', 'user': 'test'} (glob) |
50 102a90ea7b4a3361e4082ed620918c261189a36a 1447e1c4828d2347df8f858aa041305fa4cf7db1 0 {'date': '* *', 'user': 'test'} (glob) | 50 102a90ea7b4a3361e4082ed620918c261189a36a 1447e1c4828d2347df8f858aa041305fa4cf7db1 0 {'date': '* *', 'user': 'test'} (glob) |
51 cce2c55b896511e0b6e04173c9450ba822ebc740 0 {'date': '* *', 'user': 'test'} (glob) | 51 cce2c55b896511e0b6e04173c9450ba822ebc740 0 {'date': '* *', 'user': 'test'} (glob) |
52 | |
53 Test stabilize with conflict | |
54 | |
55 $ ls | |
56 a | |
57 b | |
58 $ hg pdiff a | |
59 diff -r 07f494440405 a | |
60 --- a/a * (glob) | |
61 +++ b/a * (glob) | |
62 @@ -1,1 +1,2 @@ | |
63 a | |
64 +a | |
65 $ echo 'newer a' >> a | |
66 $ hg ci -m 'newer a' | |
67 $ hg gdown | |
68 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
69 [4] changea | |
70 $ echo 'a' > a | |
71 $ hg amend | |
72 1 new unstables changesets | |
73 $ hg stabilize | |
74 move:[5] newer a | |
75 atop:[7] changea | |
76 merging a | |
77 warning: conflicts during merge. | |
78 merging a incomplete! (edit conflicts, then use 'hg resolve --mark') | |
79 stabilize failed! | |
80 fix conflict and run "hg stabilize --continue" | |
81 abort: unresolved merge conflicts (see hg help resolve) | |
82 [255] | |
83 $ hg revert -r 'unstable()' a | |
84 $ hg diff | |
85 diff -r e8cc1b534401 a | |
86 --- a/a * (glob) | |
87 +++ b/a * (glob) | |
88 @@ -1,1 +1,3 @@ | |
89 a | |
90 +a | |
91 +newer a | |
92 $ hg stabilize --continue | |
93 grafting revision 5 | |
94 abort: unresolved merge conflicts (see hg help resolve) | |
95 [255] | |
96 $ hg resolve -m a | |
97 $ hg stabilize --continue | |
98 grafting revision 5 |