##// END OF EJS Templates
test-clone: load extensions before doing anything...
Bryan O'Sullivan -
r17135:06733dfe default
parent child Browse files
Show More
@@ -449,8 +449,9 b' iterable in addbranchrevs()'
449 $ rm -r ua
449 $ rm -r ua
450
450
451 $ cat <<EOF > branchclone.py
451 $ cat <<EOF > branchclone.py
452 > from mercurial import ui, hg
452 > from mercurial import ui, hg, extensions
453 > myui = ui.ui()
453 > myui = ui.ui()
454 > extensions.loadall(myui)
454 > repo = hg.repository(myui, 'a')
455 > repo = hg.repository(myui, 'a')
455 > hg.clone(myui, {}, repo, dest="ua", branch=["stable",])
456 > hg.clone(myui, {}, repo, dest="ua", branch=["stable",])
456 > EOF
457 > EOF
General Comments 0
You need to be logged in to leave comments. Login now