Sun, 18 Apr 2010 10:47:24 +0000
Some more finetuning of the log browser dialog.
--- a/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py Sat Apr 17 17:52:45 2010 +0000 +++ b/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py Sun Apr 18 10:47:24 2010 +0000 @@ -299,13 +299,16 @@ msg.append(line.strip()) rev, node = revision.split(":") + msgtxt = msg[0] + if len(msgtxt) > 30: + msgtxt = "{0}...".format(msgtxt[:30]) itm = QTreeWidgetItem(self.logTree, [ "", branches[0], "{0:>7}:{1}".format(rev, node), author, date, - " ".join(msg[:1]), + msgtxt, ", ".join(tags), ]) @@ -391,7 +394,7 @@ args.append('--follow') args.append('--template') args.append("change|{rev}:{node|short}\n" - "user|{email}\n" + "user|{author|email}\n" "parents|{parents}\n" "date|{date|isodate}\n" "description|{desc}\n"
--- a/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.ui Sat Apr 17 17:52:45 2010 +0000 +++ b/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.ui Sun Apr 18 10:47:24 2010 +0000 @@ -6,7 +6,7 @@ <rect> <x>0</x> <y>0</y> - <width>700</width> + <width>800</width> <height>800</height> </rect> </property>