You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Kevin Hung <cy...@yahoo.com> on 2006/01/23 01:13:53 UTC

Can I permanently delete a file or directory from the repository?

I want to do this only for large data file that was committed into the  repository. I know that I can use "svn delete" but it seems to delete  the file only for one revision. How can I delete a file or directory  permanently from the repository in all revisions?
  
  
  
			
---------------------------------
Yahoo! Photos
 Got holiday prints? See all the ways to get quality prints in your hands ASAP.

Re: Can I permanently delete a file or directory from the repository?

Posted by Steve Williams <st...@kromestudios.com>.
Andy Levy wrote:

>On 1/22/06, Kevin Hung <cy...@yahoo.com> wrote:
>  
>
>>I want to do this only for large data file that was committed into the
>>repository. I know that I can use "svn delete" but it seems to delete the
>>file only for one revision. How can I delete a file or directory permanently
>>from the repository in all revisions?
>>    
>>
>
>The whole idea of a tool like Subversion is to keep a permanent record
>of everything that has happened with the repository.  The only way I'm
>aware of to achieve this is to svndump the repository, filter
>out/manually remove the file that needs to be removed, then load the
>dumpfile into a fresh repository.  Others here are far more
>experienced than I with this and can give you the full list of
>warnings, caveats and gotchas.
>  
>
There is an 'svn obliterate' command under development, or at least it 
has been discussed.

-- 
Sly



This message and its attachments may contain legally privileged or confidential information. This message is intended for the use of the individual or entity to which it is addressed. If you are not the addressee indicated in this message, or the employee or agent responsible for delivering the message to the intended recipient, you may not copy or deliver this message or its attachments to anyone. Rather, you should permanently delete this message and its attachments and kindly notify the sender by reply e-mail. Any content of this message and its attachments, which does not relate to the official business of the sending company must be taken not to have been sent or endorsed by the sending company or any of its related entities. No warranty is made that the e-mail or attachment(s) are free from computer virus or other defect.

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

Re: Can I permanently delete a file or directory from the repository?

Posted by Andy Levy <an...@gmail.com>.
On 1/22/06, Kevin Hung <cy...@yahoo.com> wrote:
> I want to do this only for large data file that was committed into the
> repository. I know that I can use "svn delete" but it seems to delete the
> file only for one revision. How can I delete a file or directory permanently
> from the repository in all revisions?

The whole idea of a tool like Subversion is to keep a permanent record
of everything that has happened with the repository.  The only way I'm
aware of to achieve this is to svndump the repository, filter
out/manually remove the file that needs to be removed, then load the
dumpfile into a fresh repository.  Others here are far more
experienced than I with this and can give you the full list of
warnings, caveats and gotchas.

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