comparison mercurial/lock.py @ 18663:05cf40f9b0ec

dirstate: fix generator/list error when using python 2.7 util.statfiles returns a generator on python 2.7 with c extensions disabled. This caused util.statfiles(...) [0] to break in tests. Since we're only stat'ing one file, I just changed it to call lstat directly.
author Durham Goode <durham@fb.com>
date Sun, 10 Feb 2013 12:23:39 -0800
parents 6d7db5794e8c
children af9fa8d4c939
comparison
equal deleted inserted replaced
18662:c5f7e83d47cd 18663:05cf40f9b0ec