##// END OF EJS Templates
largefiles: move identical statement to after if/else
Martin von Zweigbergk -
r32301:8a87bfc5 default
parent child Browse files
Show More
@@ -347,14 +347,12 b' def overridelog(orig, ui, repo, *pats, *'
347 else:
347 else:
348 f = m._cwd + '/' + f
348 f = m._cwd + '/' + f
349 return back + lfutil.standin(f)
349 return back + lfutil.standin(f)
350
351 pats.update(fixpats(f, tostandin) for f in p)
352 else:
350 else:
353 def tostandin(f):
351 def tostandin(f):
354 if lfutil.isstandin(f):
352 if lfutil.isstandin(f):
355 return f
353 return f
356 return lfutil.standin(f)
354 return lfutil.standin(f)
357 pats.update(fixpats(f, tostandin) for f in p)
355 pats.update(fixpats(f, tostandin) for f in p)
358
356
359 for i in range(0, len(m._files)):
357 for i in range(0, len(m._files)):
360 # Don't add '.hglf' to m.files, since that is already covered by '.'
358 # Don't add '.hglf' to m.files, since that is already covered by '.'
General Comments 0
You need to be logged in to leave comments. Login now