Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0.4, 2.0.5, and 2.1

stable repowidget: repo.shortname returns unicode (fixes #512)

Changeset 6b8b8cc68d4f

Parent c2886a8151ab

by Steve Borho

Changes to one file · Browse files at 6b8b8cc68d4f Showing diff from parent c2886a8151ab Diff from another changeset...

 
200
201
202
203
 
 
204
205
206
 
1199
1200
1201
1202
 
1203
1204
1205
 
200
201
202
 
203
204
205
206
207
 
1200
1201
1202
 
1203
1204
1205
1206
@@ -200,7 +200,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   @@ -1199,7 +1200,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: