Mercurial > hg
changeset 19567:49b128e50e84
basectx: move dirty from changectx
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Mon, 05 Aug 2013 18:42:41 -0500 |
parents | 54817c774d38 |
children | f58235d85d6b |
files | mercurial/context.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/context.py Mon Aug 05 18:41:56 2013 -0500 +++ b/mercurial/context.py Mon Aug 05 18:42:41 2013 -0500 @@ -145,6 +145,9 @@ def dirs(self): return self._dirs + def dirty(self): + return False + class changectx(basectx): """A changecontext object makes access to data related to a particular changeset convenient. It represents a read-only context already presnt in @@ -406,9 +409,6 @@ if match.bad(fn, _('no such file in rev %s') % self) and match(fn): yield fn - def dirty(self): - return False - class filectx(object): """A filecontext object makes access to data related to a particular filerevision convenient."""