##// END OF EJS Templates
shelve: attempt to make merge labels more helpful...
Martin von Zweigbergk -
r49438:bcc48202 default
parent child Browse files
Show More
@@ -1000,7 +1000,11 b' def _rebaserestoredcommit('
1000 1000 stats = merge.graft(
1001 1001 repo,
1002 1002 shelvectx,
1003 labels=[b'working-copy', b'shelve'],
1003 labels=[
1004 b'working-copy',
1005 b'shelved change',
1006 b'parent of shelved change',
1007 ],
1004 1008 keepconflictparent=True,
1005 1009 )
1006 1010 if stats.unresolvedcount:
@@ -419,11 +419,11 b' ensure that we have a merge with unresol'
419 419 +++ b/a/a
420 420 @@ -1,2 +1,6 @@
421 421 a
422 +<<<<<<< working-copy: 2377350b6337 - shelve: pending changes temporary commit
422 +<<<<<<< working-copy: 2377350b6337 - shelve: pending changes temporary commit
423 423 c
424 424 +=======
425 425 +a
426 +>>>>>>> shelve: 203c9f771d2b - shelve: changes to: [mq]: second.patch
426 +>>>>>>> shelved change: 203c9f771d2b - shelve: changes to: [mq]: second.patch
427 427 diff --git a/b/b b/b.rename/b
428 428 rename from b/b
429 429 rename to b.rename/b
@@ -253,11 +253,11 b' unshelve and conflicts with tracked and '
253 253 M f
254 254 ? f.orig
255 255 $ cat f
256 <<<<<<< working-copy: d44eae5c3d33 - shelve: pending changes temporary commit
256 <<<<<<< working-copy: d44eae5c3d33 - shelve: pending changes temporary commit
257 257 g
258 258 =======
259 259 f
260 >>>>>>> shelve: aef214a5229c - shelve: changes to: commit stuff
260 >>>>>>> shelved change: aef214a5229c - shelve: changes to: commit stuff
261 261 $ cat f.orig
262 262 g
263 263 $ hg unshelve --abort -t false
@@ -295,11 +295,11 b' unshelve and conflicts with tracked and '
295 295 M f
296 296 ? f.orig
297 297 $ cat f
298 <<<<<<< working-copy: 6b563750f973 - test: intermediate other change
298 <<<<<<< working-copy: 6b563750f973 - test: intermediate other change
299 299 g
300 300 =======
301 301 f
302 >>>>>>> shelve: aef214a5229c - shelve: changes to: commit stuff
302 >>>>>>> shelved change: aef214a5229c - shelve: changes to: commit stuff
303 303 $ cat f.orig
304 304 g
305 305
@@ -986,9 +986,9 b' Demonstrate that the labels are correct '
986 986 [240]
987 987 $ cat foo
988 988 r0
989 <<<<<<< working-copy: 0b2fcf2a90e9 - shelve: pending changes temporary commit
989 <<<<<<< working-copy: 0b2fcf2a90e9 - shelve: pending changes temporary commit
990 990 this is in wdir, conflicts with shelve
991 991 =======
992 992 this will be shelved
993 >>>>>>> shelve: 9c072a2163db - shelve: changes to: r0
993 >>>>>>> shelved change: 9c072a2163db - shelve: changes to: r0
994 994 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now