changeset 17792:a1c4b21fc1b2

phases: add a phase and phasestr method to file context
author Sean Farley <sean.michael.farley@gmail.com>
date Tue, 16 Oct 2012 17:09:50 -0500
parents 1e30c1bbd8c0
children 8474be4412ca
files mercurial/context.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/context.py	Wed Oct 17 12:15:23 2012 -0500
+++ b/mercurial/context.py	Tue Oct 16 17:09:50 2012 -0500
@@ -471,6 +471,10 @@
         return self._changectx.branch()
     def extra(self):
         return self._changectx.extra()
+    def phase(self):
+        return self._changectx.phase()
+    def phasestr(self):
+        return self._changectx.phasestr()
     def manifest(self):
         return self._changectx.manifest()
     def changectx(self):