identify: further clarification of help
Following on to
1416b9118540, correct a minor grammar issue, re-wrap to
72 columns, and further clarify wording.
add: introduce a warning message for non-portable filenames (
issue2756) (BC)
On POSIX platforms, the 'add', 'addremove', 'copy' and 'rename' commands now
warn if a file has a name that can't be checked out on Windows.
Example:
$ hg add con.xml
warning: filename contains 'con', which is reserved on Windows: 'con.xml'
$ hg status
A con.xml
The file is added despite the warning.
The warning is ON by default. It can be suppressed by setting the config option
'portablefilenames' in section 'ui' to 'ignore' or 'false':
$ hg --config ui.portablefilenames=ignore add con.xml
$ hg sta
A con.xml
If ui.portablefilenames is set to 'abort', then the command is aborted:
$ hg --config ui.portablefilenames=abort add con.xml
abort: filename contains 'con', which is reserved on Windows: 'con.xml'
On Windows, the ui.portablefilenames config setting is irrelevant and the
command is always aborted if a problematic filename is found.
update: fix check for no rev when a date is given
The previous check caught a corner case in which rev
was pointing to 0.
hgweb: detect change based on changelog size too
Before, there was a race between an access and a modification made
within the same second.
rollback: lower-case warning issued when branch cannot be reset
Also improved the word order.
tests: remove redundant mkdir
There are still many tests that check that a bare 'hg init'
initializes the current directory.