[PATCH] test-clone: load extensions before doing anything

Bryan O'Sullivan bos at serpentine.com
Mon Jun 25 16:58:44 CDT 2012


# HG changeset patch
# User Bryan O'Sullivan <bryano at fb.com>
# Date 1340657769 25200
# Node ID 7847fe0f5e1312c42d0ba26e0b92facec10c68c1
# Parent  e63655c2851ad731b29cc9c6c259e81352e7a36f
test-clone: load extensions before doing anything

diff --git a/tests/test-clone.t b/tests/test-clone.t
--- a/tests/test-clone.t
+++ b/tests/test-clone.t
@@ -449,8 +449,9 @@ iterable in addbranchrevs()
   $ 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


More information about the Mercurial-devel mailing list