mercurial/dirstate.py
changeset 7008 8fee8ff13d37
parent 6977 df96a0d1d79d
child 7023 74be9d0c665c
equal deleted inserted replaced
7007:a6b74fbb5ce0 7008:8fee8ff13d37
    95                 self.normalize = self._normalize
    95                 self.normalize = self._normalize
    96             else:
    96             else:
    97                 self.normalize = lambda x: x
    97                 self.normalize = lambda x: x
    98             return self.normalize
    98             return self.normalize
    99         else:
    99         else:
   100             raise AttributeError, name
   100             raise AttributeError(name)
   101 
   101 
   102     def _join(self, f):
   102     def _join(self, f):
   103         # much faster than os.path.join()
   103         # much faster than os.path.join()
   104         # it's safe because f is always a relative path
   104         # it's safe because f is always a relative path
   105         return self._rootdir + f
   105         return self._rootdir + f