Changeset ee16bc50ca21…
Parent b3e39d7b0a64…
by
Changes to one file · Browse files at ee16bc50ca21 Showing diff from parent b3e39d7b0a64 Diff from another changeset...
@@ -567,9 +567,9 @@ Also return the corresponding subrepo context and the filename relative to
its containing subrepo
"""
- if wfile in ctx.files():
+ if wfile in ctx.manifest():
return '', wfile, ctx
- for wsub in ctx.substate.keys():
+ for wsub in ctx.substate:
if wfile.startswith(wsub):
srev = ctx.substate[wsub][1]
stype = ctx.substate[wsub][2]
@@ -584,7 +584,7 @@ # The selected revision does not exist in the working copy
continue
wfileinsub = wfile[len(wsub)+1:]
- if wfileinsub in sctx.substate.keys() or wfileinsub in sctx.files():
+ if wfileinsub in sctx.substate or wfileinsub in sctx.manifest():
return wsub, wfileinsub, sctx
else:
wsubsub, wfileinsub, sctx = \
|
Loading...