Mercurial > hg
diff tests/test-clone.t @ 17135:06733dfe1a43
test-clone: load extensions before doing anything
This makes it possible to run this test using
"--extra-config-opt=extensions.myext=" and have the extension be
loaded as intended.
author | Bryan O'Sullivan <bryano@fb.com> |
---|---|
date | Wed, 11 Jul 2012 15:34:32 -0700 |
parents | 8aeb2f1ae94c |
children | 36a3016811d1 |
line wrap: on
line diff
--- a/tests/test-clone.t Wed Jul 11 12:38:42 2012 +0200 +++ b/tests/test-clone.t Wed Jul 11 15:34:32 2012 -0700 @@ -449,8 +449,9 @@ $ rm -r ua $ cat <<EOF > branchclone.py - > from mercurial import ui, hg + > from mercurial import ui, hg, extensions > myui = ui.ui() + > extensions.loadall(myui) > repo = hg.repository(myui, 'a') > hg.clone(myui, {}, repo, dest="ua", branch=["stable",]) > EOF