Changeset 6492995b82ad…
Parent 146b0778a7a4…
by
Changes to 2 files · Browse files at 6492995b82ad Showing diff from parent 146b0778a7a4 Diff from another changeset...
@@ -469,11 +469,14 @@ unit = _('files')
total = len(ctx.manifest())
count = 0
- hasKbf = settings.hasExtension('kbfiles')
+ haskbf = settings.hasExtension('kbfiles')
+ haslf = settings.hasExtension('largefiles')
for wfile in ctx: # walk manifest
if self.canceled:
break
- if hasKbf and thgrepo.isKbf(wfile):
+ if haslf and thgrepo.isLfStandin(wfile):
+ continue
+ if (haslf or haskbf) and thgrepo.isBfStandin(wfile):
continue
self.progress.emit(topic, count, wfile, unit, total)
count += 1
|
@@ -695,5 +695,8 @@ else:
f.close()
-def hasKbf(path):
+def isBfStandin(path):
return _kbfregex.match(path)
+
+def isLfStandin(path):
+ return _lfregex.match(path)
|
Loading...