##// END OF EJS Templates
mq: rename set_active to setactive
Adrian Buehlmann -
r14578:28a2646f default
parent child Browse files
Show More
@@ -404,7 +404,7 b' class queue(object):'
404 if c in guard:
404 if c in guard:
405 return _('invalid character in guard %r: %r') % (guard, c)
405 return _('invalid character in guard %r: %r') % (guard, c)
406
406
407 def set_active(self, guards):
407 def setactive(self, guards):
408 for guard in guards:
408 for guard in guards:
409 bad = self.checkguard(guard)
409 bad = self.checkguard(guard)
410 if bad:
410 if bad:
@@ -2819,7 +2819,7 b' def select(ui, repo, *args, **opts):'
2819 old_unapplied = q.unapplied(repo)
2819 old_unapplied = q.unapplied(repo)
2820 old_guarded = [i for i in xrange(len(q.applied)) if
2820 old_guarded = [i for i in xrange(len(q.applied)) if
2821 not q.pushable(i)[0]]
2821 not q.pushable(i)[0]]
2822 q.set_active(args)
2822 q.setactive(args)
2823 q.save_dirty()
2823 q.save_dirty()
2824 if not args:
2824 if not args:
2825 ui.status(_('guards deactivated\n'))
2825 ui.status(_('guards deactivated\n'))
General Comments 0
You need to be logged in to leave comments. Login now