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

Inverse of svn export (only create or update .svn / _svn directories)

From: Thomas S. Trias <tomtrias_at_artizan.com>
Date: 2007-03-01 20:59:05 CET

Is there a way to only check out / update the directory structure and
related .svn / _svn directories to a working copy without creating or
updating any of the versioned files?

We run into an occasional issue (that I will submit as a bug if I can ever
figure out how to reproduce it) where the working copy loses touch with the
repository (and reality), so that it suddenly believes directories to have
been deleted when they haven't. I have finally convinced the other
developers here to refrain from committing in this situation (as the false
delete breaks the chain of differences, resulting in difficulties in
merging, cutting patches, reverting changes, etc.).

The only recourse I have found in this situation is to perform a fresh
checkout elsewhere (since the working copy already has files with changes,
we cannot check out over it); after the checkout, I remove the _svn (thank
you MS / IIS / FPSE) directories from the "real" working copy and then copy
the _svn directories from the new working copy into the appropriate places
in the "real" working copy (being sure to preserve file attributes).
Unfortunately, this means that I am checking out a large number of files
only to delete them moments later, since all I wanted were fresh copies of
the _svn directories. The other unfortunate fact with this technique is
that I end up losing any property changes, but that still beats losing
entire sub-trees.

I have tried svn cleanup, but it doesn't resolve the issue.

Any help would be greatly appreciated; I'm also looking forward to copy /
rename / delete aware svn client commands and perhaps a good method of
tracking the history of merges done to a working copy.

Thanks,

Thomas S. Trias
Senior Developer
Artizan Internet Services
http://www.artizan.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 1 21:15:28 2007

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.