annotate tools/verify-all-heads.sh @ 680:703f33576ad8

svnwrap: add runtime override for choice of Subversion bindings By setting the `HGSUBVERSION_BINDINGS environment variable to either `SWIG' or `Subvertpy', the choice of bindings can be forced at runtime. (For ease of use, the comparison is case-insensitive.) Examples: % HGSUBVERSION_BINDINGS=swig hg version --svn Mercurial Distributed SCM (version 1.6+172-b25e1ced9861) ... hgsubversion: 1.1.2+43-276742da2d85 Subversion: 1.6.12 bindings: SWIG % HGSUBVERSION_BINDINGS=subvertpy hg version --svn Mercurial Distributed SCM (version 1.6+172-b25e1ced9861) ... hgsubversion: 1.1.2+43-276742da2d85 Subversion: 1.6.12 bindings: Subvertpy 0.7.4 % HGSUBVERSION_BINDINGS=none hg version --svn Mercurial Distributed SCM (version 1.6+172-b25e1ced9861) ... abort: cannot use hgsubversion; bindings disabled using HGSUBVERSION_BINDINGS!
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Wed, 11 Aug 2010 20:03:47 +0200
parents 11c4c7242a36
children
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
396
11c4c7242a36 tools: use new svn verify command instead of svn export incantations
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 388
diff changeset
4 for b in `hg branches -aq` ; 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
396
11c4c7242a36 tools: use new svn verify command instead of svn export incantations
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 388
diff changeset
6 echo verifying $b
11c4c7242a36 tools: use new svn verify command instead of svn export incantations
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 388
diff changeset
7 hg svn verify
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 done