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

fogcreek quickop: add support for removing bfiles

Changeset 06108bf9964b

Parent fae4a3d87bc6

by David Golub

Changes to one file · Browse files at 06108bf9964b Showing diff from parent fae4a3d87bc6 Diff from another changeset...

 
136
137
138
139
 
 
 
 
140
141
 
142
143
144
 
136
137
138
 
139
140
141
142
143
 
144
145
146
147
@@ -136,9 +136,12 @@
  parent=self)   return   if self.command == 'remove': - wctx = self.repo[None] + self.repo.bfstatus = True + repostate = self.repo.status() + self.repo.bfstatus = False + unknown, ignored = repostate[4:6]   for wfile in files: - if wfile not in wctx: + if wfile in unknown or wfile in ignored:   try:   util.unlink(wfile)   except EnvironmentError: