Show More
@@ -1047,8 +1047,9 b' def addremove(repo, matcher, prefix, opt' | |||
|
1047 | 1047 | submatch = matchmod.subdirmatcher(subpath, m) |
|
1048 | 1048 | if opts.get('subrepos') or m.exact(subpath) or any(submatch.files()): |
|
1049 | 1049 | sub = wctx.sub(subpath) |
|
1050 | subprefix = repo.wvfs.reljoin(prefix, subpath) | |
|
1050 | 1051 | try: |
|
1051 | if sub.addremove(submatch, prefix, opts): | |
|
1052 | if sub.addremove(submatch, subprefix, opts): | |
|
1052 | 1053 | ret = 1 |
|
1053 | 1054 | except error.LookupError: |
|
1054 | 1055 | repo.ui.status(_("skipping missing subrepository: %s\n") |
@@ -527,8 +527,7 b' class hgsubrepo(abstractsubrepo):' | |||
|
527 | 527 | # be used to process sibling subrepos however. |
|
528 | 528 | opts = copy.copy(opts) |
|
529 | 529 | opts['subrepos'] = True |
|
530 | return scmutil.addremove(self._repo, m, | |
|
531 | self.wvfs.reljoin(prefix, self._path), opts) | |
|
530 | return scmutil.addremove(self._repo, m, prefix, opts) | |
|
532 | 531 | |
|
533 | 532 | @annotatesubrepoerror |
|
534 | 533 | def cat(self, match, fm, fntemplate, prefix, **opts): |
General Comments 0
You need to be logged in to leave comments.
Login now