[PATCH 2 of 3] debugdag and debugindexdag: emit changelog/revlog DAGs as concise text

Matt Mackall mpm at selenic.com
Thu Feb 11 16:32:29 CST 2010


On Thu, 2010-02-11 at 23:02 +0100, Peter Arrenbrecht wrote:
> # HG changeset patch
> # User Peter Arrenbrecht <peter.arrenbrecht at gmail.com>
> # Date 1265925642 -3600
> debugdag and debugindexdag: emit changelog/revlog DAGs as concise text

Not sure why we have two commands here.

I'd prefer that instead of:

+99 *32 +2 *4/ *32 *2/ +26 *4 +5 */7 +14 *8 +2 */4 +21 *2 *2/ +2 *4 *2/
+50
*15 +3 *5/ *6 +2 */4 +55 *2 +1 *3/ +3 *4 +1 *3 *2/ +22 *9 *2/ +16 *17 +1
*9/
*4/ +25 *5 */2 +1 *2 *2/ +42 *27 +4 *6 *2/ +33 *5 *2/ +10 *2 +8 *10/ +5
*5
+4 *6/ +45 *14 */7 +4 */7 +4 *5 */2 +141 *3 +9 */11 +5 *2 *2/ +10 *18 +1
*/7
+11 */16 +2 *18/ +48 *19 +3 */6 +14 *20/ *22 +4 *6/ +4 *4 +4 *6/ +3 *10
+7
*/9 *14 *20/ *3/ +20 *2 +5 */7 +1 *29 +2 *12/ *13 +1 */3 *4 +2 *4/ *8 +1
*22
*/11 *3/ +1 */7 *2 *2/ *2 +1 */3 *2 +2 *28/ *5/ *29/ +12 *3 *2/ +31 *2
+1
*10 */5 */3 +1 */7 *9 +3 */5 +20 *36 +5 */40 */8 +13 *7 +6 *10/ +2 *11/
*15
+3 */5 *7 *2/ +11 *13 *13 *2/ +3 *14/ +2 */11 +1 */12 +1 *2 *2/ +17 *13
+3
*/5 +44 *18 +3 *5/ +35 *20 +1 *3/ +11 *5 +4 */6 +7 *2 *2/ +1 *4 *2/ +3
*17

we got something like:

+99*32+2*4/*32*2/+26*4+5*/7+14*8+2*/4+21*2*2/+2*4*2/+50*15+3*5/*6+2*/4
+55*2+1*3/+3*4+1*3*2/+22*9*2/+16*17+1*9/*4/+25*5*/2+1*2*2/+42*27+4*6
*2/+33*5*2/+10*2+8*10/+5*5+4*6/+45*14*/7+4*/7+4*5*/2+141*3+9*/11+5*2
*2/+10*18+1*/7+11*/16+2*18/+48*19+3*/6+14*20/*22+4*6/+4*4+4*6/+3*10+7
*/9*14*20/*3/+20*2+5*/7+1*29+2*12/*13+1*/3*4+2*4/*8+1*22*/11*3/+1*/7*2
*2/*2+1*/3*2+2*28/*5/*29/+12*3*2/+31*2+1*10*/5*/3+1*/7*9+3*/5+20*36+5
*/40*/8+13*7+6*10/+2*11/*15+3*/5*7*2/+11*13*13*2/+3*14/+2*/11+1*/12+1
*2*2/+17*13+3*/5+44*18+3*5/+35*20+1*3/+11*5+4*/6+7*2*2/+1*4*2/+3*17

(drop whitespace and wrap a bit sooner)

-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Mercurial-devel mailing list