##// END OF EJS Templates
largefiles: unindent code
Mads Kiilerich -
r18149:2dcc3653 default
parent child Browse files
Show More
@@ -163,12 +163,12 def reposetup(ui, repo):
163 result = super(lfilesrepo, self).status(node1, node2, m,
163 result = super(lfilesrepo, self).status(node1, node2, m,
164 ignored, clean, unknown, listsubrepos)
164 ignored, clean, unknown, listsubrepos)
165 if working:
165 if working:
166 try:
167
166
168 def sfindirstate(f):
167 def sfindirstate(f):
169 sf = lfutil.standin(f)
168 sf = lfutil.standin(f)
170 dirstate = self.dirstate
169 dirstate = self.dirstate
171 return sf in dirstate or sf in dirstate.dirs()
170 return sf in dirstate or sf in dirstate.dirs()
171
172 match._files = [f for f in match._files
172 match._files = [f for f in match._files
173 if sfindirstate(f)]
173 if sfindirstate(f)]
174 # Don't waste time getting the ignored and unknown
174 # Don't waste time getting the ignored and unknown
@@ -203,8 +203,6 def reposetup(ui, repo):
203 clean.append(lfile)
203 clean.append(lfile)
204 else:
204 else:
205 added.append(lfile)
205 added.append(lfile)
206 finally:
207 pass
208
206
209 # Standins no longer found in lfdirstate has been removed
207 # Standins no longer found in lfdirstate has been removed
210 for standin in ctx1.manifest():
208 for standin in ctx1.manifest():
General Comments 0
You need to be logged in to leave comments. Login now