Mercurial > hg
comparison mercurial/revset.py @ 12936:bdb766e64d35
revset: remove unnecessary debug statement
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sun, 07 Nov 2010 18:15:17 +0100 |
parents | 98b79c892768 |
children | 3da456d0c885 |
comparison
equal
deleted
inserted
replaced
12935:98b79c892768 | 12936:bdb766e64d35 |
---|---|
235 | 235 |
236 def parents(repo, subset, x): | 236 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] |
244 | 243 |
245 ps = set() | 244 ps = set() |