subrepo: use subprocess directly to avoid python 2.6 bug
Using svn subrepos on MacOSX with native python 2.6.1 results in a lot of
unexpected output caused by:
http://bugs.python.org/
issue5099
subprocess.Popen.__del__ causes AttributeError (os module == None)
Avoiding dangling Popen instance solves the issue.
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