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

Re: restoring a working copy from backup: can the pristine directory be recreated?

From: Andreas Krey <a.krey_at_gmx.de>
Date: Wed, 27 Mar 2013 15:36:35 +0100

On Wed, 27 Mar 2013 10:21:01 +0000, Niemann, Hartmut wrote:
...
> Is there any way to repair/refresh a pristine directory in subversion? Or is a fresh checkout the only option?

You could just do a fresh checkout and then untar your backup onto
that sandbox.

HOWEVER: You need to checkout the revision that was current when
the backup was made, and not a later that has committed changes
to the files in the sandbox. You'd undo those by unpacking the tar file.

Andreas

-- 
"Totally trivial. Famous last words."
From: Linus Torvalds <torvalds@*.org>
Date: Fri, 22 Jan 2010 07:29:21 -0800
Received on 2013-03-27 15:37:10 CET

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.