tests/test-hghave
author Martin Geisler <mg@lazybytes.net>
Sun, 27 Jun 2010 23:12:05 +0200
branchstable
changeset 11451 51021f4c80b5
parent 8059 41a2c5cbcb6a
permissions -rwxr-xr-x
resolve: do not crash on empty mergestate I managed to get an empty .hg/merge/state file by interrupting a merge by pressing Control-C. This lead to this error: TypeError: a2b_hex() argument 1 must be string or read-only buffer, not None since localnode is assigned None before the iteration over lines in the mergestate begins.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8059
41a2c5cbcb6a hghave: checking that all targets are Exception-free
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
diff changeset
     1
#!/bin/sh
41a2c5cbcb6a hghave: checking that all targets are Exception-free
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
diff changeset
     2
# Testing that hghave does not crash when checking features
41a2c5cbcb6a hghave: checking that all targets are Exception-free
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
diff changeset
     3
41a2c5cbcb6a hghave: checking that all targets are Exception-free
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
diff changeset
     4
"$TESTDIR/hghave" --test-features 2>/dev/null