[KLUG Members] remove a directory from subversion repository
Dirk H Bartley
bartleyd2 at chartermi.net
Mon Aug 2 16:40:47 EDT 2004
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
On Wed, 2004-07-28 at 08:14, rick wrote:
> On Tue, 2004-07-27 at 13:32, Dirk H Bartley wrote:
> > I'd link to my presentation but the ftp server is down still. grrrrr.
> >
> > Remove the files from the directory then.
> >
> > svn propset svn:ignore "ignorefileordirname" underdirectory
> >
> > This property will make it so that the svn client will ignore the
> > directory anytime "svn status" or other svn commands are executed.
> >
> > Dirk
> This is not working for me. If I do a svn proplist in the directory I
> want to ignore the svn:ignore is set in the list. However, when I do a
> new checkout of the project from another machine it still tries to get
> this directory. I have several large backup files in there I don't want
> to get on each machine. Am I doing something wrong here?
>
> The directory is called techie and it is in /var/www/fame
>
> I did:
> svn propset svn:ignore techie /var/www/fame
> and got back
> property 'svn:ignore' set on '/var/www/fame/techie'
>
> I then committed the changes. Yet for some reason a new checkout is
> still trying to get this directory and this directory is listed in svn
> list.
>
> How can I remove a directory from svn list?
>
> Thanks for the help.
>
> Rick
> _______________________________________________
> Members mailing list
> Members at kalamazoolinux.org
>
More information about the Members
mailing list