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 | |
|
6 | cd repo | |
|
7 | echo foo > foo | |
|
8 | chmod 644 foo | |
|
9 | hg ci -qAm '644' | |
|
12 | reverting to rev 0 | |
|
10 | 13 | |
|
11 | chmod 755 foo | |
|
12 | hg ci -qAm '755' | |
|
13 | ||
|
14 | echo '% reverting to rev 0' | |
|
15 | hg revert -a -r 0 | |
|
16 | hg st | |
|
17 | hg diff --git | |
|
14 | $ hg revert -a -r 0 | |
|
15 | reverting foo | |
|
16 | $ hg st | |
|
17 | M foo | |
|
18 | $ hg diff --git | |
|
19 | diff --git a/foo b/foo | |
|
20 | old mode 100755 | |
|
21 | new mode 100644 |
|
1 | NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now