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

RE: Remove without delete

From: Dale Worley <dworley_at_pingtel.com>
Date: 2005-02-01 16:16:21 CET

-----Original Message-----
From: Kenneth Porter [mailto:shiva@sewingwitch.com]

I want to remove some subdirectories in a website from version control, but
I don't want to lose the content there. These are mostly dynamic content
cache areas. What Subversion command would I need to issue to accomplish
that? For instance, how I would I remove /var/www/html/cache from revision
control but not delete the directory or its content?
---------------------------------------------------------------------

I think what you want is to put "cache" into the svn:ignore property of
/var/www/html (and check it in). That disconnects the disk directory
/var/www/html/cache from the Subversion archive. Now given that the
archived contents of /var/www/html/cache are probably pointless, do a
repository delete "svn delete --recursive http://.../html/cache" to clean up
the archived software.

Or more subtly, you may want to have Subversion version-control the fact
that "cache" exists, but none of its contents. In that case, put "*" in
svn:ignore for .../www/html/cache, and then "svn delete" all the entries in
cache.

Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 1 16:20:24 2005

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.