[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: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Wed, 27 Mar 2013 16:07:22 +0200

The .svn/pristine/ directory should be recreatable given wc.db and a
network connection to the server. I don't know if anyone has
implemented that. (The main catch is that the pristine files need to be
in repository-normal form.)

Niemann, Hartmut wrote on Wed, Mar 27, 2013 at 10:21:01 +0100:
> Hello!
>
> If I backup a working copy, the .svn folder and especially the pristine directory there, where subversion stores the base version of each file, takes lots of space.
>
> I used to exclude the .svn directory from this backup, but now I had to restore my hard drive with all its working data and found it annoying to have to recreate every working copy.
>
> If subversion could retrieve a broken or missing pristine file, which it can't now in tortoise SVN 1.7.11, it would be sufficient to backup the files in the .svn directory, which would save almost half the space.
>
> Is there any way to repair/refresh a pristine directory in subversion? Or is a fresh checkout the only option?
>
> With best regards
>
> Hartmut
>
Received on 2013-03-27 15:23:50 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.