# HG changeset patch # User timeless # Date 2015-11-24 22:31:56 # Node ID a636a46f509422779d1856ceacc0c2ca87fbfd4d # Parent 77850d2a161c22a5151ef9e0740b6299d9c45d3a hghave.py: fix matchoutput documentation diff --git a/tests/hghave.py b/tests/hghave.py --- a/tests/hghave.py +++ b/tests/hghave.py @@ -68,7 +68,7 @@ def require(features): 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)