Show More
@@ -718,8 +718,12 b' Testing the case in split when commiting' | |||
|
718 | 718 | $ echo foo > foo |
|
719 | 719 | $ hg add foo |
|
720 | 720 | $ hg ci -m "initial" |
|
721 | $ chmod +x foo | |
|
722 | $ hg ci -m "make executable" | |
|
721 | $ hg import -q --bypass -m "make executable" - <<EOF | |
|
722 | > diff --git a/foo b/foo | |
|
723 | > old mode 100644 | |
|
724 | > new mode 100755 | |
|
725 | > EOF | |
|
726 | $ hg up -q | |
|
723 | 727 | |
|
724 | 728 |
$ |
|
725 | 729 | @ 1:3a2125f0f4cb make executable |
@@ -727,6 +731,7 b' Testing the case in split when commiting' | |||
|
727 | 731 | o 0:51f273a58d82 initial |
|
728 | 732 | |
|
729 | 733 | |
|
734 | #if no-windows | |
|
730 | 735 | $ printf 'y\ny\ny\n' | hg split |
|
731 | 736 | diff --git a/foo b/foo |
|
732 | 737 | old mode 100644 |
@@ -751,3 +756,11 b' Testing the case in split when commiting' | |||
|
751 | 756 | new mode 100755 |
|
752 | 757 | examine changes to 'foo'? [Ynesfdaq?] abort: response expected |
|
753 | 758 | [255] |
|
759 | #else | |
|
760 | ||
|
761 | TODO: Fix this on Windows. See issue 2020 and 5883 | |
|
762 | ||
|
763 | $ printf 'y\ny\ny\n' | hg split | |
|
764 | abort: cannot split an empty revision | |
|
765 | [255] | |
|
766 | #endif |
General Comments 0
You need to be logged in to leave comments.
Login now