equal
deleted
inserted
replaced
47 |
47 |
48 delete an untracked file |
48 delete an untracked file |
49 |
49 |
50 $ touch untracked_file |
50 $ touch untracked_file |
51 $ touch untracked_file_readonly |
51 $ touch untracked_file_readonly |
52 $ $PYTHON <<EOF |
52 $ "$PYTHON" <<EOF |
53 > import os, stat |
53 > import os, stat |
54 > f= 'untracked_file_readonly' |
54 > f= 'untracked_file_readonly' |
55 > os.chmod(f, stat.S_IMODE(os.stat(f).st_mode) & ~stat.S_IWRITE) |
55 > os.chmod(f, stat.S_IMODE(os.stat(f).st_mode) & ~stat.S_IWRITE) |
56 > EOF |
56 > EOF |
57 $ hg purge -p |
57 $ hg purge -p |