equal
deleted
inserted
replaced
81 echo % abort with missing files until we support name mangling filesystems |
81 echo % abort with missing files until we support name mangling filesystems |
82 touch untracked_file |
82 touch untracked_file |
83 rm r1 |
83 rm r1 |
84 # hide error messages to avoid changing the output when the text changes |
84 # hide error messages to avoid changing the output when the text changes |
85 hg purge -p 2> /dev/null |
85 hg purge -p 2> /dev/null |
86 if [ $? -ne 0 ]; then |
86 hg st |
87 echo "refused to run" |
87 |
88 fi |
88 hg purge -p |
89 if [ -f untracked_file ]; then |
|
90 echo "untracked_file still around" |
|
91 fi |
|
92 hg purge -p --force |
|
93 hg purge -v 2> /dev/null |
89 hg purge -v 2> /dev/null |
94 if [ $? -ne 0 ]; then |
90 hg st |
95 echo "refused to run" |
91 |
96 fi |
92 hg purge -v |
97 if [ -f untracked_file ]; then |
|
98 echo "untracked_file still around" |
|
99 fi |
|
100 hg purge -v --force |
|
101 hg revert --all --quiet |
93 hg revert --all --quiet |
102 ls |
94 hg st -a |
103 |
95 |
104 echo '% tracked file in ignored directory (issue621)' |
96 echo '% tracked file in ignored directory (issue621)' |
105 echo directory >> .hgignore |
97 echo directory >> .hgignore |
106 hg ci -m 'ignore directory' |
98 hg ci -m 'ignore directory' |
107 touch untracked_file |
99 touch untracked_file |