Mercurial > hg
annotate tests/test-check-config.t @ 29218:fd288d118074
largefiles: send statlfile remote calls only for nonexisting locally files
Files that are already in local store should be checked locally. The problem
with this implementation is how difference in messages between local and remote
checks should look like. For now local errors for file missing and content
corrupted looks like this:
'changeset cset: filename references missing storepath\n'
'changeset cset: filename references corrupted storepath\n'
for remote it looks like:
'changeset cset: filename missing\n'
'changeset cset: filename: contents differ\n'
Contents differ error for remote calls is never raised currently - for now
statlfile implementation lacks checking file content.
author | liscju <piotr.listkiewicz@gmail.com> |
---|---|
date | Mon, 09 May 2016 10:05:32 +0200 |
parents | 8f244b75cc5e |
children | 3c9066ed557c |
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' | |
27992
8f244b75cc5e
tests: execute check-config.py without xargs
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents:
27368
diff
changeset
|
8 > python contrib/check-config.py |