# HG changeset patch # User Thomas Arendsen Hein # Date 1291372245 -3600 # Node ID d73c3034deeee24e97cd09f8c51fce1be03a3426 # Parent 637627f31c74bb51f4e1f9c81ed59e6ee1e1bf63 coding style: fix gratuitous whitespace after Python keywords diff -r 637627f31c74 -r d73c3034deee hgext/mq.py --- a/hgext/mq.py Fri Dec 03 11:23:38 2010 +0100 +++ b/hgext/mq.py Fri Dec 03 11:30:45 2010 +0100 @@ -1076,7 +1076,7 @@ if move: if not patch: - raise util.Abort(_("please specify the patch to move")) + raise util.Abort(_("please specify the patch to move")) for i, rpn in enumerate(self.full_series[start:]): # strip markers for patch guards if self.guard_re.split(rpn, 1)[0] == patch: diff -r 637627f31c74 -r d73c3034deee hgext/record.py --- a/hgext/record.py Fri Dec 03 11:23:38 2010 +0100 +++ b/hgext/record.py Fri Dec 03 11:30:45 2010 +0100 @@ -344,10 +344,10 @@ # new hunk if resp_file[0] is None and resp_all[0] is None: chunk.pretty(ui) - r = total == 1 and prompt(_('record this change to %r?') % - chunk.filename()) \ - or prompt(_('record change %d/%d to %r?') % - (pos, total, chunk.filename())) + r = (total == 1 + and prompt(_('record this change to %r?') % chunk.filename()) + or prompt(_('record change %d/%d to %r?') % + (pos, total, chunk.filename()))) if r: if fixoffset: chunk = copy.copy(chunk) diff -r 637627f31c74 -r d73c3034deee mercurial/localrepo.py --- a/mercurial/localrepo.py Fri Dec 03 11:23:38 2010 +0100 +++ b/mercurial/localrepo.py Fri Dec 03 11:30:45 2010 +0100 @@ -1220,7 +1220,7 @@ def heads(self, start=None): heads = self.changelog.heads(start) # sort the output in rev descending order - return sorted(heads, key=self.changelog.rev, reverse=True) + return sorted(heads, key=self.changelog.rev, reverse=True) def branchheads(self, branch=None, start=None, closed=False): '''return a (possibly filtered) list of heads for the given branch