Patchwork D1160: test-extension: make the test compatible with chg

login
register
mail settings
Submitter phabricator
Date Oct. 18, 2017, 12:46 p.m.
Message ID <b91609cccd32d21d113ec00fb43be667@localhost.localdomain>
Download mbox | patch
Permalink /patch/25159/
State Not Applicable
Headers show

Comments

phabricator - Oct. 18, 2017, 12:46 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG6bfe43dd20eb: test-extension: make the test compatible with chg (authored by singhsrb, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1160?vs=2935&id=2970

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

AFFECTED FILES
  tests/test-extension.t

CHANGE DETAILS




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

Patch

diff --git a/tests/test-extension.t b/tests/test-extension.t
--- a/tests/test-extension.t
+++ b/tests/test-extension.t
@@ -42,20 +42,22 @@ 
   uisetup called
   reposetup called for a
   ui == repo.ui
+  reposetup called for a (chg !)
+  ui == repo.ui (chg !)
   Foo
 
   $ cd ..
   $ hg clone a b
-  uisetup called
+  uisetup called (no-chg !)
   reposetup called for a
   ui == repo.ui
   reposetup called for b
   ui == repo.ui
   updating to branch default
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
 
   $ hg bar
-  uisetup called
+  uisetup called (no-chg !)
   Bar
   $ echo 'foobar = !' >> $HGRCPATH
 
@@ -67,6 +69,8 @@ 
   uisetup called
   reposetup called for a
   ui == repo.ui
+  reposetup called for a (chg !)
+  ui == repo.ui (chg !)
   Foo
   $ echo 'barfoo = !' >> $HGRCPATH
 
@@ -1525,6 +1529,7 @@ 
   $ echo "reposetuptest = $TESTTMP/reposetuptest.py" >> src/.hg/hgrc
   $ hg -R src status
   reposetup() for $TESTTMP/reposetup-test/src (glob)
+  reposetup() for $TESTTMP/reposetup-test/src (glob) (chg !)
 
   $ hg clone -U src clone-dst1
   reposetup() for $TESTTMP/reposetup-test/src (glob)