~ubuntu-branches/ubuntu/lucid/mercurial/lucid

« back to all changes in this revision

Viewing changes to tests/test-purge

  • Committer: Bazaar Package Importer
  • Author(s): Vernon Tang
  • Date: 2009-01-18 10:39:58 UTC
  • mfrom: (8.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090118103958-4ep2fqb5nl2pyc7y
Tags: 1.1.2-2
* debian/mercurial.postinst: symlink /usr/share/doc/mercurial if dpkg didn't
  do it when upgrading (closes: #512155)
* debian/control: mercurial-common replaces all earlier versions of
  mercurial

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
rm r1
84
84
# hide error messages to avoid changing the output when the text changes
85
85
hg purge -p 2> /dev/null
86
 
if [ $? -ne 0 ]; then
87
 
    echo "refused to run"
88
 
fi
89
 
if [ -f untracked_file ]; then
90
 
    echo "untracked_file still around"
91
 
fi
92
 
hg purge -p --force
 
86
hg st
 
87
 
 
88
hg purge -p
93
89
hg purge -v 2> /dev/null
94
 
if [ $? -ne 0 ]; then
95
 
    echo "refused to run"
96
 
fi
97
 
if [ -f untracked_file ]; then
98
 
    echo "untracked_file still around"
99
 
fi
100
 
hg purge -v --force
 
90
hg st
 
91
 
 
92
hg purge -v
101
93
hg revert --all --quiet
102
 
ls
 
94
hg st -a
103
95
 
104
96
echo '% tracked file in ignored directory (issue621)'
105
97
echo directory >> .hgignore