tests/test-parseindex
changeset 6750 fb42030d79d6
parent 3853 c0b449154a90
child 12156 4c94b6d0fb1c
equal deleted inserted replaced
6749:51b0e799352f 6750:fb42030d79d6
    42         f = o(*a)
    42         f = o(*a)
    43         return singlebyteread(f)
    43         return singlebyteread(f)
    44     return wrapper
    44     return wrapper
    45 
    45 
    46 cl = changelog.changelog(opener('.hg/store'))
    46 cl = changelog.changelog(opener('.hg/store'))
    47 print cl.count(), 'revisions:'
    47 print len(cl), 'revisions:'
    48 for r in xrange(cl.count()):
    48 for r in cl:
    49     print short(cl.node(r))
    49     print short(cl.node(r))
    50 EOF
    50 EOF
    51 
    51 
    52 python test.py
    52 python test.py