subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Krey <>
Subject Re: restoring a working copy from backup: can the pristine directory be recreated?
Date Wed, 27 Mar 2013 14:36:35 GMT
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.


"Totally trivial. Famous last words."
From: Linus Torvalds <torvalds@*.org>
Date: Fri, 22 Jan 2010 07:29:21 -0800

View raw message