* viewcvs/lib/vclib/ccvs/rcsparse/common.py
(_Parser.parse_rcs_tree): Support author which contain spaces. It's a Windows CVS thing ... *shrug*. git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@812 8cb11bc2-c004-0410-86c3-e597b4017df7remotes/tags/1.0.0-rc1
parent
8a8a587963
commit
1bfa20c8be
|
@ -155,11 +155,14 @@ class _Parser:
|
|||
timestamp = compat.timegm(tuple(date_fields))
|
||||
|
||||
# Parse author
|
||||
semi, author, sym = self.ts.mget(3)
|
||||
if sym != 'author':
|
||||
raise RCSExpected(sym, 'author')
|
||||
if semi != ';':
|
||||
raise RCSExpected(semi, ';')
|
||||
self.ts.match('author')
|
||||
author = ''
|
||||
while 1:
|
||||
token = self.ts.get()
|
||||
if token == ';':
|
||||
break
|
||||
author = author + token + ' '
|
||||
author = author[:-1] # toss the trailing space
|
||||
|
||||
# Parse state
|
||||
self.ts.match('state')
|
||||
|
|
Loading…
Reference in New Issue