Mercurial > hg
changeset 14582:a6467dfbe5dc
mq: rename check_substate to checksubstate
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Mon, 13 Jun 2011 12:05:20 +0200 |
parents | da40ee1adc2b |
children | 28f87e14d923 |
files | hgext/mq.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/mq.py Mon Jun 13 12:03:38 2011 +0200 +++ b/hgext/mq.py Mon Jun 13 12:05:20 2011 +0200 @@ -833,7 +833,7 @@ return top, patch return None, None - def check_substate(self, repo): + def checksubstate(self, repo): '''return list of subrepos at a different revision than substate. Abort if any subrepos have uncommitted changes.''' inclsubs = [] @@ -893,7 +893,7 @@ diffopts = self.diffopts({'git': opts.get('git')}) if opts.get('checkname', True): self.checkpatchname(patchfn) - inclsubs = self.check_substate(repo) + inclsubs = self.checksubstate(repo) if inclsubs: inclsubs.append('.hgsubstate') if opts.get('include') or opts.get('exclude') or pats: @@ -1348,7 +1348,7 @@ if repo.changelog.heads(top) != [top]: raise util.Abort(_("cannot refresh a revision with children")) - inclsubs = self.check_substate(repo) + inclsubs = self.checksubstate(repo) cparents = repo.changelog.parents(top) patchparent = self.qparents(repo, top)