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

RE: Commit size

From: Cooke, Mark <mark.cooke_at_siemens.com>
Date: Tue, 12 Jun 2012 16:53:26 +0100

[Please add your reply at the bottom, it makes it easier to read]

> > 2012/6/12 Andy Levy <andy.levy_at_gmail.com>:
> >> On Tue, Jun 12, 2012 at 5:21 AM, Vladimir Shun'kov
> <shunya.v_at_gmail.com> wrote:
> >>> Hello,
> >>>
> >>> Could you please help me with issue. Is it real to get
> >>> commit size of user for statistic?
> >>
> >> How are you measuring size? Bytes? Lines? Number of files?
> >> And to what end?
> >>
> >> There are a lot of problems around measuring user activity by this
> >> sort of statistic. It's easily gamed, tends to ignore the
> >> effects of improving code in many ways[1], and in the case of
> >> binary files, it's pretty much meaningless.
> >>
> >> 1:
> >> http://folklore.org/StoryView.py?story=Negative_2000_Lines_Of_Code.txt
>
> On Tue, Jun 12, 2012 at 7:55 AM, Vladimir Shun'kov
> <shunya.v_at_gmail.com> wrote:
> > Hello,
> >
> > I need measure in bytes. I tried use pre-commit and
> > post-commit hooks but I received not real size of
> > commit due svn uses some compression.
>
...but what do you consider to be the "real size of commit" ~ the number of bytes of ...all affected files / ...just the changes / ...something completely different?

What are you _actually_ trying to measure (and why)? Without knowing this, we cannot help you.

Note: Subversion does not send all of the file(s), only the diffs (which includes all the file if new, of course!). This helps reduce network traffic and time.

~ mark c
Received on 2012-06-12 17:54:07 CEST

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.