color: fix status -n
authorBrendan Cully <brendan@kublai.com>
Tue, 25 Nov 2008 18:21:00 -0800
changeset 7418 0e04753de3ec
parent 7417 d3f1d316b72b
child 7419 efe31fbe6cf0
color: fix status -n
hgext/color.py
--- 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 ]