mercurial/context.py
changeset 19663 0af73d7869a6
parent 19662 7299ef0f0a8b
child 19664 61dcb2aa7378
equal deleted inserted replaced
19662:7299ef0f0a8b 19663:0af73d7869a6
  1200         return workingctx(self._repo)
  1200         return workingctx(self._repo)
  1201 
  1201 
  1202     def __nonzero__(self):
  1202     def __nonzero__(self):
  1203         return True
  1203         return True
  1204 
  1204 
  1205     def __repr__(self):
       
  1206         return "<workingfilectx %s>" % str(self)
       
  1207 
       
  1208     def data(self):
  1205     def data(self):
  1209         return self._repo.wread(self._path)
  1206         return self._repo.wread(self._path)
  1210     def renamed(self):
  1207     def renamed(self):
  1211         rp = self._repo.dirstate.copied(self._path)
  1208         rp = self._repo.dirstate.copied(self._path)
  1212         if not rp:
  1209         if not rp: