Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9.3, 2.0, and 2.0.1

stable chunks: remove added files after reverting them

Changeset c875c466b34e

Parent 28569a2965d3

by Steve Borho

Changes to one file · Browse files at c875c466b34e Showing diff from parent 28569a2965d3 Diff from another changeset...

 
306
307
308
 
309
 
 
310
311
312
 
306
307
308
309
310
311
312
313
314
315
@@ -306,7 +306,10 @@
  ctx.invalidate()   else:   repo.thgbackup(repo.wjoin(wfile)) + wasadded = wfile in repo[None].added()   commands.revert(repo.ui, repo, repo.wjoin(wfile)) + if wasadded: + os.unlink(repo.wjoin(wfile))   self.fileModified.emit()     def getChunksForFile(self, wfile):