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.
--- a/tests/test-clone.t Wed Jul 11 12:38:42 2012 +0200
+++ b/tests/test-clone.t Wed Jul 11 15:34:01 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