##// END OF EJS Templates
largefiles: send statlfile remote calls only for nonexisting locally files...
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.

File last commit:

r28293:a22b6fa5 default
r29218:fd288d11 default
Show More
test-check-commit.t
24 lines | 624 B | text/troff | Tads3Lexer
/ tests / test-check-commit.t
Pierre-Yves David
tests: move the '-hg' postfix for all style tests...
r27368 #require test-repo
Enable obsolescence to avoid the warning issue when obsmarker are found
$ cat >> $HGRCPATH << EOF
> [experimental]
> evolution=createmarkers
> EOF
Go back in the hg repo
$ cd $TESTDIR/..
Matt Mackall
tests: run check-commit on secret changes too
r27756 $ for node in `hg log --rev 'not public() and ::.' --template '{node|short}\n'`; do
Pierre-Yves David
tests: move the '-hg' postfix for all style tests...
r27368 > hg export $node | contrib/check-commit > ${TESTTMP}/check-commit.out
> if [ $? -ne 0 ]; then
timeless
tests: minor grammar change for check-commit
r28293 > echo "Revision $node does not comply with rules"
Pierre-Yves David
tests: move the '-hg' postfix for all style tests...
r27368 > echo '------------------------------------------------------'
> cat ${TESTTMP}/check-commit.out
> echo
> fi
> done