tests/test-upgrade-repo.t
changeset 43195 86b26f20146d
parent 43167 bca9d1a6c4c5
child 44741 c36a3fcfc36b
equal deleted inserted replaced
43194:138ac8cbce60 43195:86b26f20146d
   450   $ hg -q commit -A -m 'add f1'
   450   $ hg -q commit -A -m 'add f1'
   451   $ hg -q up -r 0
   451   $ hg -q up -r 0
   452   >>> from __future__ import absolute_import, print_function
   452   >>> from __future__ import absolute_import, print_function
   453   >>> import random
   453   >>> import random
   454   >>> random.seed(0) # have a reproducible content
   454   >>> random.seed(0) # have a reproducible content
   455   >>> with open("f2", "w") as f:
   455   >>> with open("f2", "wb") as f:
   456   ...     for i in range(100000):
   456   ...     for i in range(100000):
   457   ...         f.write("%d\n" % random.randint(1000000000, 9999999999)) and None
   457   ...         f.write(b"%d\n" % random.randint(1000000000, 9999999999)) and None
   458   $ hg -q commit -A -m 'add f2'
   458   $ hg -q commit -A -m 'add f2'
   459 
   459 
   460 make sure we have a .d file
   460 make sure we have a .d file
   461 
   461 
   462   $ ls -d .hg/store/data/*
   462   $ ls -d .hg/store/data/*