Mercurial > hg-stable
diff hgext/mq.py @ 14578:28a2646f3b81
mq: rename set_active to setactive
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Mon, 13 Jun 2011 11:59:35 +0200 |
parents | 76357276662e |
children | f7b25764d974 |
line wrap: on
line diff
--- 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'))