mq: rename set_active to setactive
authorAdrian Buehlmann <adrian@cadifra.com>
Mon, 13 Jun 2011 11:59:35 +0200
changeset 14578 28a2646f3b81
parent 14577 76357276662e
child 14579 f7b25764d974
mq: rename set_active to setactive
hgext/mq.py
--- a/hgext/mq.py	Mon Jun 13 11:58:16 2011 +0200
+++ b/hgext/mq.py	Mon Jun 13 11:59:35 2011 +0200
@@ -404,7 +404,7 @@
             if c in guard:
                 return _('invalid character in guard %r: %r') % (guard, c)
 
-    def set_active(self, guards):
+    def setactive(self, guards):
         for guard in guards:
             bad = self.checkguard(guard)
             if bad:
@@ -2819,7 +2819,7 @@
         old_unapplied = q.unapplied(repo)
         old_guarded = [i for i in xrange(len(q.applied)) if
                        not q.pushable(i)[0]]
-        q.set_active(args)
+        q.setactive(args)
         q.save_dirty()
         if not args:
             ui.status(_('guards deactivated\n'))