You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Kenneth Porter <sh...@sewingwitch.com> on 2005/02/01 14:43:28 UTC
Remove without delete
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?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
RE: Remove without delete
Posted by Dale Worley <dw...@pingtel.com>.
-----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