Removing => 0 changes to 0 files

Arne Babenhauserheide arne_bab at web.de
Sun Dec 2 09:16:28 UTC 2012


Am Samstag, 1. Dezember 2012, 10:26:51 schrieb Matt Mackall:
> On Sat, 2012-12-01 at 12:57 +0100, Arne Babenhauserheide wrote:
> > Am Freitag, 30. November 2012, 16:05:27 schrieb Matt Mackall:
> > > new file revisions, this would count removes and x-bit changes but
> > > double-count renames, reverts and backouts.
> > 
> > Why reverts and backouts? I understand renames, but not the other two.
> 
> Because they (may) reuse existing versions of files.

I think that these are actual history operations:

changed → changed back = 2 operations.

So to me, that would not be double counting but actually correct counting.

Take the pathologic case of two people changing something back and forth from 
each others versions. If I were to pull these and only look at the stats, it 
would look for me as if nothing changed. But in truth they created a horrible 
mess of history… 

On the other hand, all of those changes are irrelevant to the current state of 
the repo - but I think showing them is less surprising.

I would ask others opinions, too, though.

Best wishes,
Arne
--
A man in the streets faces a knife.
Two policemen are there it once. They raise a sign:

    “Illegal Scene! Noone may watch this!”

The man gets robbed and stabbed and bleeds to death.
The police had to hold the sign.

…Welcome to Europe, citizen. Censorship is beautiful.

   ( http://draketo.de/stichwort/censorship )


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 316 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20121202/057a1256/attachment.asc>


More information about the Mercurial mailing list