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

hgthread: old ui.prompt() default cannot be given to new dialog

The old style prompt default was a character while the new style is an
integer. Passing the old style to the new dialog results in a traceback.

Changeset 1ca0d86560af

Parent 71ae758acce0

by Steve Borho

Changes to one file · Browse files at 1ca0d86560af Showing diff from parent 71ae758acce0 Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​hgthread.py Stacked
 
54
55
56
57
 
58
59
60
 
54
55
56
 
57
58
59
60
@@ -54,7 +54,7 @@
  if not self.interactive(): return default   try:   # send request to main thread, await response - self.dialogq.put( (msg, True, choices, default) ) + self.dialogq.put( (msg, True, choices, None) )   r = self.responseq.get(True)   if r is None:   raise EOFError