Submitter | Adrian Buehlmann |
---|---|
Date | Dec. 20, 2012, 2:23 p.m. |
Message ID | <947209a09d9d0c4ae2a0.1356013392@kork> |
Download | mbox | patch |
Permalink | /patch/213/ |
State | Accepted |
Commit | acfc6fab13617482899ac71287edf4f23fe6f06f |
Headers | show |
Comments
On Thu, Dec 20, 2012 at 6:23 AM, Adrian Buehlmann <adrian at cadifra.com>wrote: > test-pathencode: accept --seed parameter in hex as well > Pushed to crew, thanks. (I trimmed your commit description, which was disproportionately long for such a tiny change.) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20121220/375074d5/attachment.html>
Patch
diff --git a/tests/test-pathencode.py b/tests/test-pathencode.py --- a/tests/test-pathencode.py +++ b/tests/test-pathencode.py @@ -177,7 +177,7 @@ if o in ('-c', '--count'): count = int(a) elif o in ('-s', '--seed'): - seed = long(a) + seed = long(a, base=0) # accepts base 10 or 16 strings elif o == '--build': buildprobtable(sys.stdout, 'find .hg/store/data -type f && '