Mercurial > hg-stable
changeset 37809:80695628adcb stable
test-fix: normalize precision of mtime copied by 'cp -p'
Appears that MSYS cp only copies mtime in seconds.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Mon, 23 Apr 2018 21:13:19 +0900 |
parents | f73842ecedcd |
children | 856f381ad74b |
files | tests/test-fix.t |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-fix.t Fri Apr 20 14:43:45 2018 -0400 +++ b/tests/test-fix.t Mon Apr 23 21:13:19 2018 +0900 @@ -494,6 +494,7 @@ $ hg add adding foo.whole $ cp -p foo.whole foo.whole.orig + $ cp -p foo.whole.orig foo.whole $ sleep 2 # mtime has a resolution of one or two seconds. $ hg fix --working-dir $ f foo.whole.orig --newer foo.whole