##// END OF EJS Templates
phase: handle phase with no command flag...
Boris Feld -
r39309:1ea6772f default
parent child Browse files
Show More
@@ -4030,7 +4030,7 b' def phase(ui, repo, *revs, **opts):'
4030 # search for a unique phase argument
4030 # search for a unique phase argument
4031 targetphase = None
4031 targetphase = None
4032 for idx, name in enumerate(phases.phasenames):
4032 for idx, name in enumerate(phases.phasenames):
4033 if opts[name]:
4033 if opts.get(name, False):
4034 if targetphase is not None:
4034 if targetphase is not None:
4035 raise error.Abort(_('only one phase can be specified'))
4035 raise error.Abort(_('only one phase can be specified'))
4036 targetphase = idx
4036 targetphase = idx
General Comments 0
You need to be logged in to leave comments. Login now