Mercurial > hg-stable
diff setup.py @ 35111:a9454beb9dd8
context: add obsolete() method to basefilectx
This method is now used in webutils.commonentry(), which adds common data items
(commit hash, author, date, etc) for rendering changesets in hgweb. Usually,
commonentry() is given a changectx as ctx; but in views related to files (e.g.
file view, diff, annotate) it's replaced by a filectx, so the latter also needs
to have obsolete() method.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sat, 18 Nov 2017 11:58:57 +0800 |
parents | a6a322193a02 |
children | 7ea56f5700b8 |