by
Changes to 4 files · Browse files at 0bc643af1506 Showing diff from parent 2838824579ff baef1403961b Diff from another changeset...
@@ -27,7 +27,11 @@
def get_title(self):
title = toutf(os.path.basename(self.repo.root)) + ' changeset '
- title += self.opts['rev'][0]
+ rev = self.opts['rev']
+ if isinstance(rev, str):
+ title += rev
+ else:
+ title += rev[0]
return title
def get_icon(self):
@@ -206,7 +210,7 @@ except LookupError:
fctx = None
if fctx and fctx.size() > getmaxdiffsize(self.ui):
- lines = ['diff',
+ lines = ['diff', '', '',
_(' %s is larger than the specified max diff size') % wfile]
else:
lines = []
|
|
|
Loading...