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

commit: add much more fine print

Changeset 6ece904a6d49

Parent 013d6f32d0f4

by Steve Borho

Changes to one file · Browse files at 6ece904a6d49 Showing diff from parent 013d6f32d0f4 Diff from another changeset...

 
17
18
19
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
21
22
 
91
92
93
94
 
95
96
97
 
197
198
199
 
 
 
 
200
201
202
 
230
231
232
233
234
235
236
 
246
247
248
 
 
249
250
251
 
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
 
109
110
111
 
112
113
114
115
 
215
216
217
218
219
220
221
222
223
224
 
252
253
254
 
255
256
257
 
267
268
269
270
271
272
273
274
@@ -17,6 +17,24 @@
   from tortoisehg.hgqt import qtlib, status, cmdui   +# Technical Debt for CommitWidget +# qrefresh support +# threaded / wrapped commit (need a CmdRunner equivalent) +# qctlib decode failure dialog (ask for locale, suggest HGENCODING) +# auto-add unknown files +# auto-rem missing files +# add rollback function with prompt +# +1 / -1 head indication (not as important with workbench integration) +# hook up username from command line to username combo +# recent committers history +# pushafterci, autoincludes list +# use username and date options +# implement a branchop dialog (in another file) +# qnew/shelve-patch creation dialog (in another file) +# reflow / auto-wrap / message format checks / paste filenames +# spell check / tab completion +# in-memory patching / committing chunk selected files +  class CommitWidget(QWidget):   'A widget that encompasses a StatusWidget and commit extras'   loadBegin = pyqtSignal() @@ -91,7 +109,7 @@
  try:   text = hglib.fromunicode(text, 'strict')   except UnicodeEncodeError: - pass # TODO: Handle decoding errors + pass   return text     def msgSelected(self, index): @@ -197,6 +215,10 @@
  self.loaded = True   QComboBox.showPopup(self)   +# Technical Debt for standalone tool +# add a toolbar for refresh, undo, etc +# add a statusbar and simple progressbar +  class CommitDialog(QDialog):   'Standalone commit tool, a wrapper for CommitWidget'   def __init__(self, pats, opts, parent=None): @@ -230,7 +252,6 @@
  self.commit = commit     def errorMessage(self, msg): - # TODO - add a status bar   print msg     def keyPressEvent(self, event): @@ -246,6 +267,8 @@
  def accept(self):   if self.commit.commit():   self.reject() + else: + self.commit.stwidget.refreshWctx()     def reject(self):   if self.commit.canExit():