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 |
|
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