Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.4rc1, 0.4rc2, and 0.4rc3

hggtk/synch: use question dialog when prompting for --clean

Changeset 7b4a50b6ee40

Parent e2244d8d10d0

by Steve Borho

Changes to one file · Browse files at 7b4a50b6ee40 Showing diff from parent e2244d8d10d0 Diff from another changeset...

Change 1 of 2 Show Entire File hggtk/​synch.py Stacked
 
18
19
20
21
 
22
23
24
 
239
240
241
242
 
243
244
245
 
18
19
20
 
21
22
23
24
 
239
240
241
 
242
243
244
245
@@ -18,7 +18,7 @@
 import os  import threading  from mercurial import hg, ui, util -from dialog import error_dialog, warning_dialog +from dialog import error_dialog, question_dialog  from hglib import HgThread  from shlib import set_tortoise_icon  import gtklib @@ -239,7 +239,7 @@
  flags = ['--clean']   msg = 'Lose all changes in your working directory?'   warning += ', requires clean checkout' - if warning_dialog(msg, warning) != gtk.RESPONSE_OK: + if question_dialog(msg, warning) != gtk.RESPONSE_YES:   return   self.write("", False)