##// END OF EJS Templates
test-fix: fix use of 'f --newer' to check that foo.whole is not updated...
test-fix: fix use of 'f --newer' to check that foo.whole is not updated Here we want to assert not 'mtime(foo.whole.orig) < mtime(foo.whole)'. The condition has to be inverted since 'f --newer' says "newer" if the mtimes match. Alternatively, we could insert 'sleep 2' before 'cp' to ensure that foo.whole.orig is newer than foo.whole, but a fewer sleeps should be better.
Yuya Nishihara -
r37816:8fa3396a stable
Show More
Name Size Modified Last Commit Author
/ mercurial / utils
__init__.py Loading ...
cborutil.py Loading ...
dateutil.py Loading ...
procutil.py Loading ...
stringutil.py Loading ...