Show More
@@ -921,3 +921,25 b' Block merge abort when unshelve in progr' | |||
|
921 | 921 | @ initial commit test 1970-01-01 00:00 +0000 |
|
922 | 922 | |
|
923 | 923 | $ cd .. |
|
924 | ||
|
925 | Demonstrate that the labels are correct in the merge conflict | |
|
926 | ------------------------------------------------------------- | |
|
927 | $ hg init labels | |
|
928 | $ cd labels | |
|
929 | $ echo r0 > foo | |
|
930 | $ hg ci -qAm r0 | |
|
931 | $ echo "this will be shelved" >> foo | |
|
932 | $ hg shelve -q | |
|
933 | $ echo "this is in wdir, conflicts with shelve" >> foo | |
|
934 | $ hg unshelve -q | |
|
935 | warning: conflicts while merging foo! (edit, then use 'hg resolve --mark') | |
|
936 | unresolved conflicts (see 'hg resolve', then 'hg unshelve --continue') | |
|
937 | [1] | |
|
938 | $ cat foo | |
|
939 | r0 | |
|
940 | <<<<<<< shelve: 0b2fcf2a90e9 - shelve: pending changes temporary commit | |
|
941 | this is in wdir, conflicts with shelve | |
|
942 | ======= | |
|
943 | this will be shelved | |
|
944 | >>>>>>> working-copy: 9c072a2163db - shelve: changes to: r0 | |
|
945 | $ cd .. |
General Comments 0
You need to be logged in to leave comments.
Login now