Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

update: enable '-C/--clean' option

Changeset b50e32119b16

Parent c84e24f95c20

by Yuki KODAMA

Changes to one file · Browse files at b50e32119b16 Showing diff from parent c84e24f95c20 Diff from another changeset...

 
20
21
22
23
 
24
25
26
 
98
99
100
 
 
101
102
103
 
186
187
188
189
 
 
20
21
22
 
23
24
25
26
 
98
99
100
101
102
103
104
105
 
188
189
190
 
191
@@ -20,7 +20,7 @@
   class UpdateDialog(QDialog):   - def __init__(self, rev=None, repo=None, parent=None): + def __init__(self, rev=None, repo=None, parent=None, opts=None):   super(UpdateDialog, self).__init__(parent, Qt.WindowTitleHint or   Qt.WindowSystemMenuHint)   @@ -98,6 +98,8 @@
  optbox.addWidget(self.merge_chk)   optbox.addWidget(self.showlog_chk)   + self.discard_chk.setChecked(bool(opts.get('clean', False))) +   ## command widget   self.cmd = cmdui.Widget()   self.cmd.commandStarted.connect(self.command_started) @@ -186,4 +188,4 @@
  rev = opts.get('rev')   elif len(pats) == 1:   rev = [pats[0]] - return UpdateDialog(rev) + return UpdateDialog(rev, opts=opts)