mercurial/context.py
changeset 26978 9b9d4bcc915e
parent 26977 bd19561b98d9
child 27016 448cbdab5883
equal deleted inserted replaced
26977:bd19561b98d9 26978:9b9d4bcc915e
   744             return False
   744             return False
   745     def isexec(self):
   745     def isexec(self):
   746         return 'x' in self.flags()
   746         return 'x' in self.flags()
   747     def islink(self):
   747     def islink(self):
   748         return 'l' in self.flags()
   748         return 'l' in self.flags()
       
   749 
       
   750     def isabsent(self):
       
   751         """whether this filectx represents a file not in self._changectx
       
   752 
       
   753         This is mainly for merge code to detect change/delete conflicts. This is
       
   754         expected to be True for all subclasses of basectx."""
       
   755         return False
   749 
   756 
   750     _customcmp = False
   757     _customcmp = False
   751     def cmp(self, fctx):
   758     def cmp(self, fctx):
   752         """compare with other file context
   759         """compare with other file context
   753 
   760