mercurial/context.py
changeset 32643 1df98fc923d4
parent 32613 e7eb7494e98d
child 32652 9929af2b09b4
--- a/mercurial/context.py	Fri Jun 02 10:35:21 2017 +0530
+++ b/mercurial/context.py	Thu Jun 01 02:25:18 2017 +0530
@@ -1405,6 +1405,9 @@
     def __str__(self):
         return str(self._parents[0]) + r"+"
 
+    def __bytes__(self):
+        return bytes(self._parents[0]) + "+"
+
     def __nonzero__(self):
         return True