comparison hgext/histedit.py @ 27169:dd214130a4f6

histedit: improve grammar for _histedit comment
author timeless <timeless@mozdev.org>
date Wed, 02 Dec 2015 07:39:49 +0000
parents 3bc7919fb215
children 4cff4c38c5cc
comparison
equal deleted inserted replaced
27168:8a829fc84bb3 27169:dd214130a4f6
831 _histedit(ui, repo, state, *freeargs, **opts) 831 _histedit(ui, repo, state, *freeargs, **opts)
832 finally: 832 finally:
833 release(state.lock, state.wlock) 833 release(state.lock, state.wlock)
834 834
835 def _histedit(ui, repo, state, *freeargs, **opts): 835 def _histedit(ui, repo, state, *freeargs, **opts):
836 # TODO only abort if we try and histedit mq patches, not just 836 # TODO only abort if we try to histedit mq patches, not just
837 # blanket if mq patches are applied somewhere 837 # blanket if mq patches are applied somewhere
838 mq = getattr(repo, 'mq', None) 838 mq = getattr(repo, 'mq', None)
839 if mq and mq.applied: 839 if mq and mq.applied:
840 raise error.Abort(_('source has mq patches applied')) 840 raise error.Abort(_('source has mq patches applied'))
841 841