Mercurial > hg
comparison hgext/largefiles/overrides.py @ 51700:7f0cb9ee0534
Backout accidental publication of a large range of revisions
I accidentally published 25e7f9dcad0f::bd1483fd7088, this is the inverse.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Tue, 23 Jul 2024 10:02:46 +0200 |
parents | 493034cc3265 |
children | ca7bde5dbafb |
comparison
equal
deleted
inserted
replaced
51699:bd1483fd7088 | 51700:7f0cb9ee0534 |
---|---|
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'') |