##// END OF EJS Templates
largefiles: rename match_ to matchmod import in lfutil
liscju -
r29320:016a9015 default
parent child Browse files
Show More
@@ -20,7 +20,7 b' from mercurial import ('
20 20 dirstate,
21 21 error,
22 22 httpconnection,
23 match as match_,
23 match as matchmod,
24 24 node,
25 25 scmutil,
26 26 util,
@@ -161,7 +161,7 b' def openlfdirstate(ui, repo, create=True'
161 161
162 162 def lfdirstatestatus(lfdirstate, repo):
163 163 wctx = repo['.']
164 match = match_.always(repo.root, repo.getcwd())
164 match = matchmod.always(repo.root, repo.getcwd())
165 165 unsure, s = lfdirstate.status(match, [], False, False, False)
166 166 modified, clean = s.modified, s.clean
167 167 for lfile in unsure:
@@ -542,7 +542,7 b' def updatestandinsbymatch(repo, match):'
542 542 # otherwise to update all standins if the largefiles are
543 543 # large.
544 544 lfdirstate = openlfdirstate(ui, repo)
545 dirtymatch = match_.always(repo.root, repo.getcwd())
545 dirtymatch = matchmod.always(repo.root, repo.getcwd())
546 546 unsure, s = lfdirstate.status(dirtymatch, [], False, False,
547 547 False)
548 548 modifiedfiles = unsure + s.modified + s.added + s.removed
General Comments 0
You need to be logged in to leave comments. Login now