changeset 30857:6cd99ec908fa stable

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.
author Augie Fackler <augie@google.com>
date Mon, 30 Jan 2017 17:57:21 -0500
parents 41f6af50c0d8
children 2d6b86cadc10
files tests/test-largefiles-update.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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