mercurial/context.py
changeset 9024 10532b29cdee
parent 8813 db3c1ab0e632
child 9102 bbc78cb1bf15
equal deleted inserted replaced
9023:cd92a6968f70 9024:10532b29cdee
   197         self._repo = repo
   197         self._repo = repo
   198         self._path = path
   198         self._path = path
   199 
   199 
   200         assert (changeid is not None
   200         assert (changeid is not None
   201                 or fileid is not None
   201                 or fileid is not None
   202                 or changectx is not None)
   202                 or changectx is not None), \
       
   203                 ("bad args: changeid=%r, fileid=%r, changectx=%r"
       
   204                  % (changeid, fileid, changectx))
   203 
   205 
   204         if filelog:
   206         if filelog:
   205             self._filelog = filelog
   207             self._filelog = filelog
   206 
   208 
   207         if changeid is not None:
   209         if changeid is not None: