mercurial/revset.py
changeset 11293 0e5ce2325795
parent 11289 4215ce511134
child 11301 3d0591a66118
--- a/mercurial/revset.py	Fri Jun 04 23:04:31 2010 -0500
+++ b/mercurial/revset.py	Sat Jun 05 09:58:02 2010 -0500
@@ -6,7 +6,7 @@
 # GNU General Public License version 2 or any later version.
 
 import re
-import parser, util, hg, error
+import parser, util, error
 import match as _match
 
 elements = {
@@ -410,6 +410,7 @@
     return [r for r in s if r not in cs]
 
 def outgoing(repo, subset, x):
+    import hg # avoid start-up nasties
     l = getlist(x)
     if len(l) == 1:
         dest = getstring(l[0], "outgoing wants a repo path")