Mercurial > hg
changeset 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 |
files | hgext/mq.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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'))