Tags:
create new tag
, view all tags

Question

Hi,

Installation:

  • Cygwin 1.5.24-2
  • RCS 5.7

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

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: WinXP SP2
Web server: Apache 2.2.4
Perl version: ActiveState v5.8.7
Client OS: WinXP
Web Browser: IE 7
Categories: Version control, Search

-- JensKjelsbak - 30 May 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list 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

 
Change status to:
Topic revision: r3 - 2007-06-02 - CrawfordCurrie
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.