Remove extraneous print statements
authorBenjamin Smedberg <benjamin@smedbergs.us>
Mon, 24 Mar 2008 10:31:31 -0400
changeset 1 847c81e666c3c2dc09991d309db46f46df790824
parent 0 d043e5ef0c9b036279eed61bc3d0704a971ed49a
child 2 da886424da04ed29ca4d86c960da1a28da462ea4
push id1
push userbsmedberg@mozilla.com
push dateMon, 14 Apr 2008 15:21:26 +0000
Remove extraneous print statements
newchanges.py
--- a/newchanges.py
+++ b/newchanges.py
@@ -23,42 +23,37 @@ def newchanges(ui, repo, oldrev, newrev=
 
             (p1, p2) = repo.changelog.parents(top)
             if p2 != nullid:
                 raise hg.RepoError("between called on merge revision %s. p2: %s" % (hex(top), hex(p2)))
 
             top = p1
 
     def processtip(tip):
-        print "Processing tip: %s" % hex(tip)
-
         (base, p1, p2) = repo.branches([tip])[0][1:]
 
         ancestor = repo.changelog.ancestor(base, oldrev)
 
         # Now compute a map of nodes that are ancestors of the oldrev, stopping
         # when we get back to the branch base
 
         reachable[ancestor] = 1
         reachable.update(repo.changelog.reachable(oldrev, ancestor))
 
         bt = between(tip, base)
         for c in bt:
-            print "Between: %s" % repo.changelog.rev(c)
             if c in reachable:
                 break
 
             displayer.show(None, c)
 
         if not isancestor(base, oldrev):
             displayer.show(None, base)
 
         for c in (p1, p2):
             if not isancestor(c, oldrev):
                 processtip(c)
 
-        print "Done processing tip %s" % hex(tip)
-
     processtip(newrev)
 
 cmdtable = {
     'newchanges': (newchanges, [], "hg newchanges oldrev [newrev]"),
 }