changeset 64 | b3e2ddff0159 |
parent 60 | e32fdbd97839 |
child 65 | d40cc5aacc31 |
--- a/mercurial/hg.py Thu May 12 01:23:51 2005 -0800 +++ b/mercurial/hg.py Thu May 12 17:54:55 2005 -0800 @@ -499,7 +499,7 @@ dc = dict.fromkeys(mf) def fcmp(fn): - t1 = file(fn).read() + t1 = file(os.path.join(self.root, fn)).read() t2 = self.file(fn).revision(mf[fn]) return cmp(t1, t2) @@ -509,7 +509,7 @@ for f in files: fn = os.path.join(d, f) - try: s = os.stat(fn) + try: s = os.stat(os.path.join(self.root, fn)) except: continue if fn in dc: c = dc[fn]