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
--
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