[PATCH in crew] blackbox: fix a case of name capture

Bryan O'Sullivan bos at serpentine.com
Thu Apr 18 14:55:29 CDT 2013


# HG changeset patch
# User Bryan O'Sullivan <bryano at fb.com>
# Date 1366314891 25200
#      Thu Apr 18 12:54:51 2013 -0700
# Node ID 5b318c60312cddae7d2573f3c8f180bc9fb56c9f
# Parent  2e5476980a57657e7ed252c56b62a289031530ca
blackbox: fix a case of name capture

diff --git a/hgext/blackbox.py b/hgext/blackbox.py
--- a/hgext/blackbox.py
+++ b/hgext/blackbox.py
@@ -36,7 +36,7 @@ def wrapui(ui):
     class blackboxui(ui.__class__):
         @util.propertycache
         def track(self):
-            return ui.configlist('blackbox', 'track', ['*'])
+            return self.configlist('blackbox', 'track', ['*'])
 
         def log(self, event, *msg, **opts):
             global lastblackbox


More information about the Mercurial-devel mailing list