Ticket #150 (new defect)
cvs (via cvsps) fails to parse INITIAL as revision
| Reported by: | shadow | Owned by: | lele |
|---|---|---|---|
| Priority: | major | Milestone: | VersionOne |
| Component: | cvsps | Version: | 0.9 |
| Keywords: | Cc: |
Description (last modified by lele) (diff)
File "/opt/local/lib/python2.4/site-packages/vcpx/repository/cvsps.py",
line 257, in _getUpstreamChangesets
for cs in changesets_from_cvsps(log, sincerev):
File "/opt/local/lib/python2.4/site-packages/vcpx/repository/cvsps.py",
line 191, in changesets_from_cvsps
if compare_cvs_revs(e.old_revision, fromrev)>0:
File "/opt/local/lib/python2.4/site-packages/vcpx/repository/cvs.py",
line 53, in compare_cvs_revs
r1 = normalize_cvs_rev(revstr1)
File "/opt/local/lib/python2.4/site-packages/vcpx/repository/cvs.py",
line 39, in normalize_cvs_rev
r = [int(n) for n in rev.split('.')]
ValueError: invalid literal for int(): INITIAL
looks like fromrev is INITIAL and that just gets passed to the cvs rev comparison, which isn't going to work.
What *should* happen?
Attachments
Change History
Changed 5 years ago by shadow
-
attachment
openafs.tailor
added
Note: See
TracTickets for help on using
tickets.

tailor file for openafs project