##// END OF EJS Templates
test-extension: make the test compatible with chg...
Saurabh Singh -
r34842:6bfe43dd default
parent child Browse files
Show More
@@ -42,11 +42,13 b' Test basic extension support'
42 uisetup called
42 uisetup called
43 reposetup called for a
43 reposetup called for a
44 ui == repo.ui
44 ui == repo.ui
45 reposetup called for a (chg !)
46 ui == repo.ui (chg !)
45 Foo
47 Foo
46
48
47 $ cd ..
49 $ cd ..
48 $ hg clone a b
50 $ hg clone a b
49 uisetup called
51 uisetup called (no-chg !)
50 reposetup called for a
52 reposetup called for a
51 ui == repo.ui
53 ui == repo.ui
52 reposetup called for b
54 reposetup called for b
@@ -55,7 +57,7 b' Test basic extension support'
55 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
57 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
56
58
57 $ hg bar
59 $ hg bar
58 uisetup called
60 uisetup called (no-chg !)
59 Bar
61 Bar
60 $ echo 'foobar = !' >> $HGRCPATH
62 $ echo 'foobar = !' >> $HGRCPATH
61
63
@@ -67,6 +69,8 b' module/__init__.py-style'
67 uisetup called
69 uisetup called
68 reposetup called for a
70 reposetup called for a
69 ui == repo.ui
71 ui == repo.ui
72 reposetup called for a (chg !)
73 ui == repo.ui (chg !)
70 Foo
74 Foo
71 $ echo 'barfoo = !' >> $HGRCPATH
75 $ echo 'barfoo = !' >> $HGRCPATH
72
76
@@ -1525,6 +1529,7 b' Commands handling multiple repositories '
1525 $ echo "reposetuptest = $TESTTMP/reposetuptest.py" >> src/.hg/hgrc
1529 $ echo "reposetuptest = $TESTTMP/reposetuptest.py" >> src/.hg/hgrc
1526 $ hg -R src status
1530 $ hg -R src status
1527 reposetup() for $TESTTMP/reposetup-test/src (glob)
1531 reposetup() for $TESTTMP/reposetup-test/src (glob)
1532 reposetup() for $TESTTMP/reposetup-test/src (glob) (chg !)
1528
1533
1529 $ hg clone -U src clone-dst1
1534 $ hg clone -U src clone-dst1
1530 reposetup() for $TESTTMP/reposetup-test/src (glob)
1535 reposetup() for $TESTTMP/reposetup-test/src (glob)
General Comments 0
You need to be logged in to leave comments. Login now