##// END OF EJS Templates
shelve: fix ordering of merge labels...
Kyle Lippincott -
r44856:69b091cd stable
parent child Browse files
Show More
@@ -997,7 +997,7 b' def _rebaserestoredcommit('
997 repo,
997 repo,
998 shelvectx,
998 shelvectx,
999 shelvectx.p1(),
999 shelvectx.p1(),
1000 labels=[b'shelve', b'working-copy'],
1000 labels=[b'working-copy', b'shelve'],
1001 keepconflictparent=True,
1001 keepconflictparent=True,
1002 )
1002 )
1003 if stats.unresolvedcount:
1003 if stats.unresolvedcount:
@@ -408,11 +408,11 b' ensure that we have a merge with unresol'
408 +++ b/a/a
408 +++ b/a/a
409 @@ -1,2 +1,6 @@
409 @@ -1,2 +1,6 @@
410 a
410 a
411 +<<<<<<< shelve: 2377350b6337 - shelve: pending changes temporary commit
411 +<<<<<<< working-copy: 2377350b6337 - shelve: pending changes temporary commit
412 c
412 c
413 +=======
413 +=======
414 +a
414 +a
415 +>>>>>>> working-copy: a68ec3400638 - shelve: changes to: [mq]: second.patch
415 +>>>>>>> shelve: a68ec3400638 - shelve: changes to: [mq]: second.patch
416 diff --git a/b/b b/b.rename/b
416 diff --git a/b/b b/b.rename/b
417 rename from b/b
417 rename from b/b
418 rename to b.rename/b
418 rename to b.rename/b
@@ -253,11 +253,11 b' unshelve and conflicts with tracked and '
253 M f
253 M f
254 ? f.orig
254 ? f.orig
255 $ cat f
255 $ cat f
256 <<<<<<< shelve: d44eae5c3d33 - shelve: pending changes temporary commit
256 <<<<<<< working-copy: d44eae5c3d33 - shelve: pending changes temporary commit
257 g
257 g
258 =======
258 =======
259 f
259 f
260 >>>>>>> working-copy: aef214a5229c - shelve: changes to: commit stuff
260 >>>>>>> shelve: aef214a5229c - shelve: changes to: commit stuff
261 $ cat f.orig
261 $ cat f.orig
262 g
262 g
263 $ hg unshelve --abort -t false
263 $ hg unshelve --abort -t false
@@ -295,11 +295,11 b' unshelve and conflicts with tracked and '
295 M f
295 M f
296 ? f.orig
296 ? f.orig
297 $ cat f
297 $ cat f
298 <<<<<<< shelve: 6b563750f973 - test: intermediate other change
298 <<<<<<< working-copy: 6b563750f973 - test: intermediate other change
299 g
299 g
300 =======
300 =======
301 f
301 f
302 >>>>>>> working-copy: aef214a5229c - shelve: changes to: commit stuff
302 >>>>>>> shelve: aef214a5229c - shelve: changes to: commit stuff
303 $ cat f.orig
303 $ cat f.orig
304 g
304 g
305
305
@@ -937,9 +937,9 b' Demonstrate that the labels are correct '
937 [1]
937 [1]
938 $ cat foo
938 $ cat foo
939 r0
939 r0
940 <<<<<<< shelve: 0b2fcf2a90e9 - shelve: pending changes temporary commit
940 <<<<<<< working-copy: 0b2fcf2a90e9 - shelve: pending changes temporary commit
941 this is in wdir, conflicts with shelve
941 this is in wdir, conflicts with shelve
942 =======
942 =======
943 this will be shelved
943 this will be shelved
944 >>>>>>> working-copy: 9c072a2163db - shelve: changes to: r0
944 >>>>>>> shelve: 9c072a2163db - shelve: changes to: r0
945 $ cd ..
945 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now