[pmwiki-users] Re: Subversion & existing installation
chr at home.se
chr at home.se
Thu Dec 1 15:36:53 CST 2005
On Thu, 1 Dec 2005, Patrick R. Michaud wrote:
> On Thu, Dec 01, 2005 at 12:08:29PM -0600, Jon Haupt wrote:
> > On 12/1/05, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> > > On Thu, Dec 01, 2005 at 09:49:13AM -0600, Jon Haupt wrote:
> > > > Q: I have an existing installation and I want to move over
> > > > to using SVN. What's the best way of getting that going?
> > >
> > > However, it appears you can do almost the same steps as for a normal
> > > upgrade. Here's what I just tried on my system ... but please be
> > > sure to have a backup copy of your site somewhere, first!
> > > ...
> > I tried this on two separate installations, one a standalone, and the
> > other a wikifarm, and both worked perfectly using the method described
> > above.
>
> Excellent! I've now added these instructions to the PmWiki.Subversion
> page on pmwiki.org.
Good thinking!
For those who are daring, this command could be useful:
find . -type d -name CVS -exec rm {} -rf \;
which finds all directories named CVS and removes them. Similarly:
find . -name .cvsignore -exec rm {} \;
Not sure if we should add it to the page though... might be dangerous :-)
However, there is a minor annoyance right now when it comes to checking
the status of the files. Since I have a few extra directories [*], I
modified svn:ignore to ignore these, but now I get the following annoying
status result:
svn status
M .
M local
I assume this is because svn:ignore is a versioned property... any clues
on how to get svn to not report '.' and 'local' as modified? (Adding '.'
to 'svn:ignore' doesn't strike me as a brilliant idea...:-)
/C
[*] The extra directories are there because it's a farm installation. As
for local/, that's because I added 'farmmap.txt'.
--
Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
More information about the pmwiki-users
mailing list