Submitter | Siddharth Agarwal |
---|---|
Date | July 25, 2013, 11:08 p.m. |
Message ID | <acd8063547ca3cb47f65.1374793693@dev1091.prn1.facebook.com> |
Download | mbox | patch |
Permalink | /patch/1968/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/parsers.c b/mercurial/parsers.c --- a/mercurial/parsers.c +++ b/mercurial/parsers.c @@ -1311,6 +1311,9 @@ goto bail; } + if (PyList_Sort(revs) == -1) + goto bail; + for (i = 0; i < revcount; i++) { int n = (int)PyInt_AsLong(PyList_GET_ITEM(revs, i)); long b = 1l << i;