Show More
@@ -1,17 +1,21 b'' | |||||
1 | #!/bin/sh |
|
1 | $ "$TESTDIR/hghave" execbit || exit 80 | |
2 |
|
2 | |||
3 | "$TESTDIR/hghave" execbit || exit 80 |
|
3 | $ hg init repo | |
|
4 | $ cd repo | |||
|
5 | $ echo foo > foo | |||
|
6 | $ chmod 644 foo | |||
|
7 | $ hg ci -qAm '644' | |||
|
8 | ||||
|
9 | $ chmod 755 foo | |||
|
10 | $ hg ci -qAm '755' | |||
4 |
|
11 | |||
5 | hg init repo |
|
12 | reverting to rev 0 | |
6 | cd repo |
|
|||
7 | echo foo > foo |
|
|||
8 | chmod 644 foo |
|
|||
9 | hg ci -qAm '644' |
|
|||
10 |
|
13 | |||
11 | chmod 755 foo |
|
14 | $ hg revert -a -r 0 | |
12 | hg ci -qAm '755' |
|
15 | reverting foo | |
13 |
|
16 | $ hg st | ||
14 | echo '% reverting to rev 0' |
|
17 | M foo | |
15 | hg revert -a -r 0 |
|
18 | $ hg diff --git | |
16 | hg st |
|
19 | diff --git a/foo b/foo | |
17 | hg diff --git |
|
20 | old mode 100755 | |
|
21 | new mode 100644 |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now