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

fogcreek purge: don't delete bfiles

Changeset 0b7dc645d0d4

Parent 93c7082adfe1

by David Golub

Changes to one file · Browse files at 0b7dc645d0d4 Showing diff from parent 93c7082adfe1 Diff from another changeset...

 
89
90
91
92
93
 
 
 
94
95
96
97
98
99
 
100
101
102
 
205
206
207
 
208
209
 
210
211
212
 
89
90
91
 
 
92
93
94
95
96
97
98
99
 
100
101
102
103
 
206
207
208
209
210
211
212
213
214
215
@@ -89,14 +89,15 @@
    def run(self):   try: - wctx = repo[None] - wctx.status(ignored=True, unknown=True) + repo.bfstatus = True + stat = repo.status(ignored=True, unknown=True) + repo.bfstatus = False   trashcan = repo.join('Trashcan')   if os.path.isdir(trashcan):   trash = os.listdir(trashcan)   else:   trash = [] - self.files = wctx.unknown(), wctx.ignored(), trash + self.files = stat[4], stat[5], trash   except Exception, e:   self.error = str(e)   @@ -205,8 +206,10 @@
  self.showMessage.emit('')   match = hglib.matchall(repo)   match.dir = directories.append + repo.bfstatus = True   status = repo.status(match=match, ignored=opts['ignored'],   unknown=opts['unknown'], clean=False) + repo.bfstatus = False   files = status[4] + status[5]     def remove(remove_func, name):