mirror of
https://github.com/facebook/sapling.git
synced 2024-10-12 01:39:21 +03:00
b5fe0d906e
This adds a " (glob)" marker that works like a simpler version of (re): "*" is converted to ".*", and "?" is converted to ".". Both special characters can be escaped using "\", and the backslash itself can be escaped as well. Other glob-style syntax, like "**", "[chars]", or "[!chars]", isn't supported.
23 lines
633 B
Perl
23 lines
633 B
Perl
hg debuginstall
|
|
$ hg debuginstall
|
|
Checking encoding (ascii)...
|
|
Checking installed modules (*/mercurial)... (glob)
|
|
Checking templates...
|
|
Checking patch...
|
|
Checking commit editor...
|
|
Checking username...
|
|
No problems detected
|
|
|
|
hg debuginstall with no username
|
|
$ HGUSER= hg debuginstall
|
|
Checking encoding (ascii)...
|
|
Checking installed modules (*/mercurial)... (glob)
|
|
Checking templates...
|
|
Checking patch...
|
|
Checking commit editor...
|
|
Checking username...
|
|
no username supplied (see "hg help config")
|
|
(specify a username in your configuration file)
|
|
1 problems detected, please check your install!
|
|
[1]
|