subrepo: always return scmutil.status() from gitsubrepo.status()
authorMatt Harbison <matt_harbison@yahoo.com>
Tue, 03 Mar 2015 21:24:16 -0500
changeset 24210 99362821b25b
parent 24209 6944b64cc28d
child 24211 1e3e064c16a1
subrepo: always return scmutil.status() from gitsubrepo.status() This was accidentally left out of c95db3208a33.
mercurial/subrepo.py
--- a/mercurial/subrepo.py	Tue Mar 03 21:17:29 2015 -0500
+++ b/mercurial/subrepo.py	Tue Mar 03 21:24:16 2015 -0500
@@ -1640,7 +1640,7 @@
         rev1 = self._state[1]
         if self._gitmissing() or not rev1:
             # if the repo is missing, return no results
-            return [], [], [], [], [], [], []
+            return scmutil.status([], [], [], [], [], [], [])
         modified, added, removed = [], [], []
         self._gitupdatestat()
         if rev2: