mercurial/context.py
changeset 19595 bb6fd06975a6
parent 19594 1c030c24e196
child 19596 9bc3d0dea371
equal deleted inserted replaced
19594:1c030c24e196 19595:bb6fd06975a6
   497         return self._changectx.user()
   497         return self._changectx.user()
   498     def date(self):
   498     def date(self):
   499         return self._changectx.date()
   499         return self._changectx.date()
   500     def files(self):
   500     def files(self):
   501         return self._changectx.files()
   501         return self._changectx.files()
       
   502     def description(self):
       
   503         return self._changectx.description()
   502 
   504 
   503 class filectx(basefilectx):
   505 class filectx(basefilectx):
   504     """A filecontext object makes access to data related to a particular
   506     """A filecontext object makes access to data related to a particular
   505        filerevision convenient."""
   507        filerevision convenient."""
   506     def __init__(self, repo, path, changeid=None, fileid=None,
   508     def __init__(self, repo, path, changeid=None, fileid=None,
   553         '''opens an arbitrary revision of the file without
   555         '''opens an arbitrary revision of the file without
   554         opening a new filelog'''
   556         opening a new filelog'''
   555         return filectx(self._repo, self._path, fileid=fileid,
   557         return filectx(self._repo, self._path, fileid=fileid,
   556                        filelog=self._filelog)
   558                        filelog=self._filelog)
   557 
   559 
   558     def description(self):
       
   559         return self._changectx.description()
       
   560     def branch(self):
   560     def branch(self):
   561         return self._changectx.branch()
   561         return self._changectx.branch()
   562     def extra(self):
   562     def extra(self):
   563         return self._changectx.extra()
   563         return self._changectx.extra()
   564     def phase(self):
   564     def phase(self):