Repository size . . . is this right
david at ar.media.kyoto-u.ac.jp
Thu Dec 11 04:03:29 GMT 2008
Russel Winder wrote:
> On Wed, 2008-12-10 at 12:17 +0100, Jelmer Vernooij wrote:
>> On Tue, 2008-12-09 at 16:23 +0000, Russel Winder wrote:
>>> I have a Git repository of the Gradle project with two branches and it
>>> is 132932 MB.
>>> I have a Bazaar shared repository of the Gradle project with 4 branches
>>> (each branch working tree is about 30MB) and it was 481640 MB. I did a
>>> pack on the 4 branches in the shared repository and now the shared
>>> repository is 758860 MB.
>>> This is not good.
>> How many revisions are in the git repository and how many are in the bzr
>> repository ? Does the original Subversion repository contain any
>> revisions pushed using an older version of bzr-svn ?
> The Git repository is a full clone of the whole Subversion repository of
> Gradle using:
> git svn clone --stdlayout http://svn.codehaus.org/gradle
> well actually I used https but I have a WebDav account for this
> repository. The resultant Git repository has absolutely everything in
> it, branches, tags, the lot. You can see a Git clone at
> git://github.com/russel/gradle.git I am not sure how to count the
> number of revisions.
You can count the number of commit with a simple shell command:
git log | grep ^commit | wc
FWIW, in my experience, bzr repository are always much larger than git,
for any svn import I have ever done, so I don't find your numbers
More information about the bazaar