Show More
@@ -492,11 +492,11 b' write back to the file, so for example t' | |||
|
492 | 492 | $ printf "NO FIX NEEDED\n" > foo.whole |
|
493 | 493 | $ hg add |
|
494 | 494 | adding foo.whole |
|
495 | $ OLD_MTIME=`stat -c %Y foo.whole` | |
|
496 |
$ sleep |
|
|
495 | $ cp foo.whole foo.whole.orig | |
|
496 | $ sleep 2 # mtime has a resolution of one or two seconds. | |
|
497 | 497 | $ hg fix --working-dir |
|
498 | $ NEW_MTIME=`stat -c %Y foo.whole` | |
|
499 | $ test $OLD_MTIME = $NEW_MTIME | |
|
498 | $ f foo.whole --newer foo.whole.orig | |
|
499 | foo.whole: older than foo.whole.orig | |
|
500 | 500 | |
|
501 | 501 | $ cd .. |
|
502 | 502 |
General Comments 0
You need to be logged in to leave comments.
Login now