* viewcvs/lib/vclib/svn/__init__.py

(LogEntry.__init__, get_logs): Use string representations of
    Subversion revisions here (for consistency with CVS).


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@773 8cb11bc2-c004-0410-86c3-e597b4017df7
remotes/tags/1.0.0-rc1
cmpilato 2003-12-02 00:47:29 +00:00
parent ed885369ff
commit f95418732a
1 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ def date_from_rev(svnrepos, rev):
class LogEntry:
"Hold state for each revision's log entry."
def __init__(self, rev, date, author, msg, filename, copy_path, copy_rev):
self.rev = rev
self.rev = str(rev)
self.date = date
self.author = author
self.state = '' # should we populate this?
@ -216,7 +216,7 @@ def get_logs(svnrepos, full_name, files):
rev = _get_last_history_rev(svnrepos, path, subpool)
datestr, author, msg = _fs_rev_props(svnrepos.fs_ptr, rev, subpool)
date = _datestr_to_date(datestr, subpool)
file.rev = rev
file.rev = str(rev)
file.date = date
file.author = author
file.log = msg