mercurial/context.py
changeset 41995 6fef387af1da
parent 41994 550a172a603b
child 42100 b63b8b7ca5fa
--- a/mercurial/context.py	Tue Mar 19 22:58:39 2019 -0700
+++ b/mercurial/context.py	Tue Mar 19 23:00:07 2019 -0700
@@ -2393,9 +2393,10 @@
             self._flags = 'x'
         else:
             self._flags = ''
-        self._copied = None
-        if copysource:
-            self._copied = (copysource, nullid)
+        self._copysource = copysource
+
+    def copysource(self):
+        return self._copysource
 
     def cmp(self, fctx):
         return self.data() != fctx.data()