Repository size not decreasing after deleting a file.

2010-04-20 Thread Ravi Roy
Hi,

I was curious to know if deleting a file from the repository also decrease
the size of the repository, but this is not true.

To verify this, I check the size of the repository before adding 30 MB data
into into, after adding I again checked the size of the repository it is
still the same.

Is this known feature ?

Thanks

-RR


Re: Repository size not decreasing after deleting a file.

2010-04-20 Thread Ulrich Eckhardt
On Tuesday 20 April 2010, Ravi Roy wrote:
 I was curious to know if deleting a file from the repository also decrease
 the size of the repository, but this is not true.

You can not delete anything irrevocably, this is a design karma of Subversion. 
In other words, even a deleted file is only deleted in the HEAD revision but 
still present in older revisions.

 Is this known feature ?

Yes.

Uli

-- 
ML: http://subversion.tigris.org/mailing-list-guidelines.html
FAQ: http://subversion.tigris.org/faq.html
Docs: http://svnbook.red-bean.com/

Sator Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932

**
Sator Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**
   Visit our website at http://www.satorlaser.de/
**
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten 
bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen 
Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein 
sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, 
weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte 
Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht 
verantwortlich.
**



Re: Repository size not decreasing after deleting a file.

2010-04-20 Thread vishwajeet singh
On Tue, Apr 20, 2010 at 2:08 PM, Ravi Roy ravi.a...@gmail.com wrote:

 Hi,

 I was curious to know if deleting a file from the repository also decrease
 the size of the repository, but this is not true.


  It only get deleted from current version, file still exists in earlier
revisions.



 To verify this, I check the size of the repository before adding 30 MB data
 into into, after adding I again checked the size of the repository it is
 still the same.

 Is this known feature ?


 Yes this is pretty much known, Subversion does not have a obliterate
command.


 Thanks

 -RR




-- 
Vishwajeet Singh
+91-9657702154 | dextrou...@gmail.com | http://bootstraptoday.com
Twitter: http://twitter.com/vishwajeets | LinkedIn:
http://www.linkedin.com/in/singhvishwajeet


Re: Repository size not decreasing after deleting a file.

2010-04-20 Thread Erik Andersson
Hi

Yes, it is a feature, not a bug. The whole point of using a repository is
that you can always go back to a previous revision, so the file needs to
still be there.

Cheers / Erik

On Tue, Apr 20, 2010 at 10:38 AM, Ravi Roy ravi.a...@gmail.com wrote:

 Hi,

 I was curious to know if deleting a file from the repository also decrease
 the size of the repository, but this is not true.

 To verify this, I check the size of the repository before adding 30 MB data
 into into, after adding I again checked the size of the repository it is
 still the same.

 Is this known feature ?

 Thanks

 -RR



Re: Repository size not decreasing after deleting a file.

2010-04-20 Thread Ravi Roy
2010/4/20 Ulrich Eckhardt eckha...@satorlaser.com

 On Tuesday 20 April 2010, Ravi Roy wrote:
  I was curious to know if deleting a file from the repository also
 decrease
  the size of the repository, but this is not true.


 Thanks to all of you for quick replies. Suppose somebody added a big chunk
of data to repository by mistake and want to delete that from all revisions;
is there a way exists to achieve this ?

-RR


Re: Repository size not decreasing after deleting a file.

2010-04-20 Thread vishwajeet singh
On Tue, Apr 20, 2010 at 2:31 PM, Ravi Roy ravi.a...@gmail.com wrote:



 2010/4/20 Ulrich Eckhardt eckha...@satorlaser.com

  On Tuesday 20 April 2010, Ravi Roy wrote:
  I was curious to know if deleting a file from the repository also
 decrease
  the size of the repository, but this is not true.


  Thanks to all of you for quick replies. Suppose somebody added a big chunk
 of data to repository by mistake and want to delete that from all revisions;
 is there a way exists to achieve this ?


yes there is a way out, you need to  use svnadmin dump and dumpfilter the
revisions which you don't want any more.


 -RR




-- 
Vishwajeet Singh
+91-9657702154 | dextrou...@gmail.com | http://bootstraptoday.com
Twitter: http://twitter.com/vishwajeets | LinkedIn:
http://www.linkedin.com/in/singhvishwajeet