diff mercurial/context.py @ 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 3a524b647897
children 3cc06457f15e
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):