changeset 24210:99362821b25b

subrepo: always return scmutil.status() from gitsubrepo.status() This was accidentally left out of c95db3208a33.
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 03 Mar 2015 21:24:16 -0500
parents 6944b64cc28d
children 1e3e064c16a1
files mercurial/subrepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: