You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Brendan Patterson <br...@yahoo.com> on 2003/10/22 15:47:23 UTC

easy way to delete file from repository but leave file where it is?

Hi,

   Subversion is awesome!

   Here is my question:
   When I do an import sometimes I have files I want in those
directories, but not under source control....such as IDE related
files.

   Is there an easy way to delete a file from the repository but leave
the file where it is in the directory?

Example: Say the file I want out of version control but still in the
dir is fun.txt

I could do this -
copy fun.txt fun.txt.bak
svn delete fun.txt
svn commit -m "removing fun.txt from Subversion"
mv fun.txt.bak fun.txt

Is there an easier way?

thanks!
Brendan


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: easy way to delete file from repository but leave file where it is?

Posted by Marcin Gil <mg...@vernet.pl>.
On Wed, 22 Oct 2003 10:16:57 -0700
Brian Denny <br...@briandenny.net> wrote:

> On Wed, Oct 22, 2003 at 11:47:23AM -0400, Brendan Patterson wrote:
> > 
> how about:
> 
> svn delete http://host/path/to/repos/file
> svn up

OR.. as I have recently asked the list, you could set up
the svn:ignore property on certain dirs/filetypes..

-- 
  Marcin Gil
    email#   mgil : vernet pl | GaduGadu ID# 185057
    JID# dentharg : chrome pl | 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: easy way to delete file from repository but leave file where it is?

Posted by Brian Denny <br...@briandenny.net>.
On Wed, Oct 22, 2003 at 10:16:57AM -0700, Brian Denny wrote:
> On Wed, Oct 22, 2003 at 11:47:23AM -0400, Brendan Patterson wrote:
> > 
> >    Is there an easy way to delete a file from the repository but leave
> > the file where it is in the directory?
> > 
> 
> how about:
> 
> svn delete http://host/path/to/repos/file
> svn up

never mind... 
i should test my suggestions before mailing them to the list.  :-/ 


-brian


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: easy way to delete file from repository but leave file where it is?

Posted by Brian Denny <br...@briandenny.net>.
On Wed, Oct 22, 2003 at 11:47:23AM -0400, Brendan Patterson wrote:
> 
>    Is there an easy way to delete a file from the repository but leave
> the file where it is in the directory?
> 

how about:

svn delete http://host/path/to/repos/file
svn up


-brian


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org