changeset 1381:c29c36745c6e

log --debug: fix misplaced manifest field Index: hg/mercurial/commands.py =================================================================== --- hg.orig/mercurial/commands.py 2005-10-04 16:44:26.000000000 -0700 +++ hg/mercurial/commands.py 2005-10-04 17:16:42.000000000 -0700 @@ -1238,6 +1238,9 @@ def log(ui, repo, *pats, **opts): self.write(*args) def write(self, *args): self.hunk[self.rev].append(args) + def debug(self, *args): + if self.debugflag: + self.write(*args) def __getattr__(self, key): return getattr(self.ui, key) cwd = repo.getcwd()
author TK Soh <teekaysoh@yahoo.com>
date Tue, 04 Oct 2005 17:34:02 -0700
parents 27add82ad845
children b113e7db06e9
files mercurial/commands.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Tue Oct 04 12:24:59 2005 -0700
+++ b/mercurial/commands.py	Tue Oct 04 17:34:02 2005 -0700
@@ -1238,6 +1238,9 @@
                 self.write(*args)
         def write(self, *args):
             self.hunk[self.rev].append(args)
+        def debug(self, *args):
+            if self.debugflag:
+                self.write(*args)
         def __getattr__(self, key):
             return getattr(self.ui, key)
     cwd = repo.getcwd()