cmdutil: convert terse status result back to an scmutil.status
authorAugie Fackler <augie@google.com>
Thu, 14 Nov 2019 15:27:20 -0500
changeset 43645 9cb7f855e2fc
parent 43644 e01e0641f18a
child 43646 1e1bad31b427
cmdutil: convert terse status result back to an scmutil.status This is also part of detupling scmutil.status. Differential Revision: https://phab.mercurial-scm.org/D7397
mercurial/cmdutil.py
--- a/mercurial/cmdutil.py	Thu Nov 14 15:26:17 2019 -0500
+++ b/mercurial/cmdutil.py	Thu Nov 14 15:27:20 2019 -0500
@@ -761,7 +761,7 @@
         tersedict[st].sort()
         tersedlist.append(tersedict[st])
 
-    return tersedlist
+    return scmutil.status(*tersedlist)
 
 
 def _commentlines(raw):