Question
I thought I got my Twiki working after the initial problems with
RCS ending in errors. However, something else seems to be happening now: when editing a page for the 1st time, the version is incremented to 1.1 correctly. But any further edit (each time releasing the lock) will save the contents but doesn't increment the version number again. I checked all permission, configuration file,
RCS binaries etc. I even scratched my twiki and started a fresh one but no luck.
Any ideas?
Environment
--
PatrickVanDerVeken - 30 Jul 2003
Answer
My apologies for not noticing the
RevisionRevertsTo1 thread by
SueBlake . I think we have similar problems. I have done some more testing and something really strange is happening. When I put
UseRcsDir = 1 and move all ,v files into the
RCS subdirectory, the
RCS version gets correctly incremented
but NOT displayed by twiki. The version on display remains 1.1. If I then switch back the settings (
UseRcsDir = 0), move all files back into the web directory and re-edit the page, then the version just correctly updated again and this time also displayed. However, again only for the first time. Any consequent edits leaves the version unchanged, both on display and in the
RCS file. What is going on?
--
PatrickVanDerVeken - 30 Jul 2003
What you see is spec. The revision does not get increased if the same person edit a topic within one hour (or the time set in TWiki.cfg), even if the edit lock is removed. This is to avoid unnecessary revisions.
Do not change the
$useRcsDir flag unless you really need it; and it is not to meant to be switched in a running installation. If you do not have special needs (like 1000s of topics in a web) I suggest to use the default setting, e.g. have all
RCS files in the web directory itself with
$useRcsDir = 0.
--
PeterThoeny - 31 Jul 2003
Just confirming what Peter said: it is correct :). Thank you!
--
PatrickVanDerVeken - 31 Jul 2003