Re: [viewvc-users] Questions with 1.1.5
Ron Buchholz <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <[email protected]> |
Having sent repository files offline to C. Michael Pilato, and after a couple of exchanges, a work around was developed. I offer the following as a summary to aid others that may have this problem.
Recall the problem was "Full Diff" doesn't work with viewvc-1.1.5 on a Linux server with CVSNT. The previous version of viewvc used (1.0.0) did not have a "Full Diff" option so it did not have this problem.
*** Don't let caching get in the way during this debugging - Set http_expiration_time=0, generate_etags=0, and clear browser caches!
Notes:
1) When use_rcsparse=1, the diff is performed via python rcsparse module
2) When use_rcsparse=0 and cvsnt is defined, the diff takes the form of:
/usr/bin/cvsnt rcsfile rcsdiff --unified=-1 -p -kk -rx.x -rx.y \
/usr/local/cvs.../filename.c,v
Notice that cvsnt is used with rcsfile as on option and THEN a rcsdiff command. This chain is necessary to avoid a problem with rcsdiff being unable to process files with an underscore ("_") in their name:
http://www.cvsnt.org/pipermail/cvsnt/2006-December/027771.html
3) When use_rcsparse=0 and NO cvsnt is defined, rcsdiff is used.
All this being said, the only way I got a 'Full Diff' to work in my environment was by enabling the use_rcsparse option. And rcsparse works just fine.
Much thanks to C. Michael Pilato for his helpful, patient debugging expertise to come up with this workaround. It's appreciated.
Ron
------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2613747
To unsubscribe from this discussion, e-mail: [[email protected]].