##// END OF EJS Templates
largefiles: don't hash all largefiles when initializing a lfdirstate...
Mads Kiilerich -
r19010:e071d161 default
parent child Browse files
Show More
@@ -9,7 +9,6 b''
9 9 '''largefiles utility code: must not import other modules in this package.'''
10 10
11 11 import os
12 import errno
13 12 import platform
14 13 import shutil
15 14 import stat
@@ -127,14 +126,7 b' def openlfdirstate(ui, repo, create=True'
127 126 matcher = getstandinmatcher(repo)
128 127 for standin in repo.dirstate.walk(matcher, [], False, False):
129 128 lfile = splitstandin(standin)
130 hash = readstandin(repo, lfile)
131 129 lfdirstate.normallookup(lfile)
132 try:
133 if hash == hashfile(repo.wjoin(lfile)):
134 lfdirstate.normal(lfile)
135 except OSError, err:
136 if err.errno != errno.ENOENT:
137 raise
138 130 return lfdirstate
139 131
140 132 def lfdirstatestatus(lfdirstate, repo, rev):
General Comments 0
You need to be logged in to leave comments. Login now