##// END OF EJS Templates
subrepo: use field names instead of field numbers on scmutil.status...
Augie Fackler -
r44050:aeed2f10 default
parent child Browse files
Show More
@@ -1995,8 +1995,12 b' class gitsubrepo(abstractsubrepo):'
1995 if match.always():
1995 if match.always():
1996 output += self._gitcommand(cmd) + b'\n'
1996 output += self._gitcommand(cmd) + b'\n'
1997 else:
1997 else:
1998 st = self.status(node2)[:3]
1998 st = self.status(node2)
1999 files = [f for sublist in st for f in sublist]
1999 files = [
2000 f
2001 for sublist in (st.modified, st.added, st.removed)
2002 for f in sublist
2003 ]
2000 for f in files:
2004 for f in files:
2001 if match(f):
2005 if match(f):
2002 output += self._gitcommand(cmd + [b'--', f]) + b'\n'
2006 output += self._gitcommand(cmd + [b'--', f]) + b'\n'
General Comments 0
You need to be logged in to leave comments. Login now