mirror of
https://github.com/facebook/sapling.git
synced 2024-12-29 08:02:24 +03:00
aac5ebea17
Summary: These now pass Reviewed By: xavierd Differential Revision: D19669584 fbshipit-source-id: dd4d374c3b373367138408ae86563ae44849690c
26 lines
329 B
Perl
26 lines
329 B
Perl
#chg-compatible
|
|
|
|
#require execbit
|
|
|
|
$ hg init repo
|
|
$ cd repo
|
|
$ echo foo > foo
|
|
$ chmod 644 foo
|
|
$ hg ci -qAm '644'
|
|
|
|
$ chmod 755 foo
|
|
$ hg ci -qAm '755'
|
|
|
|
reverting to rev 0
|
|
|
|
$ hg revert -a -r 0
|
|
reverting foo
|
|
$ hg st
|
|
M foo
|
|
$ hg diff --git
|
|
diff --git a/foo b/foo
|
|
old mode 100755
|
|
new mode 100644
|
|
|
|
$ cd ..
|