branch : pmacs2
This commit is contained in:
moculus 2008-04-16 05:29:28 +00:00
parent 5f4190b69b
commit 488d808e22
1 changed files with 1 additions and 2 deletions

View File

@ -81,8 +81,7 @@ class SvnStatus(Method):
class SvnLog(Method):
'''display the SVN log for the current file'''
sep_re = re.compile('^-+$')
# 2007-10-15 14:32:29 -0400 (Mon, 15 Oct 2007)
log_re = re.compile('(.+?) \| (.+?) \| (.{25}) .+? \| (.+)$')
log_re = re.compile('^(.+?) \| (.+?) \| (.{25}) .+? \| (.+)$')
def _build_entry(self, log_line, mesg_lines):
log_data = '[c:d:*]%s [g:d:*]%s [b:d:*]%s [c:d:*]%s' % log_line
mesg_data = '\n'.join(mesg_lines).strip()