##// END OF EJS Templates
lfutil: avoid creating unnecessary copy of status tuple...
Martin von Zweigbergk -
r22912:3b8e6c09 default
parent child Browse files
Show More
@@ -137,7 +137,7 b' def openlfdirstate(ui, repo, create=True'
137 def lfdirstatestatus(lfdirstate, repo, rev):
137 def lfdirstatestatus(lfdirstate, repo, rev):
138 match = match_.always(repo.root, repo.getcwd())
138 match = match_.always(repo.root, repo.getcwd())
139 unsure, s = lfdirstate.status(match, [], False, False, False)
139 unsure, s = lfdirstate.status(match, [], False, False, False)
140 modified, added, removed, missing, unknown, ignored, clean = s
140 modified, _added, _removed, _missing, _unknown, _ignored, clean = s
141 for lfile in unsure:
141 for lfile in unsure:
142 try:
142 try:
143 fctx = repo[rev][standin(lfile)]
143 fctx = repo[rev][standin(lfile)]
@@ -148,7 +148,7 b' def lfdirstatestatus(lfdirstate, repo, r'
148 else:
148 else:
149 clean.append(lfile)
149 clean.append(lfile)
150 lfdirstate.normal(lfile)
150 lfdirstate.normal(lfile)
151 return (modified, added, removed, missing, unknown, ignored, clean)
151 return s
152
152
153 def listlfiles(repo, rev=None, matcher=None):
153 def listlfiles(repo, rev=None, matcher=None):
154 '''return a list of largefiles in the working copy or the
154 '''return a list of largefiles in the working copy or the
General Comments 0
You need to be logged in to leave comments. Login now