Question
Hi,
Installation:
Problem:
- RCS is failing due to wrong filename passed from TWiki
From Apache error log:
c:/cygwin/bin/rcs "-i" "-t-none" "-ko" "c:\\apache\\htdocs\\twiki\\data\\Main\\TestJens.txt" failed
Same problem applies for fgrep and egrep.
When I'm running the rcs command from a shell with the filename /twiki/data/Main/TestJens.txt
RCS sounds to be happy.
RCSLite is working
Where and how to make the modification to %FILENAME ?
Very best regards,
Jens
Environment
--
JensKjelsbak - 30 May 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
I also had the Windows backslashes in the pathnames and
RCS was failing. After trying for some time to get
ActiveState Perl to work, I gave up after running into this problem with
RCS. I then just switched back to cygwin perl which does not have this problem. I think the file to modify though is lib/TWiki/Store/RcsWrap.pm or
RcsFile.pm. I had to put some debug into the Wrap file to see the backslashes in the first place. I hope this helps!
--
JeffDickson - 31 May 2007
Personally I always either use cygwin perl with cygwin
RCS, or RcsLite with ActiveState perl. Mixing them just causes the sort of grief you describe.
--
CrawfordCurrie - 02 Jun 2007