annotate tools/verify-all-heads.sh @ 285:913fd8aa221c

Rename parentui to src (after mercurial rev 9b8ac5fb7760) Just pass in src to real_ui as a positional argument to avoid the problem in the future.
author Martijn Pieters <mj@zopatista.com>
date Mon, 27 Apr 2009 09:39:39 -0500
parents 3c87de482011
children 5071b8511572
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
210
b81e7f2f7818 Add a shell script to verify the conversion result for all heads in a multi-branch repo.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
1 #!/bin/sh
213
b1d2ea765516 tools: refactor stuff into common.sh, make verify-all-heads not revert.
Augie Fackler <durin42@gmail.com>
parents: 210
diff changeset
2 . $(dirname $0)/common.sh
b1d2ea765516 tools: refactor stuff into common.sh, make verify-all-heads not revert.
Augie Fackler <durin42@gmail.com>
parents: 210
diff changeset
3
216
3c87de482011 tools: fixes for wc outputting with spaces.
Augie Fackler <durin42@gmail.com>
parents: 213
diff changeset
4 for b in `hg branches -a | cut -f 1 -d ' ' | grep -v closed-branches` ; do
210
b81e7f2f7818 Add a shell script to verify the conversion result for all heads in a multi-branch repo.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
5 hg co $b || break
b81e7f2f7818 Add a shell script to verify the conversion result for all heads in a multi-branch repo.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
6 echo Verifying $b
213
b1d2ea765516 tools: refactor stuff into common.sh, make verify-all-heads not revert.
Augie Fackler <durin42@gmail.com>
parents: 210
diff changeset
7 verify_current_revision keep > /dev/null || break
210
b81e7f2f7818 Add a shell script to verify the conversion result for all heads in a multi-branch repo.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
8 echo $b Verified.
b81e7f2f7818 Add a shell script to verify the conversion result for all heads in a multi-branch repo.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
9 done