Tags:
create new tag
view all tags

Question

I have Twiki working fine on Windows2000 and Oreilly web server. I am trying to implement RCS. I am able to initialize RCS with twiki files. If I make any modification to Twiki files, it is not inserting as the new revision in the RCS. What may be the reason for this? Am I missing any steps?

  • TWiki version:TWiki20001201
  • Web server:OreillyWebsitePro
  • Server OS:Windows2000

-- SavithaVenkateshaiah - 31 Aug 2001

Answer

Have you checked RCSUnderWindowsWontCheckIn?

-- HansDonner - 01 Sep 2001

HansDonner,

I am new to Perl and RCS. I tried all most all options explained in RCSUnderWindowsWontCheckIn. It didn't work for me.

1) I changed #$envPath="", it didn't work. I changed it again as, #$envPath = "C:/RCS/bin/win32;C:\perl\bin;C:\cygwin\bin"; Even then it didn't work. (I do not have Twiki.cfg file in any of my twiki directory. I am assuming that Twiki.cfg in the new release is the same file as wiki.cfg file in dec2000 version)

2) Manually once I checked in all the files to RCS. It is showing the revision as 1.1. If I execute the rlog command from the prompt it is displaying that the author=SYSTEM, state=Exp and in the last line it is showing as 'Initial revision'. So I think, the username it is using is SYSTEM and the file is checked in to the RCS.

3) I have one basic question. Whenever we change content of the page, it will be inserted as the new version in RCS. Am I right? Why I have this question is, in the Testweb of Twiki.org site, if we edit any pages, the revision number is not changed. Is this programmed like that or whatever I have understood about RCS is wrong? Please let me know.

4) I have Dec 2000 Twiki version. Are you sure that Dec 2000 will not work for window2000 platform? Also where can I get the new version of Twiki (beta is also fine)?

Thanks. Savi

-- TommyBender - 27 Oct 2001

Howdy TWiki RCS Gurus,

I've been at this for a few days and I cannot seem to get RCS to work correctly. I have read every single topic relating to Windows and RCS and believe I have tried every suggestion.

Here is the error message I continue to receive ...


During save of file NDA.InitialBusinessPlanForTomAndPaulsNDA an error was found by the version control system. Please notify your TWiki administrator.

Failed to create history file d:/inetpub/goldhill/twiki/pub/NDA/InitialBusinessPlanForTomAndPaulsNDA/TP_NDA.doc,v

Go back in your browser and save your changes locally.


Here are some configuration specifics:

  • Windows 2000
  • Microsoft IIS 5.x
  • RCS 5.7
  • ActivePerl 5.6.1.629
  • Cygwin (lastest stable release of each package sans Perl)

Because the environment belongs to my ISP, the IIS server is running as IUSR_GBC-WEB, per Microsoft's default suggestion. I have no control over this. What I did was set the ownership of all files to be IUSR_GBC-WEB. I'm hoping this takes care of all files needing to be owned by "nobody".

I have opened up permissions to full control for Everyone until I resolve this issue, then I will crank back down on permissions.

I have modified the names of the ls, fgrep and egrep commands to include .exe ($dotEXE) per a recommendation I read on twiki.org. This prevents the check for file existence from failing. According to the testenv.pl, this seems to be working correctly.

It do not have an implementation of getpwuid(), so I have replaced these lines to set $usr = "" and $grp = "". I read that CYGWIN Perl will enable testenv.pl to resolve this, but I think ActivePerl is the way to go according to all of the documentation I have read.

In the running environment, all of the RCS variables resolve accordingley.

  • RCSINIT = -x,v
  • TZ = EST8EDT
  • TEMP = c:/winnt/temp which has read/write permissions for IUSR_GBC-WEB
  • USER = IUSR_GBC-WEB (should I reset this somewhere?)

I have deleted all of the RCS history files from all files. The documentation indicates these will be re-created the first time they are edited. When I edit other areas, the change is accepted, but there is no revision control.

Here is my TWiki.cfg as a text file on my website.

Thank you very much for any guidance.

-- Tom Bender

-- SavithaVenkateshaiah - 29 Oct 2001

In the twiki.cfg file try adding your file type in the following env variable.

Original:
$attachAsciiPath = "\.(txt|html|xml|pl)\$";
Changed:
$attachAsciiPath = "\.(txt|html|xml|pl|gif|doc|htm|html)\$";

-- TommyBender - 29 Oct 2001

While my TWiki web now allows you to attach and upload *.doc files, I always thought this attachAsciiPath was to identify ASCII formatted files. Should I put the extension of any file I'd like to upload to TWiki in the attachAsciiPath string?

Unfortunately, the *.doc,v file is not being created by RCS at this time, so the issue still remains. At least I'm able to upload files though!

Thank you,

-- SavithaVenkateshaiah - 05 Nov 2001

Whatever file types I specify in the $attachAsciiPath environment variable, it is allowing me to upload and attach those files. Even I do not know why it is not creating ,v file. I am also in the process of configuring RCS. If you are able to create ,v file, please let me know the procedure.

Thanks

Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2001-11-05 - SavithaVenkateshaiah
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.