mercurial/merge.py
changeset 27129 1bf1a7c3df43
parent 27122 77d760ba8dcd
child 27130 6f045b563fa5
equal deleted inserted replaced
27128:efceacd6a0c6 27129:1bf1a7c3df43
   286 
   286 
   287         return configmergedriver
   287         return configmergedriver
   288 
   288 
   289     @util.propertycache
   289     @util.propertycache
   290     def otherctx(self):
   290     def otherctx(self):
       
   291         if self._other is None:
       
   292             raise RuntimeError("localctx accessed but self._local isn't set")
   291         return self._repo[self._other]
   293         return self._repo[self._other]
   292 
   294 
   293     def active(self):
   295     def active(self):
   294         """Whether mergestate is active.
   296         """Whether mergestate is active.
   295 
   297