[PATCH 2 of 3] subrepo: always return scmutil.status() from gitsubrepo.status()
Matt Harbison
mharbison72 at gmail.com
Tue Mar 3 20:44:41 CST 2015
# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1425435856 18000
# Tue Mar 03 21:24:16 2015 -0500
# Node ID d9d38d9d0be0c2ccd16e85ae7b42dcb52697648b
# Parent 6ea246c0b6db75b5891bc7e0b9bde880475a5253
subrepo: always return scmutil.status() from gitsubrepo.status()
This was accidentally left out of c95db3208a33.
diff --git a/mercurial/subrepo.py b/mercurial/subrepo.py
--- a/mercurial/subrepo.py
+++ b/mercurial/subrepo.py
@@ -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:
More information about the Mercurial-devel
mailing list