Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

stable changeset: remove duplicate file overwrite confirmation

Changeset 056886063a0b

Parent b373e0db0c4c

by Emmanuel Rosa

Changes to one file · Browse files at 056886063a0b Showing diff from parent b373e0db0c4c Diff from another changeset...

 
741
742
743
744
745
746
747
748
749
750
751
752
753
754
 
741
742
743
 
 
 
 
 
 
 
 
744
745
746
@@ -741,14 +741,6 @@
  initial=self.cwd,   filename=filename).run()   if result: - if os.path.exists(result): - res = gdialog.Confirm(_('Confirm Overwrite'), [], self, - _('The file "%s" already exists!\n\n' - 'Do you want to overwrite it?') % result).run() - if res != gtk.RESPONSE_YES: - return - os.remove(result) -   q = Queue.Queue()   hglib.hgcmd_toq(q, 'cat', '--rev',   str(self.currev), '--output', hglib.fromutf(result), self.curfile)