Mercurial > hg
diff README @ 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 | df5ecb813426 |
children | 4b0fc75f9403 |