Mercurial > hg
view 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 |
line wrap: on
line source
#require test-repo $ cd "$TESTDIR"/.. New errors are not allowed. Warnings are strongly discouraged. $ hg files "set:(**.py or **.txt) - tests/**" | sed 's|\\|/|g' | > xargs python contrib/check-config.py undocumented: convert.cvsps.cache (bool) [True] undocumented: convert.cvsps.fuzz (str) [60] undocumented: convert.cvsps.mergefrom (str) undocumented: convert.cvsps.mergeto (str) undocumented: convert.git.remoteprefix (str) ['remote'] undocumented: convert.git.similarity (int) [50] undocumented: convert.hg.clonebranches (bool) undocumented: convert.hg.ignoreerrors (bool) undocumented: convert.hg.revs (str) undocumented: convert.hg.saverev (bool) undocumented: convert.hg.sourcename (str) undocumented: convert.hg.startrev (str) undocumented: convert.hg.tagsbranch (str) ['default'] undocumented: convert.hg.usebranchnames (bool) [True] undocumented: convert.localtimezone (bool) undocumented: convert.p4.startrev (str) undocumented: convert.skiptags (bool) undocumented: convert.svn.debugsvnlog (bool) [True] undocumented: convert.svn.startrev (str)