mercurial/context.py
changeset 22914 c95db3208a33
parent 22911 509e2cbee679
child 22916 cfa8d7561938
--- a/mercurial/context.py	Fri Oct 10 14:32:36 2014 -0700
+++ b/mercurial/context.py	Tue Oct 14 00:52:27 2014 -0500
@@ -341,7 +341,7 @@
             l.sort()
 
         # we return a tuple to signify that this list isn't changing
-        return tuple(r)
+        return scmutil.status(*r)
 
 
 def makememctx(repo, parents, text, user, date, branch, files, store,
@@ -1482,7 +1482,7 @@
         # (s[1] is 'added' and s[2] is 'removed')
         s = list(s)
         s[1], s[2] = s[2], s[1]
-        return tuple(s)
+        return scmutil.status(*s)
 
 class committablefilectx(basefilectx):
     """A committablefilectx provides common functionality for a file context