mirror of
https://github.com/facebook/sapling.git
synced 2024-12-29 16:12:23 +03:00
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:
parent
6b99b3be8b
commit
6e33b70c43
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user