# HG changeset patch # User Nicolas Dumazet # Date 1279444319 -32400 # Node ID 26175823b9d4e50dc5fc7fcf9120bd1519cbbc92 # Parent 890ad9d6a16950cfd6d952bde7887d301568b763# Parent ce95d8b87d22033f6d8a9a8208b8a84521ae2614 merge with stable diff -r 890ad9d6a169 -r 26175823b9d4 mercurial/context.py --- a/mercurial/context.py Sun Jul 04 18:07:30 2010 +0900 +++ b/mercurial/context.py Sun Jul 18 18:11:59 2010 +0900 @@ -925,7 +925,7 @@ return [] def size(self): - return os.stat(self._repo.wjoin(self._path)).st_size + return os.lstat(self._repo.wjoin(self._path)).st_size def date(self): t, tz = self._changectx.date() try: