Show More
@@ -30,6 +30,14 b' revision 3 - simple to merge' | |||
|
30 | 30 | $ echo "revision 3" >> f |
|
31 | 31 | $ hg commit -Am "revision 3" |
|
32 | 32 | created new head |
|
33 | ||
|
34 | revision 4 - hard to merge | |
|
35 | ||
|
36 | $ hg update 0 > /dev/null | |
|
37 | $ echo "revision 4" > f | |
|
38 | $ hg commit -Am "revision 4" | |
|
39 | created new head | |
|
40 | ||
|
33 | 41 | $ echo "[merge-tools]" > .hg/hgrc |
|
34 | 42 | |
|
35 | 43 | $ beforemerge() { |
@@ -832,17 +840,17 b' for Unix-like permission)' | |||
|
832 | 840 | true.priority=1 |
|
833 | 841 | true.executable=cat |
|
834 | 842 | # hg update -C 1 |
|
835 | $ echo "revision 4" > '"; exit 1; echo "' | |
|
836 | $ hg commit -Am "revision 4" | |
|
837 | adding "; exit 1; echo " | |
|
838 | warning: filename contains '"', which is reserved on Windows: '"; exit 1; echo "' | |
|
839 | $ hg update -C 1 > /dev/null | |
|
840 | 843 | $ echo "revision 5" > '"; exit 1; echo "' |
|
841 | 844 | $ hg commit -Am "revision 5" |
|
842 | 845 | adding "; exit 1; echo " |
|
843 | 846 | warning: filename contains '"', which is reserved on Windows: '"; exit 1; echo "' |
|
847 | $ hg update -C 1 > /dev/null | |
|
848 | $ echo "revision 6" > '"; exit 1; echo "' | |
|
849 | $ hg commit -Am "revision 6" | |
|
850 | adding "; exit 1; echo " | |
|
851 | warning: filename contains '"', which is reserved on Windows: '"; exit 1; echo "' | |
|
844 | 852 | created new head |
|
845 |
$ hg merge --config merge-tools.true.executable="true" -r |
|
|
853 | $ hg merge --config merge-tools.true.executable="true" -r 5 | |
|
846 | 854 | merging "; exit 1; echo " |
|
847 | 855 | 0 files updated, 1 files merged, 0 files removed, 0 files unresolved |
|
848 | 856 | (branch merge, don't forget to commit) |
General Comments 0
You need to be logged in to leave comments.
Login now