<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.orcaware.com/svn/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=BomonRacsi</id>
	<title>SubversionWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.orcaware.com/svn/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=BomonRacsi"/>
	<link rel="alternate" type="text/html" href="https://www.orcaware.com/svn/wiki/Special:Contributions/BomonRacsi"/>
	<updated>2026-04-08T10:39:36Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://www.orcaware.com/svn/mediawiki/index.php?title=Repository_Upgrade&amp;diff=1662</id>
		<title>Repository Upgrade</title>
		<link rel="alternate" type="text/html" href="https://www.orcaware.com/svn/mediawiki/index.php?title=Repository_Upgrade&amp;diff=1662"/>
		<updated>2007-12-31T19:54:57Z</updated>

		<summary type="html">&lt;p&gt;BomonRacsi: zeldarerrel&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;racvicobo&lt;br /&gt;
I have used the following batch files to upgrade over 800 repositories this morning.&amp;lt;br&amp;gt;&lt;br /&gt;
And then someone gave me another challenge.  Spaces....&amp;lt;br&amp;gt;&lt;br /&gt;
Here&#039;s the updated script.  Note it uses commands added in WindowsXP PushD and PopD as well as some of the formatting options used to navigate repositories&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
-- Upgrade.bat -----------------------------------------&amp;lt;br&amp;gt;&lt;br /&gt;
 @echo off&lt;br /&gt;
 IF NOT %3==&amp;quot;&amp;quot; goto DoIt&lt;br /&gt;
 &lt;br /&gt;
 cls&lt;br /&gt;
 echo Upgrade existing Subversion repositories&lt;br /&gt;
 echo .&lt;br /&gt;
 echo Command line syntax:&lt;br /&gt;
 echo Upgrade Source_Directory Working_Directory Target_Directory&lt;br /&gt;
 echo .&lt;br /&gt;
 echo Source Directory - Where the repositories exist now&lt;br /&gt;
 echo Working Directory - Where the dump files should be placed&lt;br /&gt;
 echo Target Directory - Where the newly formatted files will be placed&lt;br /&gt;
 echo .&lt;br /&gt;
 echo NOTE: The upgrade_repos.bat file is, by default, using the default &lt;br /&gt;
 echo       arguments for svnadmin create.&lt;br /&gt;
 echo       If you want to use anything else, change the file before running.&lt;br /&gt;
 goto exit&lt;br /&gt;
 &lt;br /&gt;
 :DoIt&lt;br /&gt;
 pushd &amp;quot;%1&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 ::call the actual upgrade batch file&lt;br /&gt;
 for /D %%I in (*.) do call D:\Scripts\upgrade_repos.bat &amp;quot;%%~nI&amp;quot; %1 %2 %3&lt;br /&gt;
 &lt;br /&gt;
 ::copy the master files - Files in the SVNParent&lt;br /&gt;
 xcopy &amp;quot;%1\*.*&amp;quot; &amp;quot;%3\&amp;quot; /y&lt;br /&gt;
 &lt;br /&gt;
 popd&lt;br /&gt;
 &lt;br /&gt;
 :Exit&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
-- Upgrade_Repos.bat -----------------------------------&amp;lt;br&amp;gt;&lt;br /&gt;
 echo Migrating %1&lt;br /&gt;
 echo ...Creating Repository&lt;br /&gt;
 echo %~4\%~1&lt;br /&gt;
 svnadmin create &amp;quot;%~4\%~1&amp;quot;&lt;br /&gt;
 echo ...Dumping&lt;br /&gt;
 svnadmin dump -q &amp;quot;%~2\%~1&amp;quot; &amp;gt; &amp;quot;%~3\%~1.dmp&amp;quot;&lt;br /&gt;
 echo ...Loading&lt;br /&gt;
 svnadmin load -q &amp;quot;%~4\%~1&amp;quot; &amp;lt; &amp;quot;%~3\%1.dmp&amp;quot;&lt;br /&gt;
 echo ...Copying hooks&lt;br /&gt;
 xcopy &amp;quot;%~2\%~1\hooks\*.*&amp;quot; &amp;quot;%~4\%~1\hooks&amp;quot; /y /d&lt;br /&gt;
 echo *******************************************************************&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>BomonRacsi</name></author>
	</entry>
</feed>