changeset 7418:0e04753de3ec

color: fix status -n
author Brendan Cully <brendan@kublai.com>
date Tue, 25 Nov 2008 18:21:00 -0800
parents d3f1d316b72b
children efe31fbe6cf0
files hgext/color.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/color.py	Tue Nov 25 16:30:40 2008 +0100
+++ b/hgext/color.py	Tue Nov 25 18:21:00 2008 -0800
@@ -51,7 +51,7 @@
 
 import re, sys
 
-from mercurial import commands, cmdutil, extensions
+from mercurial import commands, extensions
 from mercurial.i18n import _
 
 # start and stop parameters for effects
@@ -105,7 +105,7 @@
         # output with status abbreviations
         opts['no_status'] = False
         ui.pushbuffer()
-        statusfunc(ui, repo, *pats, **opts)
+        orig(ui, repo, *pats, **opts)
         # filter out empty strings
         lines_with_status = [ line for
                               line in ui.popbuffer().split(delimiter) if line ]