Mercurial > hg
annotate tests/test-check-config-hg.t @ 26354:c1fb2cab6260
clone: check update rev for being True
In 30be3aeb5344, there was an attempt to fallback to looking up the update
revision assuming it was always a rev but the documentation states:
True means update to default rev, anything else is treated as a revision
Therefore, we should only fallback to looking up the update rev if it is not
True. This bug was found in hg-git and I couldn't think of a test that does
this in pure Mercurial since the source repository is checked for the revision
as well (and therefore gracefully falls back).
author | Sean Farley <sean@farley.io> |
---|---|
date | Thu, 24 Sep 2015 15:52:11 -0700 |
parents | 8c1d7a0e737b |
children | 9c98fe1416c2 |
rev | line source |
---|---|
25854 | 1 #require test-repo |
2 | |
3 $ cd "$TESTDIR"/.. | |
4 | |
5 New errors are not allowed. Warnings are strongly discouraged. | |
6 | |
25866
8c1d7a0e737b
test-check-config: convert directory separators to '/' for MSYS
Matt Harbison <matt_harbison@yahoo.com>
parents:
25854
diff
changeset
|
7 $ hg files "set:(**.py or **.txt) - tests/**" | sed 's|\\|/|g' | |
25854 | 8 > xargs python contrib/check-config.py |
9 undocumented: convert.cvsps.cache (bool) [True] | |
10 undocumented: convert.cvsps.fuzz (str) [60] | |
11 undocumented: convert.cvsps.mergefrom (str) | |
12 undocumented: convert.cvsps.mergeto (str) | |
13 undocumented: convert.git.remoteprefix (str) ['remote'] | |
14 undocumented: convert.git.similarity (int) [50] | |
15 undocumented: convert.hg.clonebranches (bool) | |
16 undocumented: convert.hg.ignoreerrors (bool) | |
17 undocumented: convert.hg.revs (str) | |
18 undocumented: convert.hg.saverev (bool) | |
19 undocumented: convert.hg.sourcename (str) | |
20 undocumented: convert.hg.startrev (str) | |
21 undocumented: convert.hg.tagsbranch (str) ['default'] | |
22 undocumented: convert.hg.usebranchnames (bool) [True] | |
23 undocumented: convert.localtimezone (bool) | |
24 undocumented: convert.p4.startrev (str) | |
25 undocumented: convert.skiptags (bool) | |
26 undocumented: convert.svn.debugsvnlog (bool) [True] | |
27 undocumented: convert.svn.startrev (str) |