mercurial/context.py
changeset 40062 b6c2543e1dd8
parent 40061 a38a99c74ad4
child 40083 48a0ce67d67a
equal deleted inserted replaced
40061:a38a99c74ad4 40062:b6c2543e1dd8
   907 class filectx(basefilectx):
   907 class filectx(basefilectx):
   908     """A filecontext object makes access to data related to a particular
   908     """A filecontext object makes access to data related to a particular
   909        filerevision convenient."""
   909        filerevision convenient."""
   910     def __init__(self, repo, path, changeid=None, fileid=None,
   910     def __init__(self, repo, path, changeid=None, fileid=None,
   911                  filelog=None, changectx=None):
   911                  filelog=None, changectx=None):
   912         """changeid can be a changeset revision, node, or tag.
   912         """changeid must be a revision number, if specified.
   913            fileid can be a file revision or node."""
   913            fileid can be a file revision or node."""
   914         self._repo = repo
   914         self._repo = repo
   915         self._path = path
   915         self._path = path
   916 
   916 
   917         assert (changeid is not None
   917         assert (changeid is not None