Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.7.1, 0.7.2, and 0.7.3

history: export should prompt for overwrites and re-create files

Changeset 31046bd49a17

Parent 740ec4c627d1

by Peter Ruibal

Changes to 2 files · Browse files at 31046bd49a17 Showing diff from parent 740ec4c627d1 Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​gdialog.py Stacked
 
522
523
524
 
525
526
527
 
522
523
524
525
526
527
528
@@ -522,6 +522,7 @@
  , gtk.RESPONSE_CANCEL   , gtk.STOCK_SAVE   , gtk.RESPONSE_OK)) + file_save.set_do_overwrite_confirmation(True)   file_save.set_default_response(gtk.RESPONSE_OK)   file_save.set_current_folder(self.InitialDir)   file_save.set_current_name(self.FileName)
Change 1 of 1 Show Entire File hggtk/​history.py Stacked
 
512
513
514
 
 
 
515
516
517
 
512
513
514
515
516
517
518
519
520
@@ -512,6 +512,9 @@
  result = fd.run()     if result: + if os.path.exists(result): + os.remove(result) +   # In case new export args are added in the future, merge the   # hg defaults   exportOpts= self.merge_opts(commands.table['^export'][1], ())