Mercurial > hg
comparison mercurial/commands.py @ 15831:0ecaf1e72609
phase: drop reference to working directory phase
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 10 Jan 2012 16:36:32 -0600 |
parents | 8ed112ed774a |
children | b03388ffeb31 |
comparison
equal
deleted
inserted
replaced
15830:8ed112ed774a | 15831:0ecaf1e72609 |
---|---|
4245 | 4245 |
4246 # look for specified revision | 4246 # look for specified revision |
4247 revs = list(revs) | 4247 revs = list(revs) |
4248 revs.extend(opts['rev']) | 4248 revs.extend(opts['rev']) |
4249 if not revs: | 4249 if not revs: |
4250 raise NotImplementedError('working directory phase not implemented ' | 4250 raise util.Abort(_('no revisions specified!')) |
4251 'yet') | 4251 |
4252 lock = None | 4252 lock = None |
4253 if targetphase is None: | 4253 if targetphase is None: |
4254 # display | 4254 # display |
4255 for ctx in repo.set('%lr', revs): | 4255 for ctx in repo.set('%lr', revs): |
4256 ui.write('%i: %s\n' % (ctx.rev(), ctx.phasestr())) | 4256 ui.write('%i: %s\n' % (ctx.rev(), ctx.phasestr())) |