yuja added inline comments.

INLINE COMMENTS

> test-fix.t:495
>    adding foo.whole
> -  $ OLD_MTIME=`stat -c %Y foo.whole`
> -  $ sleep 1 # mtime has a resolution of one second.
> +  $ cp foo.whole foo.whole.orig
> +  $ sleep 2 # mtime has a resolution of one or two seconds.

Maybe `cp -p` to not increment a few microseconds?

> test-fix.t:499
> +  $ f foo.whole --newer foo.whole.orig
> +  foo.whole: older than foo.whole.orig
>  

This means `mtime(foo.whole) < mtime(foo.whole.orig)`, but we
need to assert `mtime(foo.whole.orig) >= mtime(foo.whole)`.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D3252

To: durin42, #hg-reviewers, indygreg
Cc: yuja, mercurial-devel
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to