tests: fix flaky test-revert-status.t

Summary:
If the first "hg update" command runs slower for whatever reason, the
dirstate won't have "unset" mtimes.

Reviewed By: mitrandir77

Differential Revision: D8166760

fbshipit-source-id: 6d9dafc13ccf54f449e204da02dce669221b38c4
This commit is contained in:
Jun Wu 2018-05-25 12:42:12 -07:00 committed by Facebook Github Bot
parent 6b99b3be8b
commit 6e33b70c43

View File

@ -14,11 +14,12 @@ manually.
$ hg up -q $B
Initially, dirstate does not have mtime set for files
Initially, dirstate does not have mtime set for files if the command was
executed quickly (mtime == fsnow at the end of the command).
$ hg debugdirstate
n 644 1 unset A
n 644 1 unset B
# $ hg debugdirstate
# n 644 1 unset A
# n 644 1 unset B
Calling hg status would update mtimes in dirstate (unless mtime == now)