# HG changeset patch # User Patrick Mezard # Date 2010-11-07 17:15:17 # Node ID bdb766e64d356d6167277be32662478fd20d9b57 # Parent 98b79c89276857fb38da975994885825b570801d revset: remove unnecessary debug statement diff --git a/mercurial/revset.py b/mercurial/revset.py --- a/mercurial/revset.py +++ b/mercurial/revset.py @@ -237,7 +237,6 @@ def parents(repo, subset, x): """``parents([set])`` The set of all parents for all changesets in set, or the working directory. """ - repo.ui.debug(repr(x), '\n') if x is None: ps = tuple(p.rev() for p in repo[x].parents()) return [r for r in subset if r in ps] diff --git a/tests/test-revset-dirstate-parents.t b/tests/test-revset-dirstate-parents.t --- a/tests/test-revset-dirstate-parents.t +++ b/tests/test-revset-dirstate-parents.t @@ -18,7 +18,6 @@ ('func', ('symbol', 'p2'), None) $ try 'parents()' ('func', ('symbol', 'parents'), None) - None null revision $ log 'p1()'