diff -r a7fa5bd1c914 -r bf9894889d82 mercurial/store.py --- a/mercurial/store.py Tue Sep 18 17:00:58 2012 +0200 +++ b/mercurial/store.py Mon Sep 17 11:00:38 2012 +0200 @@ -336,7 +336,7 @@ # skip nonexistent file self.entries = set() return - self.entries = set(map(decodedir, fp.read().splitlines())) + self.entries = set(decodedir(fp.read()).splitlines()) if '' in self.entries: fp.seek(0) for n, line in enumerate(fp):