# HG changeset patch
# User Sune Foldager <[email protected]>
# Date 1253097288 -7200
# Node ID f8aa608009ca107739ae627e6845953838e384bb
# Parent dc45de6f86d8b9ac7f266dc962ca82bb9a367225
history: show filename in title bar for file history
diff --git a/tortoisehg/hgtk/history.py b/tortoisehg/hgtk/history.py
--- a/tortoisehg/hgtk/history.py
+++ b/tortoisehg/hgtk/history.py
@@ -429,14 +429,15 @@
self.graphview.refresh(self.graphcol, branch, opts)
ftitle(_('%s branch') % branch)
elif self.filter == 'custom':
- ftitle(_('custom filter'))
npats = hglib.normpats(pats)
if len(npats) == 1:
kind, name = match._patsplit(npats[0], None)
if kind == 'path' and not os.path.isdir(name):
+ ftitle(_('file history: ') + name)
opts['filehist'] = name
self.graphview.refresh(self.graphcol, [name], opts)
if not opts.get('filehist'):
+ ftitle(_('custom filter'))
self.graphview.refresh(False, npats, opts)
elif self.filter == 'all':
ftitle(None)
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop