Comments
Patch
@@ -12,8 +12,6 @@
Unimplemented command
$ rhg unimplemented-command
- [252]
- $ rhg unimplemented-command --config rhg.on-unsupported=abort
unsupported feature: error: Found argument 'unimplemented-command' which wasn't expected, or isn't valid in this context
USAGE:
@@ -22,6 +20,8 @@
For more information try --help
[252]
+ $ rhg unimplemented-command --config rhg.on-unsupported=abort-silent
+ [252]
Finding root
$ rhg root
@@ -162,12 +162,15 @@
$ echo indoor-pool >> .hg/requires
$ rhg files
+ unsupported feature: repository requires feature unknown to this Mercurial: indoor-pool
[252]
$ rhg cat -r 1 copy_of_original
+ unsupported feature: repository requires feature unknown to this Mercurial: indoor-pool
[252]
$ rhg debugrequirements
+ unsupported feature: repository requires feature unknown to this Mercurial: indoor-pool
[252]
$ echo -e '\xFF' >> .hg/requires
@@ -275,7 +275,7 @@
impl OnUnsupported {
fn from_config(config: &Config) -> Self {
- let default = OnUnsupported::AbortSilent;
+ let default = OnUnsupported::Abort;
match config.get(b"rhg", b"on-unsupported") {
Some(b"abort") => OnUnsupported::Abort,
Some(b"abort-silent") => OnUnsupported::AbortSilent,