by
Changes to 3 files · Browse files at ef70809a429b Showing diff from parent 9c3a0494c6b0 5360a2741540 Diff from another changeset...
@@ -280,7 +280,7 @@ path = hglib.fromunicode(self.dest_edit.text())
path = remove_ext(path)
path = remove_rev(path)
- path = add_rev(path, text)
+ path = add_rev(path, hglib.fromunicode(text))
path = add_ext(path)
self.dest_edit.setText(path)
self.prevtarget = text
|
@@ -205,7 +205,8 @@ if self.bundle:
return _('%s <incoming>') % self.repo.shortname
elif self.branch:
- return '%s [%s]' % (self.repo.shortname, self.branch)
+ return u'%s [%s]' % (self.repo.shortname,
+ hglib.tounicode(self.branch))
else:
return self.repo.shortname
@@ -1207,7 +1208,7 @@ if not dir:
return
epath = os.path.join(hglib.fromunicode(dir),
- self.repo.shortname + '_%r.patch')
+ hglib.fromunicode(self.repo.shortname)+'_%r.patch')
cmdline = ['export', '--repository', self.repo.root, '--verbose',
'--output', epath]
for rev in revisions:
|
Loading...