tests/test-basic.t
changeset 40369 ef6cab7930b3
parent 39707 5abc47d4ca6b
child 40470 d6b6f1b441cf
--- a/tests/test-basic.t	Thu Oct 18 21:55:47 2018 -0400
+++ b/tests/test-basic.t	Wed Oct 17 23:33:43 2018 -0400
@@ -61,8 +61,8 @@
 Verify that updating to revision 0 via commands.update() works properly
 
   $ cat <<EOF > update_to_rev0.py
-  > from mercurial import ui, hg, commands
-  > myui = ui.ui.load()
+  > from mercurial import commands, hg, ui as uimod
+  > myui = uimod.ui.load()
   > repo = hg.repository(myui, path=b'.')
   > commands.update(myui, repo, rev=b"0")
   > EOF