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

Re: Proper way to copy/move working copy with Subversion 1.7

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Tue, 18 Oct 2011 21:50:30 +0200

On 18.10.2011 18:15, Jean-Marc van Leerdam wrote:
> Hi,
>
> Op 18 okt. 2011 15:34 schreef "Bryan Evenson" <bevenson_at_melinkcorp.com
> <mailto:bevenson_at_melinkcorp.com>> het volgende:
> >
> > I've been looking through the notes on the new Subversion 1.7, and
> one of the warnings on the new WC-NG structure is this:
> >
> > "WARNING: It is not safe to copy an SQLite file while it's being
> accessed via the SQLite libraries. Consequently, duplicating a working
> copy (using tar, cp, or rsync) that is being accessed by a Subversion
> process is not supported for Subversion 1.7 working copies, and may
> cause the duplicate (new) working copy to be created corrupted. (See
> issue #3596 for details.)"
> >
> > So I gather from this statement that if I want to move my working
> copy under Windows from C:\Projects\WCA to C:\Projects\WCB, I'm not
> supposed to just use Crtl+X and Crtl+V. If that's the case, then how am
> I supposed to move a working copy? I didn't see an obvious solution
> from the TortoiseSVN context menu, but I may have missed something.
> >
>
> No, it just means that you should not copy the WC while an SVN operation
> is in progress.
>
> So, don't copy during updates, commits, merges etc.
>
> Not sure about the TSVNcache process, maybe one of the Stefans can add
> to this?

The cache process only accesses the working copy in read mode, so you're
safe copying the working copy as long as there's no e.g. update running
on it.

That warning in the release notes is meant for automated backup scripts
or scripts like that.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2858583
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-10-18 21:50:38 CEST

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

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