Mercurial > hg
view tests/test-check-config-hg.t @ 25875:511e1949d557 stable
ignore: fix path concatenation of .hgignore on Windows
Since 3de48ff62733, .hgignore is ignored on Windows because a pat may have
a drive letter, but pathutil.join is posixpath.join.
"z:\foo\bar/z:\foo\bar\.hgignore"
Instead, this patch uses os.path.join() and util.localpath() to process both
parts as file-system paths.
Maybe we can remove os.path.join() at dirstate._ignore because 'include:' is
resolved relative to repo root? It was introduced by a04c7b74b3d5.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Mon, 27 Jul 2015 22:14:40 +0900 |
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)