D1124: test-hgweb-annotate-whitespace: make test compatible with chg

singhsrb (Saurabh Singh) phabricator at mercurial-scm.org
Mon Oct 16 20:07:39 UTC 2017


singhsrb created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  https://phab.mercurial-scm.org/D946 fixed a bunch of tests which had the same root cause. Please see
  that for details. This seems to be one of the newer tests which fails because
  of the same reason.

TEST PLAN
  Ran the test 'test-hgweb-annotate-whitespace.t' with and without the
  '--chg' option.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  tests/test-hgweb-annotate-whitespace.t

CHANGE DETAILS

diff --git a/tests/test-hgweb-annotate-whitespace.t b/tests/test-hgweb-annotate-whitespace.t
--- a/tests/test-hgweb-annotate-whitespace.t
+++ b/tests/test-hgweb-annotate-whitespace.t
@@ -76,7 +76,7 @@
 
   $ hg serve -p $HGPORT -d --pid-file hg.pid
   $ cat hg.pid >> $DAEMON_PIDS
-  $ hg --config annotate.ignorews=true serve -p $HGPORT1 -d --pid-file hg.pid
+  $ hg serve --config annotate.ignorews=true -p $HGPORT1 -d --pid-file hg.pid
   $ cat hg.pid >> $DAEMON_PIDS
   $ cd ..
 



To: singhsrb, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list