[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Can I copy a repo with a simple 'cp -r'?

From: Hari Kodungallur <hkodungallur_at_gmail.com>
Date: 2005-09-29 20:36:38 CEST

On 9/29/05, Matt England <mengland@mengland.net> wrote:
> I want to copy (and not move) an existing repo to another directory on a
> Linux system so I can execute some test procedures on this "test" copy
> without disturbing the original, production one.
> Can I do this with a simple 'cp -r'? Does it depend if any other
> transactions are currently executing at the time of the recursive
> copy...and/or anything else? Or do I need to execute a dump/load procedure?
> This assumes that I'm using a consistent Subversion software (client and
> server) revision for all procedures.

$ svnadmin hotcopy <repository-path> <test-repository-path>

no need to worry about whether a transaction is in progress.

SpikeSource Inc.
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 29 22:48:29 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.