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

Re: Usage question: unversioning a file

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-07-10 03:29:23 CEST

Wadsworth, Eric (Contractor) wrote:

>Hello, subversionists.
>
>Is this the right place to ask a usage question? If not, perhaps someone
>could let me know where to post a question of this nature. If so, then here
>is my question:
>
>Let's say I do these commands:
> svn add myprj
> svn ci -m "added my project"
>
>Then I notice that the myprj subdirectory contains a couple of derivative
>files, that I really don't want under version control (like, say,
>myprj/myprj.jar). If I do:
> svn rm myprj/myprj.jar
>then whenever I do "svn up" won't it delete my .jar file?
>
No.

>I don't want it deleted, I just want it... unversioned?
>
Yes, you do want it deleted from the HEAD of the repository. Of course,
this doesn't change history. Your .jar file would still exist in a
previous version of the repository.

>Of course, the proper thing is to not add stuff into the repository that you
>don't want there. But I ^H^H^H someone has already done that, so what's the
>best way to attain a clean repository at this point?
>
>
If you want to completely remove it from history, you'll have to dump
and reload the repository, filtering out the files (see "svnadmin dump",
"svnadmin load" and "svndumpfilter" -- and http://svnbook.red-bean.com/).

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 10 03:32:21 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.