[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] [RFC] change 'mtn annotate <file>' behaviour
From: |
Koen Kooi |
Subject: |
[Monotone-devel] [RFC] change 'mtn annotate <file>' behaviour |
Date: |
Sun, 13 Aug 2006 14:23:00 +0200 |
User-agent: |
Thunderbird 1.5.0.5 (Macintosh/20060719) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Background:
I now have a small tree where annotating a file doesn't take 3 hours (yes,
seriously, 3
hours), and I noticed something strange:
powerbook-wlan:~/Projects/docs koen$ mtn annotate packaged-staging.xml
<snip>
5bdd8a0380f4636873f40403b6935b86b21cc22d: <chapter>
5bdd8a0380f4636873f40403b6935b86b21cc22d: <title>Conclusions</title>
5bdd8a0380f4636873f40403b6935b86b21cc22d: <section>
5bdd8a0380f4636873f40403b6935b86b21cc22d: <title>Current state</title>
5bdd8a0380f4636873f40403b6935b86b21cc22d: <para>
be4c14599dfcde6e129d4ad193dd503a76c6c3d4: </para>
be4c14599dfcde6e129d4ad193dd503a76c6c3d4: </section>
45e665c8effc8f8890d73a6e0d8752d084c33333:
5bdd8a0380f4636873f40403b6935b86b21cc22d: <section>
5bdd8a0380f4636873f40403b6935b86b21cc22d: <title>How to proceed from
here</title>
5bdd8a0380f4636873f40403b6935b86b21cc22d: <para>
5bdd8a0380f4636873f40403b6935b86b21cc22d: </para>
5bdd8a0380f4636873f40403b6935b86b21cc22d: </section>
45e665c8effc8f8890d73a6e0d8752d084c33333:
5bdd8a0380f4636873f40403b6935b86b21cc22d:
5bdd8a0380f4636873f40403b6935b86b21cc22d: </chapter>
5bdd8a0380f4636873f40403b6935b86b21cc22d:
45e665c8effc8f8890d73a6e0d8752d084c33333: </book>
That's not very informative nor usefull without extra sed+awk+mtn voodo, but I
was bored
so I tried the --brief option to see what that does:
powerbook-wlan:~/Projects/docs koen$ mtn annotate packaged-staging.xml --brief
<snip>
5bdd8a03.. by koen 2006-08-13: <chapter>
: <title>Conclusions</title>
: <section>
: <title>Current state</title>
: <para>
be4c1459.. by koen 2006-08-13: </para>
: </section>
45e665c8.. by koen 2006-08-13:
5bdd8a03.. by koen 2006-08-13: <section>
: <title>How to proceed from here</title>
: <para>
: </para>
: </section>
45e665c8.. by koen 2006-08-13:
5bdd8a03.. by koen 2006-08-13:
: </chapter>
:
45e665c8.. by koen 2006-08-13: </book>
Wow, that actually looks like the output I'd expect from an annotate tool!
My proposition: make '--brief' default and make the current behaviour available
under
'--only-revs'. Comments?
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iD8DBQFE3xmkMkyGM64RGpERAgtoAJ9DtaPTxiNRodN76Pg9mLW/peZJaQCfS9Nd
Aqgl/5rf0RkX7Nzjlnh1IsA=
=q8+b
-----END PGP SIGNATURE-----
- [Monotone-devel] [RFC] change 'mtn annotate <file>' behaviour,
Koen Kooi <=