diff mercurial/pushkey.py @ 18571:ad5817505834

test-convert-git: stabilize corruption of test git repo This error would show up only intermittently since the test depended on the order of the directories returned by os.walk. The damage repository test would delete the first object file it came across. However, the order of the directory listing is arbitrary (it seems to depend on the filesystem). This meant that sometimes a commit object was deleted, sometimes a blob object and sometimes a tree object. So, fix by hardcoding which object to delete. Delete a commit object, a blob object and a tree object in three separate tests.
author Ross Lagerwall <rosslagerwall@gmail.com>
date Fri, 08 Feb 2013 07:57:32 -0600
parents 59c14bf5a48c
children a2c7ae21e8f4
line wrap: on
line diff