Mercurial > hg
changeset 14577:76357276662e
mq: rename set_guards to setguards
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Mon, 13 Jun 2011 11:58:16 +0200 |
parents | 668ea374f46e |
children | 28a2646f3b81 |
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:57:21 2011 +0200 +++ b/hgext/mq.py Mon Jun 13 11:58:16 2011 +0200 @@ -432,7 +432,7 @@ self.active_guards.append(guard) return self.active_guards - def set_guards(self, idx, guards): + def setguards(self, idx, guards): for g in guards: if len(g) < 2: raise util.Abort(_('guard %r too short') % g) @@ -2454,7 +2454,7 @@ idx = q.findseries(patch) if idx is None: raise util.Abort(_('no patch named %s') % patch) - q.set_guards(idx, args) + q.setguards(idx, args) q.save_dirty() else: status(q.series.index(q.lookup(patch)))