Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHGf91b7f26c68a: py3: use "%d" instead of "%s" for integers
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
hg-reviewers |
Lint Skipped |
Unit Tests Skipped |
Path | Packages | |||
---|---|---|---|---|
M | hgext/mq.py (2 lines) |
Status | Author | Revision | |
---|---|---|---|
Closed | pulkit | ||
Closed | pulkit | ||
Closed | pulkit | ||
Closed | pulkit | ||
Closed | pulkit | ||
Closed | pulkit | ||
Closed | pulkit | ||
Closed | pulkit | ||
Closed | pulkit | ||
Closed | pulkit | ||
Closed | pulkit | ||
Closed | pulkit | ||
Closed | pulkit | ||
Closed | pulkit | ||
Closed | pulkit | ||
Closed | pulkit | ||
Closed | pulkit | ||
Closed | pulkit | ||
Closed | pulkit | ||
Closed | pulkit | ||
Closed | pulkit | ||
Closed | pulkit | ||
Closed | pulkit | ||
Closed | pulkit | ||
Closed | pulkit | ||
Closed | pulkit | ||
Closed | pulkit |
while True: | while True: | ||||
if name not in self.fullseries: | if name not in self.fullseries: | ||||
try: | try: | ||||
self.checkpatchname(name) | self.checkpatchname(name) | ||||
break | break | ||||
except error.Abort: | except error.Abort: | ||||
pass | pass | ||||
i += 1 | i += 1 | ||||
name = '%s__%s' % (namebase, i) | name = '%s__%d' % (namebase, i) | ||||
return name | return name | ||||
def checkkeepchanges(self, keepchanges, force): | def checkkeepchanges(self, keepchanges, force): | ||||
if force and keepchanges: | if force and keepchanges: | ||||
raise error.Abort(_('cannot use both --force and --keep-changes')) | raise error.Abort(_('cannot use both --force and --keep-changes')) | ||||
def new(self, repo, patchfn, *pats, **opts): | def new(self, repo, patchfn, *pats, **opts): | ||||
"""options: | """options: |