##// END OF EJS Templates
revset: delay import of hg to avoid start-up import loops
Matt Mackall -
r11293:0e5ce232 default
parent child Browse files
Show More
@@ -6,7 +6,7 b''
6 6 # GNU General Public License version 2 or any later version.
7 7
8 8 import re
9 import parser, util, hg, error
9 import parser, util, error
10 10 import match as _match
11 11
12 12 elements = {
@@ -410,6 +410,7 b' def roots(repo, subset, x):'
410 410 return [r for r in s if r not in cs]
411 411
412 412 def outgoing(repo, subset, x):
413 import hg # avoid start-up nasties
413 414 l = getlist(x)
414 415 if len(l) == 1:
415 416 dest = getstring(l[0], "outgoing wants a repo path")
General Comments 0
You need to be logged in to leave comments. Login now