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

Re: Size of Repository

From: <kfogel_at_collab.net>
Date: 2004-10-15 23:14:15 CEST

We'd need the sizes of *all* the files :-). That is, use 'du', or use
'ls -lR' (the former is preferable).

An ls -l of the subversion repository top level is useless by itself,
all the interesting stuff happens in the db/ subdirectory, for
example. Your original mail said your repository size was 1.2
megabytes. Maybe it is, but there's no way to know that from looking
at the ls output you sent.

Also (and pardon me if I'm getting annoying, but I think this needs to
be said): don't just dump a series of raw statistics to the mailing
list. Instead, put yourself in the reader's shoes. If you think
you're seeing an unexpected phenomenon, insert some commentary into
your transcript, saying what you expected to see, versus what you
actually saw. Then we can confirm whether or not your expectations
are right. In other words, save us readers some effort :-).

There's nothing particularly suspicious about the transcript below (by
the way, it's not a true transcript, because it still doesn't show the
svn commands and their output). But without knowing what seems
suspicious about it to you, we can't know how to respond.

Best,
-Karl

mdean77 <mdean77@comcast.net> writes:
> Thanks - I wasn't complaining so much as curious. Below, I list the
> two project directories BEFORE I uploaded the projects into the
> repository, and then the listing for the repository directory.
>
> PROJECT NUMBER ONE DIRECTORY BEFORE IMPORT
> J-Michael-Deans-Computer:~/Documents/Programming/CDMCC/October 8
> Version mdean$ ls -al
> total 1168
> drwxr-xr-x 13 mdean mdean 442 14 Oct 12:37 .
> drwxr-xr-x 4 mdean mdean 136 14 Oct 12:17 ..
> -rw-r--r-- 1 mdean mdean 6148 14 Oct 12:37 .DS_Store
> -rw-r--r-- 1 mdean mdean 369688 13 Oct 18:06 CDMCC Document Tracker.rb
> -rw-r--r-- 1 mdean mdean 125062 14 Oct 09:57 CDMCC Schema.jpg
> -rw-r--r-- 1 mdean mdean 13506 14 Oct 09:57 activediagram.gif
> -rw-r--r-- 1 mdean mdean 30550 14 Oct 09:57 cdmcc.html
> -rw-r--r-- 1 mdean mdean 9976 14 Oct 09:57 createCDMCC.sql
> -rw-r--r-- 1 mdean mdean 9830 13 Oct 16:11 createCDMCCFixed.sql
> -rw-r--r-- 1 mdean mdean 1207 14 Oct 09:57 default.css
> -rw-r--r-- 1 mdean mdean 2694 14 Oct 09:57 dropCDMCC.sql
> -rw-r--r-- 1 mdean mdean 2790 13 Oct 16:10 dropCDMCCFixed.sql
> -rw-r--r-- 1 mdean mdean 3270 14 Oct 09:57 reportCDMCC.txt
>
>
> PROJECT NUMBER TWO DIRECTORY BEFORE IMPORT
> J-Michael-Deans-Computer:~/Documents/Programming/Notewriter/October 8
> Version mdean$ ls -al
> total 4192
> drwxr-xr-x 10 mdean mdean 340 14 Oct 12:15 .
> drwxr-xr-x 15 mdean mdean 510 14 Oct 12:15 ..
> -rw-r--r-- 1 mdean mdean 6148 14 Oct 12:16 .DS_Store
> -rw-r--r-- 1 mdean mdean 2107416 9 Oct 08:26 PICU Notewriter RB5.5.rb
> -rw-r--r-- 1 mdean mdean 20449 9 Oct 08:26 capture.pl
> -rw-r--r-- 1 mdean mdean 2572 9 Oct 08:26 cleanup.pl
> -rwxr-xr-x 1 mdean mdean 64 9 Oct 08:26 makepdf
> drwxr-xr-x 3 mdean mdean 102 9 Oct 08:26 pdf
> drwxr-xr-x 11 mdean mdean 374 9 Oct 08:26 tandem
> drwxr-xr-x 25 mdean mdean 850 9 Oct 08:26 xslt
>
> REPOSITORY AFTER IMPORT AND SUCCESSFUL IN AND OUT FOR 4 REVISIONS
> J-Michael-Deans-Computer:~/repos mdean$ ls -al
> total 16
> drwxr-xr-x 9 mdean mdean 306 14 Oct 12:37 .
> drwxr-xr-x 36 mdean mdean 1224 14 Oct 20:00 ..
> -rw-r--r-- 1 mdean mdean 379 14 Oct 12:37 README.txt
> drwxr-xr-x 3 mdean mdean 102 14 Oct 12:37 conf
> drwxr-xr-x 2 mdean mdean 68 14 Oct 12:37 dav
> drwxr-sr-x 9 mdean mdean 306 14 Oct 19:40 db
> -r--r--r-- 1 mdean mdean 2 14 Oct 12:37 format
> drwxr-xr-x 7 mdean mdean 238 14 Oct 12:37 hooks
> drwxr-xr-x 4 mdean mdean 136 14 Oct 12:37 locks
> J-Michael-Deans-Computer:~/repos mdean$
>
> Now I check out a working directory for each project; the SVN output
> and the listings for those check out directories are below:
>
> A /Users/mdean/Desktop/tempCDMCC/reportCDMCC.txt
> A /Users/mdean/Desktop/tempCDMCC/activediagram.gif
> A /Users/mdean/Desktop/tempCDMCC/CDMCC Document Tracker.rb
> A /Users/mdean/Desktop/tempCDMCC/CDMCC Schema.jpg
> A /Users/mdean/Desktop/tempCDMCC/createCDMCC.sql
> A /Users/mdean/Desktop/tempCDMCC/createCDMCCFixed.sql
> A /Users/mdean/Desktop/tempCDMCC/default.css
> A /Users/mdean/Desktop/tempCDMCC/cdmcc.html
> A /Users/mdean/Desktop/tempCDMCC/dropCDMCC.sql
> A /Users/mdean/Desktop/tempCDMCC/dropCDMCCFixed.sql
> Checked out revision 4.
>
> J-Michael-Deans-Computer:~/Desktop/tempCDMCC mdean$ ls -al
> total 1216
> drwxr-xr-x 13 mdean mdean 442 15 Oct 13:19 .
> drwx------ 23 mdean mdean 782 15 Oct 13:19 ..
> drwxr-xr-x 11 mdean mdean 374 15 Oct 13:19 .svn
> -rw-r--r-- 1 mdean mdean 401432 15 Oct 13:19 CDMCC Document Tracker.rb
> -rw-r--r-- 1 mdean mdean 125062 15 Oct 13:19 CDMCC Schema.jpg
> -rw-r--r-- 1 mdean mdean 13506 15 Oct 13:19 activediagram.gif
> -rw-r--r-- 1 mdean mdean 30550 15 Oct 13:19 cdmcc.html
> -rw-r--r-- 1 mdean mdean 9976 15 Oct 13:19 createCDMCC.sql
> -rw-r--r-- 1 mdean mdean 9830 15 Oct 13:19 createCDMCCFixed.sql
> -rw-r--r-- 1 mdean mdean 1207 15 Oct 13:19 default.css
> -rw-r--r-- 1 mdean mdean 2694 15 Oct 13:19 dropCDMCC.sql
> -rw-r--r-- 1 mdean mdean 2790 15 Oct 13:19 dropCDMCCFixed.sql
> -rw-r--r-- 1 mdean mdean 3270 15 Oct 13:19 reportCDMCC.txt
>
> A /Users/mdean/Desktop/tempNotewriter/PICU Notewriter RB5.5.rb
> A /Users/mdean/Desktop/tempNotewriter/cleanup.pl
> A /Users/mdean/Desktop/tempNotewriter/makepdf
> A /Users/mdean/Desktop/tempNotewriter/tandem
> A /Users/mdean/Desktop/tempNotewriter/tandem/dr998
> A /Users/mdean/Desktop/tempNotewriter/tandem/dr27778
> A /Users/mdean/Desktop/tempNotewriter/tandem/dr3892.txt
> A /Users/mdean/Desktop/tempNotewriter/tandem/dr4583
> A /Users/mdean/Desktop/tempNotewriter/tandem/dr3892
> A /Users/mdean/Desktop/tempNotewriter/tandem/dr3892TESTFILE
> A /Users/mdean/Desktop/tempNotewriter/tandem/dr3892TESTFILE.clean
> A /Users/mdean/Desktop/tempNotewriter/tandem/dr17259
> A /Users/mdean/Desktop/tempNotewriter/pdf
> A /Users/mdean/Desktop/tempNotewriter/xslt
> A /Users/mdean/Desktop/tempNotewriter/xslt/picunote.xslt
> A /Users/mdean/Desktop/tempNotewriter/xslt/junk.pdf
> A /Users/mdean/Desktop/tempNotewriter/xslt/picu2pdf.xsl
> A /Users/mdean/Desktop/tempNotewriter/xslt/fluidBalanceStyles.xsl
> A /Users/mdean/Desktop/tempNotewriter/xslt/picu.rng
> A /Users/mdean/Desktop/tempNotewriter/xslt/medicationStyles.xsl
> A /Users/mdean/Desktop/tempNotewriter/xslt/picu.xslt
> A /Users/mdean/Desktop/tempNotewriter/xslt/billingStyles.xsl
> A /Users/mdean/Desktop/tempNotewriter/xslt/respiratoryStyles.xsl
> A /Users/mdean/Desktop/tempNotewriter/xslt/noteHeadingStyles.xsl
> A /Users/mdean/Desktop/tempNotewriter/xslt/assessmentStyles.xsl
> A /Users/mdean/Desktop/tempNotewriter/xslt/physicalExamStyles.xsl
> A /Users/mdean/Desktop/tempNotewriter/xslt/radiologyStyles.xsl
> A /Users/mdean/Desktop/tempNotewriter/xslt/planStyles.xsl
> A /Users/mdean/Desktop/tempNotewriter/xslt/trunk
> A /Users/mdean/Desktop/tempNotewriter/xslt/picu.xsl
> A /Users/mdean/Desktop/tempNotewriter/xslt/labStyles.xsl
> A /Users/mdean/Desktop/tempNotewriter/xslt/picunote3.xml
> A /Users/mdean/Desktop/tempNotewriter/xslt/vitalSignStyles.xsl
> A /Users/mdean/Desktop/tempNotewriter/xslt/historyStyles.xsl
> A /Users/mdean/Desktop/tempNotewriter/xslt/Notewriter.xpr
> A /Users/mdean/Desktop/tempNotewriter/xslt/picunote2.html
> A /Users/mdean/Desktop/tempNotewriter/capture.pl
> Checked out revision 4.
>
> J-Michael-Deans-Computer:~/Desktop/tempNotewriter mdean$ ls -al
> total 4176
> drwxr-xr-x 10 mdean mdean 340 15 Oct 13:20 .
> drwx------ 23 mdean mdean 782 15 Oct 13:19 ..
> drwxr-xr-x 11 mdean mdean 374 15 Oct 13:20 .svn
> -rw-r--r-- 1 mdean mdean 2107416 15 Oct 13:20 PICU Notewriter RB5.5.rb
> -rw-r--r-- 1 mdean mdean 20449 15 Oct 13:20 capture.pl
> -rw-r--r-- 1 mdean mdean 2572 15 Oct 13:20 cleanup.pl
> -rwxr-xr-x 1 mdean mdean 64 15 Oct 13:20 makepdf
> drwxr-xr-x 3 mdean mdean 102 15 Oct 13:20 pdf
> drwxr-xr-x 11 mdean mdean 374 15 Oct 13:20 tandem
> drwxr-xr-x 25 mdean mdean 850 15 Oct 13:20 xslt
>
> MY GUESS is that svn is doing excellent compression but I am surprised
> by the overall magnitude. The big files are Realbasic files which are
> binary.
>
> Thanks for looking at this.
>
> - Mike
>
> On Oct 15, 2004, at 11:03 AM, kfogel@collab.net wrote:
>
> mdean77 <mdean77@comcast.net> writes:
> Rebuilt repository from scratch, contains two projects with the
> subdirectories (trunk, etc.). The ORIGINAL project folders are 6 and
> 2 megabytes, respectively. Imported in, have proven I can export in
> and out of repository. But my repository size is 1.2 megabytes. Am
> at loss about how the original projects could have been compressed to
> this degree.
>
> Or do I have a problem?
>
> You'll need to give us a transcript of *exactly* what you did, for us
> to know what happened. Include not just the commands and their
> output, but the 'ls -l' output so we can see the sizes of everything
> you're talking about.
>
> -Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Oct 16 01:04:35 2004

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

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