Mercurial > hgsubversion
annotate tools/verify-all-heads.sh @ 312:4dc197f533c1
hg_delta_editor: reformat huge comment, rename __determine_parent_branch()
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sun, 03 May 2009 21:42:41 -0500 |
parents | 3c87de482011 |
children | 5071b8511572 |
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 |