diff mercurial/patch.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 242d2f4ec01c
children f0d55e1b4855
line wrap: on
line diff