Mercurial > hg
comparison mercurial/transaction.py @ 24841:45bd336e3991 stable
revert: accept just -I/-X without paths or -a/-i (issue4592)
'hg revert -I foo' currently fails with
abort: no files or directories specified
(use --all to revert all files, or 'hg update 1' to update)
It doesn't seem intentional that -I/-X without other paths or
--all/--interactive should fail, and it doesn't seem that harmful to
allow it either, so let's just do that.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 22 Apr 2015 16:38:36 -0700 |
parents | 774ee9800146 |
children | 0d0ed375fbdf fd905b2bea59 |
comparison
equal
deleted
inserted
replaced
24840:a5e3634ba024 | 24841:45bd336e3991 |
---|