Fix crash in repo info when % is used in commit messages

Fix for issue #131
http://code.google.com/p/git-repo/issues/detail?id=131

Change-Id: I078533ab5f3a83154c4ad6aa97a5525fc5139d20
This commit is contained in:
Olof Johansson 2013-02-18 13:18:16 +01:00 committed by David Pursehouse
parent b75415075c
commit 75b4c2deac

View File

@ -48,7 +48,7 @@ class Info(PagedCommand):
self.headtext = self.out.printer('headtext', fg = 'yellow') self.headtext = self.out.printer('headtext', fg = 'yellow')
self.redtext = self.out.printer('redtext', fg = 'red') self.redtext = self.out.printer('redtext', fg = 'red')
self.sha = self.out.printer("sha", fg = 'yellow') self.sha = self.out.printer("sha", fg = 'yellow')
self.text = self.out.printer('text') self.text = self.out.nofmt_printer('text')
self.dimtext = self.out.printer('dimtext', attr = 'dim') self.dimtext = self.out.printer('dimtext', attr = 'dim')
self.opt = opt self.opt = opt