equal
deleted
inserted
replaced
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 |