mercurial/context.py
changeset 34783 0c812885586b
parent 34685 6036e6e205ca
child 34787 754b5117622f
equal deleted inserted replaced
34782:f21eecc64ace 34783:0c812885586b
  2096                                                     parent)
  2096                                                     parent)
  2097         self._repo = repo
  2097         self._repo = repo
  2098         self._parent = parent
  2098         self._parent = parent
  2099         self._path = path
  2099         self._path = path
  2100 
  2100 
       
  2101     def cmp(self, fctx):
       
  2102         return self.data() != fctx.data()
       
  2103 
  2101     def ctx(self):
  2104     def ctx(self):
  2102         return self._parent
  2105         return self._parent
  2103 
  2106 
  2104     def data(self):
  2107     def data(self):
  2105         return self._parent.data(self._path)
  2108         return self._parent.data(self._path)