Changeset 30b2b0896654…
Parent 74383c40fa36…
by
Changes to one file · Browse files at 30b2b0896654 Showing diff from parent 74383c40fa36 Diff from another changeset...
@@ -46,7 +46,9 @@
def resetList(self):
self.clear()
- ucur = hglib.tounicode(self.curvalue or '')
+ ucur = self.curvalue # None is valid value for <unspecified>
+ if ucur:
+ ucur = hglib.tounicode(ucur)
if self.opts.get('defer') and not self.loaded:
if self.curvalue == None: # unspecified
self.addItem(_unspecstr)
|
Loading...