changeset 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 0cb90f9c6d8e fc069544f1af
files mercurial/revset.py tests/test-revset-dirstate-parents.t
diffstat 2 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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()'