[KLUG Members] remove a directory from subversion repository

Richard Harding rick at ricksweb.info
Tue Aug 3 13:20:10 EDT 2004


On Mon, 2004-08-02 at 16:40, Dirk H Bartley wrote:
> I may be misunderstanding the problem. 
> 
> Try this: first move the files you do not want in the repos from your
> local copy of the repos to a temp location.  Then remove the directory
> from the repos with svn remove.  Then replace the directory from the
> temp location removing all things under .svn (find ./ | grep svn).  Then
> when you commit it will want to add but you don't want it to so use
> proset without the full path.
> 
> let's say you have a repository called fame with a subdirectory called
> techie.
> 
> cd fame
> mv techie /tmp
> svn remove techie
> svn commit techie
> mv /tmp/techie ./
> rm -Rf `find ./techie | grep "\.svn"`
> cd ..
> svn propset svn:ignore techie fame
> svn commit
> svn status
> 
> Dirk

Man, one of those I feel so stupid moments. Yea, that did the trick.
Talk about something that should have been an obvious try. Sorry about
that. Thanks for the help. 

Rick



More information about the Members mailing list