equal
deleted
inserted
replaced
221 self._parsechangeset(changeset, rev) |
221 self._parsechangeset(changeset, rev) |
222 |
222 |
223 def _getfile(self, name, rev): |
223 def _getfile(self, name, rev): |
224 mode = os.lstat(os.path.join(self.tmppath, name)).st_mode |
224 mode = os.lstat(os.path.join(self.tmppath, name)).st_mode |
225 if stat.S_ISLNK(mode): |
225 if stat.S_ISLNK(mode): |
226 data = os.readlink(os.path.join(self.tmppath, name)) |
226 data = util.readlink(os.path.join(self.tmppath, name)) |
227 if mode: |
227 if mode: |
228 mode = 'l' |
228 mode = 'l' |
229 else: |
229 else: |
230 mode = '' |
230 mode = '' |
231 else: |
231 else: |