Tags:
create new tag
view all tags

Question

I am following the Windows Cookbook and have reached step 7-Relocking RCS files.

I complete the following steps successfully:

 cd /twiki/data

$ : Make a backup of all files
$ tar czvf all-files.tar.gz */*

But this next perl command fails because of a file-not-found error:

$ : Test edit a single file to check your typing
$ perl -pi~~~ -e 'NR <= 10 && s/nobody:/system:/ ' Main/WebIndex.txt,v

The .txt files in the Main directory are not followed by a ,v. Did I miss some critical installation step? I am a newbie, so I hope this isn't too stupid of a problem! Thanks in advance for any help

Environment

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Win XP
Web server: Apache 2.0.49
Perl version: 5.6.1
Client OS: Win XP
Web Browser: IE 6.x

-- TimBjokne - 17 Jun 2004

Answer

If you have no files in the data/Main/ which end in .txt,v then you don't need to relock, as there is nothing there to relock. The ,v files are where the revision history for each topic is stored. For a new install, for a lot of people, it doesn't matter if the history prior to your deployment exists. The ,v files will automatically be created on the next topic edit if they don't exist (and the revision number starts over again at r1.1).

-- MattWilkie - 17 Jun 2004

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2004-06-17 - MattWilkie
 
  • 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.