phases: add a phase and phasestr method to file context
authorSean Farley <sean.michael.farley@gmail.com>
Tue, 16 Oct 2012 17:09:50 -0500
changeset 17792 a1c4b21fc1b2
parent 17791 1e30c1bbd8c0
child 17793 8474be4412ca
phases: add a phase and phasestr method to file context
mercurial/context.py
--- 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):