Re: Tool for upgrading many svn repos with dump/load?

2015-07-20 Thread Les Mikesell
On Sat, Jul 11, 2015 at 8:23 AM, Thorsten Schöning
tschoen...@am-soft.de wrote:
 Guten Tag Andrew Reedick,
 am Freitag, 10. Juli 2015 um 19:26 schrieben Sie:

 Since you're moving from windows to Ubuntu

 I've already moved to Ubuntu some years ago. ;-)

 As for merging the configurations, short of creating a temp repo in
 which you check in the default repo's auth/conf/hook files into
 trunk, and then checking in your live repo auth/conf/hook scripts
 into a branch off of trunk, then merging the branch into the trunk
 to effectively merge the files and then copying the merged files to
 the new repos, I don't know of anything.  =(

 That really sounds a bit complicated and though I thought of using
 some diff tool myself, I gues the easiest is to just copy the
 configured lines I know I did change in my repos, which are are most
 likely just those not commented. Treating the configuration as
 key/value file and just copy some special keys may be enough for my
 case...


I've always liked 'meld' as a visual merge tool.  If you can get a
copy of your old, edited file on the same system (running an X
desktop) as the updated and possibly slightly different  copy it is
fairly easy to identify and copy over your changes and make any other
needed additional edits.

-- 
   Les Mikesell
lesmikes...@gmail.com


Re: Tool for upgrading many svn repos with dump/load?

2015-07-11 Thread Thorsten Schöning
Guten Tag Andrew Reedick,
am Freitag, 10. Juli 2015 um 19:26 schrieben Sie:

 Since you're moving from windows to Ubuntu

I've already moved to Ubuntu some years ago. ;-)

 As for merging the configurations, short of creating a temp repo in
 which you check in the default repo's auth/conf/hook files into
 trunk, and then checking in your live repo auth/conf/hook scripts
 into a branch off of trunk, then merging the branch into the trunk
 to effectively merge the files and then copying the merged files to
 the new repos, I don't know of anything.  =(

That really sounds a bit complicated and though I thought of using
some diff tool myself, I gues the easiest is to just copy the
configured lines I know I did change in my repos, which are are most
likely just those not commented. Treating the configuration as
key/value file and just copy some special keys may be enough for my
case...

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning   E-Mail: thorsten.schoen...@am-soft.de
AM-SoFT IT-Systeme  http://www.AM-SoFT.de/

Telefon...05151-  9468- 55
Fax...05151-  9468- 88
Mobil..0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow



RE: Tool for upgrading many svn repos with dump/load?

2015-07-10 Thread Andrew Reedick
Since you're moving from windows to Ubuntu, you can run the dump/load process 
over ssh to avoid having to deal with bloated dump files:  
http://martin.ankerl.com/2006/01/24/svnadmin-dump-and-load-over-ssh/  (You can 
use mobaxterm (http://mobaxterm.mobatek.net/ ) on Windows, which is a Cygwin 
bash shell in a self contained exe.  Very, very  convenient.)

You can also use ssh to create the empty repos remotely.

As for merging the configurations, short of creating a temp repo in which you 
check in the default repo's auth/conf/hook files into trunk, and then checking 
in your live repo auth/conf/hook scripts into a branch off of trunk, then 
merging the branch into the trunk to effectively merge the files and then 
copying the merged files to the new repos, I don't know of anything.  =(



-Original Message-
From: Thorsten Schöning [mailto:tschoen...@am-soft.de] 
Sent: Friday, July 10, 2015 3:53 AM
To: users@subversion.apache.org
Subject: Tool for upgrading many svn repos with dump/load?

Hi all,

are you aware of any tool that is able to upgrade many SVN repos by creating a 
new empty default repo, dump a corresponding old repo, load that dump into the 
new one AND is able to MERGE the configuration? I have some dozen repos hosted 
by svnserve with independent realms, users, authz rules and such. This 
configuration could be just copied, but I would prefer merged default configs 
for documentation purpose and such.

I've created something similar in the past using Powershell, but without the 
merge stuff and it just don't work on our now used Ubuntu servers. Before I 
roll my own new script, I wanted to make sure that I don't miss anything 
because I didn't found something mentioned on the net.

Thanks!

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning   E-Mail: thorsten.schoen...@am-soft.de
AM-SoFT IT-Systeme  http://www.AM-SoFT.de/

Telefon...05151-  9468- 55
Fax...05151-  9468- 88
Mobil..0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln AG Hannover HRB 
207 694 - Geschäftsführer: Andreas Muchow