##// END OF EJS Templates
ancestor.deepest: sort revs in C version...
Siddharth Agarwal -
r19502:8704477a stable
parent child Browse files
Show More
@@ -1311,6 +1311,9 b' static PyObject *find_deepest(indexObjec'
1311 goto bail;
1311 goto bail;
1312 }
1312 }
1313
1313
1314 if (PyList_Sort(revs) == -1)
1315 goto bail;
1316
1314 for (i = 0; i < revcount; i++) {
1317 for (i = 0; i < revcount; i++) {
1315 int n = (int)PyInt_AsLong(PyList_GET_ITEM(revs, i));
1318 int n = (int)PyInt_AsLong(PyList_GET_ITEM(revs, i));
1316 long b = 1l << i;
1319 long b = 1l << i;
General Comments 0
You need to be logged in to leave comments. Login now