895 with extensions.wrappedfunction(util, 'copyfile', overridecopyfile): |
895 with extensions.wrappedfunction(util, 'copyfile', overridecopyfile): |
896 with extensions.wrappedfunction(scmutil, 'match', overridematch): |
896 with extensions.wrappedfunction(scmutil, 'match', overridematch): |
897 result += orig(ui, repo, listpats, opts, rename) |
897 result += orig(ui, repo, listpats, opts, rename) |
898 |
898 |
899 lfdirstate = lfutil.openlfdirstate(ui, repo) |
899 lfdirstate = lfutil.openlfdirstate(ui, repo) |
900 for (src, dest) in copiedfiles: |
900 for src, dest in copiedfiles: |
901 if lfutil.shortname in src and dest.startswith( |
901 if lfutil.shortname in src and dest.startswith( |
902 repo.wjoin(lfutil.shortname) |
902 repo.wjoin(lfutil.shortname) |
903 ): |
903 ): |
904 srclfile = src.replace(repo.wjoin(lfutil.standin(b'')), b'') |
904 srclfile = src.replace(repo.wjoin(lfutil.standin(b'')), b'') |
905 destlfile = dest.replace(repo.wjoin(lfutil.standin(b'')), b'') |
905 destlfile = dest.replace(repo.wjoin(lfutil.standin(b'')), b'') |