Mercurial > public > mercurial-scm > hg
diff mercurial/dirstate.py @ 2448:b77a2ef61b81
replace os.stat with os.lstat in some where.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Fri, 16 Jun 2006 12:58:24 -0700 |
parents | 6a8f7c3f7333 |
children | fe1689273f84 |
line wrap: on
line diff
--- a/mercurial/dirstate.py Fri Jun 16 10:19:45 2006 -0700 +++ b/mercurial/dirstate.py Fri Jun 16 12:58:24 2006 -0700 @@ -471,7 +471,7 @@ # check the common case first if type_ == 'n': if not st: - st = os.stat(self.wjoin(fn)) + st = os.lstat(self.wjoin(fn)) if size >= 0 and (size != st.st_size or (mode ^ st.st_mode) & 0100): modified.append(fn)