##// END OF EJS Templates
revset: remove unnecessary debug statement
Patrick Mezard -
r12936:bdb766e6 default
parent child Browse files
Show More
@@ -237,7 +237,6 def parents(repo, subset, x):
237 """``parents([set])``
237 """``parents([set])``
238 The set of all parents for all changesets in set, or the working directory.
238 The set of all parents for all changesets in set, or the working directory.
239 """
239 """
240 repo.ui.debug(repr(x), '\n')
241 if x is None:
240 if x is None:
242 ps = tuple(p.rev() for p in repo[x].parents())
241 ps = tuple(p.rev() for p in repo[x].parents())
243 return [r for r in subset if r in ps]
242 return [r for r in subset if r in ps]
@@ -18,7 +18,6
18 ('func', ('symbol', 'p2'), None)
18 ('func', ('symbol', 'p2'), None)
19 $ try 'parents()'
19 $ try 'parents()'
20 ('func', ('symbol', 'parents'), None)
20 ('func', ('symbol', 'parents'), None)
21 None
22
21
23 null revision
22 null revision
24 $ log 'p1()'
23 $ log 'p1()'
General Comments 0
You need to be logged in to leave comments. Login now