On 12/1/05, <b class="gmail_sendername">Patrick R. Michaud</b> <<a href="mailto:pmichaud@pobox.com">pmichaud@pobox.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thu, Dec 01, 2005 at 09:49:13AM -0600, Jon Haupt wrote:<br>> Q: I have an existing installation and I want to move over to using SVN.<br>> What's the best way of getting that going?<br>><br>> What would happen if I just did a checkout on top of the existing
<br>> installation? Would that work, or would it be confused, or would svn even<br>> let me do that?<br><br>I just tried it, and apparently svn won't let you checkout on top of<br>an existing installation. :-(
<br><br>However, it appears you can do almost the same steps as for a normal<br>upgrade. Here's what I just tried on my system ... but please be<br>sure to have a backup copy of your site somewhere, first!<br><br>First, checkout an svn copy of pmwiki into a directory called "latest/":
<br><br> $ svn checkout <a href="svn://pmwiki.org/pmwiki/tags/latest">svn://pmwiki.org/pmwiki/tags/latest</a><br><br>Next, recursively copy this directory and its permissions over the<br>existing pmwiki installation (note the '.'):
<br><br> $ cp -rp latest/. pmwiki<br><br>That should do it! You can then change into the pmwiki directory and<br>issue "svn info" to make sure everything is up to date, and your site<br>should still be running (albeit with the latest version). The
<br>"svn update" command will bring your installation up to the latest<br>release.<br><br>After you're comfortable that things are working in svn, you can remove<br>the "latest/" subdirectory listed above, and you can also remove the
<br>the various CVS-related files and directories from the pmwiki/ directory.<br>On my system, the things that would be removed from pmwiki/ are:<br><br> tests/<br> CVS/<br> .cvsignore<br> cookbook/CVS/
<br> pub/CVS/<br> pub/skins/pmwiki/CVS/<br> pub/skins/print/CVS/<br> pub/guiedit/CVS/<br> scripts/CVS/<br> local/CVS/<br> local/.cvsignore<br> wikilib.d/CVS/<br><br>Hope this helps, and *please* be sure to make a backup first, and
<br>if you try it, let us know how it works out!<br><br>Pm<br><br>_______________________________________________<br>pmwiki-users mailing list<br><a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>
<a href="http://host.pmichaud.com/mailman/listinfo/pmwiki-users">http://host.pmichaud.com/mailman/listinfo/pmwiki-users</a><br></blockquote></div><br>I
tried this on two separate installations, one a standalone, and the
other a wikifarm, and both worked perfectly using the method described
above. <br>
<br>
FYI, I wasn't using CVS before, just using the method described in
<a href="http://www.pmwiki.org/wiki/PmWiki/Upgrades">http://www.pmwiki.org/wiki/PmWiki/Upgrades</a>, so I didn't have anything
(beyond the /latest directory) to delete. <br>
<br>
Thanks very much,<br>
<br>
Jon<br clear="all"><br>-- <br>Jon Haupt<br>Fine & Performing Arts Librarian<br>Iowa State University<br>152 Parks Library<br>Ames, IA 50011<br>515-294-0904<br><a href="mailto:jhaupt@iastate.edu">jhaupt@iastate.edu</a>