See
TWiki:Codev.SubversionBasedTWikiInstalls.
Encouraging people to run the SVN version means better testing and easier updates.
However, some updates are not appropriate for a live site. e.g. updates to
Main,
TWikiPreferences, etc.
The script
pseudo-svnup.pl
runs
svn up
on all files except those listed in SVN_UP_PRESERVE
It works by
- getting a list of all updates from 'svn up -u' (That command shows what would change, but does not change the filespace)
- removing from the list anything listed in the file SVN_UP_PRESERVE
- performing svn up on the other files.
For background see
http://twiki.org/cgi-bin/view/Codev/IgnoringSvnCommits
Committed revision 7657.
MC
My
SVN_UP_PRESERVE
file looks like:
templates/view.pattern.tmpl
lib/TWiki/Render.pm
data/.htpasswd
data/Main
data/TWiki/WebLeftBar.txt
data/TWiki/WebTopicCreator.txt
data/TWiki/WebTopicViewTemplate.txt
data/Sandbox/WebPreferences.txt
data/TestCases/WebPreferences.txt
i.e. I changed these files and I don't care if others altered them, I want to keep my versions.
I ignore the whole of
data/Main
. I don't care if anyone ever adds data/.htpasswd
MC