Mercurial > hgsubversion
annotate tools/verify-all-heads.sh @ 310:15b8bab03504
Change default author substitution to avoid updating test hashes.
Rather than '%s <%s%s>', just use '%s%s'. The two should be
functionally equivalent. All tests pass.
Added a comment about the handling of missing authors. This is tested
by test_push_to_default in tests/test_push_command.py; it is treated
the same as before.
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Sun, 03 May 2009 18:51:29 +0200 |
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 |