We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
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 - 02 Jun 2007 - 09:36:16 - CrawfordCurrie
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback