##// END OF EJS Templates
merge with stable
Matt Mackall -
r19327:cf1b0a58 merge default
parent child Browse files
Show More
@@ -16,8 +16,8 b' configuration files for Mercurial'
16 16 :class: htmlonly
17 17
18 18
19 Synopsis
20 ========
19 Description
20 ===========
21 21
22 22 .. include:: ../mercurial/help/config.txt
23 23
@@ -585,7 +585,8 b' static PyObject *hashmangle(const char *'
585 585 in a space or dot, which are unportable. */
586 586 if (d == '.' || d == ' ')
587 587 dest[destlen - 1] = '_';
588 if (destlen > maxshortdirslen)
588 /* The + 3 is to account for "dh/" in the beginning */
589 if (destlen > maxshortdirslen + 3)
589 590 break;
590 591 charcopy(dest, &destlen, destsize, src[i]);
591 592 p = -1;
@@ -124,7 +124,8 b' def makepart(rng, k):'
124 124 p = pickfrom(rng, firsttable)(rng)
125 125 l = len(p)
126 126 ps = [p]
127 while l <= k:
127 maxl = rng.randint(1, k)
128 while l < maxl:
128 129 p = pickfrom(rng, resttable)(rng)
129 130 l += len(p)
130 131 ps.append(p)
General Comments 0
You need to be logged in to leave comments. Login now