check-code: catch 'ls filename --option' case as per
6bdae8ea0b48
minirst: improved support for option lists.
This enables minirst to parse and print option lists which have both
long and short options. Before, we could only parse option lists with
long options.
test-subrepo-git.t: portability fix.
Specifying arguments after file names for 'ls' is a GNU extension.
minirst: modified minirst to also recognize empty comments.
The modifies minirst to also handle empty comments. An empty comment
is a block with a single line containing two dots.
posix: remove is-comparison between integers
Comparing integers by identity relies on a CPython implementation
detail of caching integers between -5 and 256.[1]
[1] <http://docs.python.org/c-api/int.html#PyInt_FromLong>
httprepo: remove is-comparison with string literal
An identity check between a variable and a string literal was added to
the pushkey implementation in
6bd9778ae749. While CPython will
normally intern strings and thus make the test safe, value identity is
what should be used here.
mq: fix comment to reflect change in
efbee27415ab
mq: clean up unused variable in qrefresh
Removes the unused variable `aa2` that holds the list of deleted files
returned from repo.status().
minirst: better interaction between comments and margins
You can now split a list with a comment:
* foo
.. separator
* bar
and the two list items will no longer be run together, that is the
output is
* foo
* bar
instead of
* foo
* bar