Mercurial > public > mercurial-scm > hg
comparison mercurial/context.py @ 19571:103edf3ed79e
workingctx: inherit from basectx instead of changectx
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Mon, 05 Aug 2013 18:44:18 -0500 |
parents | f58235d85d6b |
children | c19f46b904b9 |
comparison
equal
deleted
inserted
replaced
19570:f69ebcb06ce2 | 19571:103edf3ed79e |
---|---|
808 sc2 = str(c2) | 808 sc2 = str(c2) |
809 if sc2 not in self._copycache: | 809 if sc2 not in self._copycache: |
810 self._copycache[sc2] = copies.pathcopies(c2) | 810 self._copycache[sc2] = copies.pathcopies(c2) |
811 return self._copycache[sc2] | 811 return self._copycache[sc2] |
812 | 812 |
813 class workingctx(changectx): | 813 class workingctx(basectx): |
814 """A workingctx object makes access to data related to | 814 """A workingctx object makes access to data related to |
815 the current working directory convenient. | 815 the current working directory convenient. |
816 date - any valid date string or (unixtime, offset), or None. | 816 date - any valid date string or (unixtime, offset), or None. |
817 user - username string, or None. | 817 user - username string, or None. |
818 extra - a dictionary of extra values, or None. | 818 extra - a dictionary of extra values, or None. |