tests: expand flags to long form in test-largefiles-update.t stable
authorAugie Fackler <augie@google.com>
Mon, 30 Jan 2017 17:57:21 -0500
branchstable
changeset 30857 6cd99ec908fa
parent 30856 41f6af50c0d8
child 30858 2d6b86cadc10
tests: expand flags to long form in test-largefiles-update.t I spent some time confused by this test. I'm pretty sure that this line intends to be cleaning the dirstate, not checking that it's clean before updating: the preceding #if block leaves the dirstate clean in the noexec case, and dirty in the exec case, so we can't expect consistent behavior across that platform variation. A subsequent patch will modify this command to use --clean instead of --check. I'll elaborate in that patch about the hypothetical bug here.
tests/test-largefiles-update.t
--- a/tests/test-largefiles-update.t	Tue Jan 31 03:25:59 2017 +0100
+++ b/tests/test-largefiles-update.t	Mon Jan 30 17:57:21 2017 -0500
@@ -737,7 +737,7 @@
 hashes reveals it isn't clean.
 
 Start with clean dirstates:
-  $ hg up -qcr "8^"
+  $ hg up --quiet --check --rev "8^"
   $ sleep 1
   $ hg st
 Update standins without updating largefiles - large1 is modified and largeX is