revset: remove unnecessary debug statement
authorPatrick Mezard <pmezard@gmail.com>
Sun, 07 Nov 2010 18:15:17 +0100
changeset 12936 bdb766e64d35
parent 12935 98b79c892768
child 12939 0cb90f9c6d8e
child 12944 fc069544f1af
revset: remove unnecessary debug statement
mercurial/revset.py
tests/test-revset-dirstate-parents.t
--- a/mercurial/revset.py	Sun Nov 07 18:14:42 2010 +0100
+++ b/mercurial/revset.py	Sun Nov 07 18:15:17 2010 +0100
@@ -237,7 +237,6 @@
     """``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]
--- a/tests/test-revset-dirstate-parents.t	Sun Nov 07 18:14:42 2010 +0100
+++ b/tests/test-revset-dirstate-parents.t	Sun Nov 07 18:15:17 2010 +0100
@@ -18,7 +18,6 @@
   ('func', ('symbol', 'p2'), None)
   $ try 'parents()'
   ('func', ('symbol', 'parents'), None)
-  None
 
 null revision
   $ log 'p1()'