equal
deleted
inserted
replaced
911 wctx = repo[None] |
911 wctx = repo[None] |
912 for subpath in sorted(wctx.substate): |
912 for subpath in sorted(wctx.substate): |
913 if opts.get('subrepos') or matchessubrepo(m, subpath): |
913 if opts.get('subrepos') or matchessubrepo(m, subpath): |
914 sub = wctx.sub(subpath) |
914 sub = wctx.sub(subpath) |
915 try: |
915 try: |
916 submatch = matchmod.narrowmatcher(subpath, m) |
916 submatch = matchmod.subdirmatcher(subpath, m) |
917 if sub.addremove(submatch, prefix, opts, dry_run, similarity): |
917 if sub.addremove(submatch, prefix, opts, dry_run, similarity): |
918 ret = 1 |
918 ret = 1 |
919 except error.LookupError: |
919 except error.LookupError: |
920 repo.ui.status(_("skipping missing subrepository: %s\n") |
920 repo.ui.status(_("skipping missing subrepository: %s\n") |
921 % join(subpath)) |
921 % join(subpath)) |