##// 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 stats = merge.graft(
1000 stats = merge.graft(
1001 repo,
1001 repo,
1002 shelvectx,
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 keepconflictparent=True,
1008 keepconflictparent=True,
1005 )
1009 )
1006 if stats.unresolvedcount:
1010 if stats.unresolvedcount:
@@ -419,11 +419,11 b' ensure that we have a merge with unresol'
419 +++ b/a/a
419 +++ b/a/a
420 @@ -1,2 +1,6 @@
420 @@ -1,2 +1,6 @@
421 a
421 a
422 +<<<<<<< working-copy: 2377350b6337 - shelve: pending changes temporary commit
422 +<<<<<<< working-copy: 2377350b6337 - shelve: pending changes temporary commit
423 c
423 c
424 +=======
424 +=======
425 +a
425 +a
426 +>>>>>>> shelve: 203c9f771d2b - shelve: changes to: [mq]: second.patch
426 +>>>>>>> shelved change: 203c9f771d2b - shelve: changes to: [mq]: second.patch
427 diff --git a/b/b b/b.rename/b
427 diff --git a/b/b b/b.rename/b
428 rename from b/b
428 rename from b/b
429 rename to b.rename/b
429 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 <<<<<<< working-copy: 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 >>>>>>> shelve: aef214a5229c - shelve: changes to: commit stuff
260 >>>>>>> shelved change: 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 <<<<<<< working-copy: 6b563750f973 - test: intermediate other change
298 <<<<<<< working-copy: 6b563750f973 - test: intermediate other change
299 g
299 g
300 =======
300 =======
301 f
301 f
302 >>>>>>> shelve: aef214a5229c - shelve: changes to: commit stuff
302 >>>>>>> shelved change: aef214a5229c - shelve: changes to: commit stuff
303 $ cat f.orig
303 $ cat f.orig
304 g
304 g
305
305
@@ -986,9 +986,9 b' Demonstrate that the labels are correct '
986 [240]
986 [240]
987 $ cat foo
987 $ cat foo
988 r0
988 r0
989 <<<<<<< working-copy: 0b2fcf2a90e9 - shelve: pending changes temporary commit
989 <<<<<<< working-copy: 0b2fcf2a90e9 - shelve: pending changes temporary commit
990 this is in wdir, conflicts with shelve
990 this is in wdir, conflicts with shelve
991 =======
991 =======
992 this will be shelved
992 this will be shelved
993 >>>>>>> shelve: 9c072a2163db - shelve: changes to: r0
993 >>>>>>> shelved change: 9c072a2163db - shelve: changes to: r0
994 $ cd ..
994 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now