Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in tip

fogcreek grep: don't display standins for largefiles

Changeset 6492995b82ad

Parent 146b0778a7a4

by David Golub

Changes to 2 files · Browse files at 6492995b82ad Showing diff from parent 146b0778a7a4 Diff from another changeset...

 
469
470
471
472
 
 
473
474
475
476
 
 
 
477
478
479
 
469
470
471
 
472
473
474
475
476
 
477
478
479
480
481
482
@@ -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
696
697
698
 
699
 
 
 
 
695
696
697
 
698
699
700
701
702
@@ -695,5 +695,8 @@
  else:   f.close()   -def hasKbf(path): +def isBfStandin(path):   return _kbfregex.match(path) + +def isLfStandin(path): + return _lfregex.match(path)