Mercurial > hg-stable
changeset 27114:a636a46f5094
hghave.py: fix matchoutput documentation
author | timeless <timeless@mozdev.org> |
---|---|
date | Tue, 24 Nov 2015 22:31:56 +0000 |
parents | 77850d2a161c |
children | cb74f206d39b |
files | tests/hghave.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/hghave.py Tue Nov 24 14:23:46 2015 -0800 +++ b/tests/hghave.py Tue Nov 24 22:31:56 2015 +0000 @@ -68,7 +68,7 @@ sys.exit(1) def matchoutput(cmd, regexp, ignorestatus=False): - """Return True if cmd executes successfully and its output + """Return the match object if cmd executes successfully and its output is matched by the supplied regular expression. """ r = re.compile(regexp)