##// 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 dirstate,
20 dirstate,
21 error,
21 error,
22 httpconnection,
22 httpconnection,
23 match as match_,
23 match as matchmod,
24 node,
24 node,
25 scmutil,
25 scmutil,
26 util,
26 util,
@@ -161,7 +161,7 b' def openlfdirstate(ui, repo, create=True'
161
161
162 def lfdirstatestatus(lfdirstate, repo):
162 def lfdirstatestatus(lfdirstate, repo):
163 wctx = repo['.']
163 wctx = repo['.']
164 match = match_.always(repo.root, repo.getcwd())
164 match = matchmod.always(repo.root, repo.getcwd())
165 unsure, s = lfdirstate.status(match, [], False, False, False)
165 unsure, s = lfdirstate.status(match, [], False, False, False)
166 modified, clean = s.modified, s.clean
166 modified, clean = s.modified, s.clean
167 for lfile in unsure:
167 for lfile in unsure:
@@ -542,7 +542,7 b' def updatestandinsbymatch(repo, match):'
542 # otherwise to update all standins if the largefiles are
542 # otherwise to update all standins if the largefiles are
543 # large.
543 # large.
544 lfdirstate = openlfdirstate(ui, repo)
544 lfdirstate = openlfdirstate(ui, repo)
545 dirtymatch = match_.always(repo.root, repo.getcwd())
545 dirtymatch = matchmod.always(repo.root, repo.getcwd())
546 unsure, s = lfdirstate.status(dirtymatch, [], False, False,
546 unsure, s = lfdirstate.status(dirtymatch, [], False, False,
547 False)
547 False)
548 modifiedfiles = unsure + s.modified + s.added + s.removed
548 modifiedfiles = unsure + s.modified + s.added + s.removed
General Comments 0
You need to be logged in to leave comments. Login now