Mercurial > evolve
comparison hgext/evolve.py @ 673:761b5b266985 stable
evolve: removes amend from the list of advertised function
We have commit --amend almost as powerful now.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Mon, 04 Feb 2013 17:18:02 +0100 |
parents | f7834b360f8f |
children | b3ce838a077e |
comparison
equal
deleted
inserted
replaced
672:f7834b360f8f | 673:761b5b266985 |
---|---|
352 return ctx.divergent() | 352 return ctx.divergent() |
353 | 353 |
354 ### revset symbol | 354 ### revset symbol |
355 | 355 |
356 eh.revset('latecomer')(revset.symbols['bumped']) | 356 eh.revset('latecomer')(revset.symbols['bumped']) |
357 | |
358 eh.revset('conflicting')(revset.symbols['divergent']) | 357 eh.revset('conflicting')(revset.symbols['divergent']) |
359 | 358 |
360 | 359 |
361 | 360 |
362 | 361 |
1292 finally: | 1291 finally: |
1293 lock.release() | 1292 lock.release() |
1294 finally: | 1293 finally: |
1295 wlock.release() | 1294 wlock.release() |
1296 | 1295 |
1297 @command('^amend|refresh', | 1296 @command('amend|refresh', |
1298 [('A', 'addremove', None, | 1297 [('A', 'addremove', None, |
1299 _('mark new/missing files as added/removed before committing')), | 1298 _('mark new/missing files as added/removed before committing')), |
1300 ('n', 'note', '', _('use text as commit message for this update')), | 1299 ('n', 'note', '', _('use text as commit message for this update')), |
1301 ('c', 'change', '', _('specifies the changesets to amend (DEPRECATED)'), _('REV')), | 1300 ('c', 'change', '', _('specifies the changesets to amend (DEPRECATED)'), _('REV')), |
1302 ('e', 'edit', False, _('invoke editor on commit messages')), | 1301 ('e', 'edit', False, _('invoke editor on commit messages')), |