Received: from spf5.us4.outblaze.com (spf5.us4.outblaze.com [205.158.62.27]) by sdf.lonestar.org (8.13.1/8.12.10) with ESMTP id j16ICYvQ029509 for ; Sun, 6 Feb 2005 18:12:34 GMT Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by spf5.us4.outblaze.com (Postfix) with ESMTP id 6A3DD77071 for ; Sun, 6 Feb 2005 18:13:25 +0000 (GMT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cxr7L-0003XE-Pr for migo@homemail.com; Sun, 06 Feb 2005 13:26:43 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cxr6t-0003We-6M for gnu-arch-users@gnu.org; Sun, 06 Feb 2005 13:26:15 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Cxr6s-0003W9-3a for gnu-arch-users@gnu.org; Sun, 06 Feb 2005 13:26:14 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cxr6r-0003Vn-Tk for gnu-arch-users@gnu.org; Sun, 06 Feb 2005 13:26:13 -0500 Received: from [128.255.17.47] (helo=server07.icaen.uiowa.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CxqsG-0007nt-Tx for gnu-arch-users@gnu.org; Sun, 06 Feb 2005 13:11:09 -0500 Received: from server11.icaen.uiowa.edu (server11.icaen.uiowa.edu [128.255.17.51]) by server07.icaen.uiowa.edu (8.13.2/8.12.9) with ESMTP id j16IB6NO000573; (envelope-from ) Sun, 6 Feb 2005 12:11:06 -0600 (CST) Received: from [192.168.1.100] (12-217-241-0.client.mchsi.com [12.217.241.0]) (authenticated user=jfmeinel) by server11.icaen.uiowa.edu (8.13.2/smtp-serv-1.7) with ESMTP id j16IB1nm024877 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256); (envelope-from ) Sun, 6 Feb 2005 12:11:06 -0600 (CST) Message-ID: <42065DB7.3090606@arbash-meinel.com> Date: Sun, 06 Feb 2005 12:11:03 -0600 From: John Arbash Meinel User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Stefan Monnier Subject: Re: [Gnu-arch-users] Re: release goals for Bazaar 1.1 References: <1102095916.6942.43.camel@localhost> <20041211154916.GA1832@ukato> <20041211183809.GC3388@wisq.net> <873byasd73.fsf@tleepslib.sk.tsukuba.ac.jp> <41BDADF5.5070507@arbash-meinel.com> <20050205024050.GB26365@ukato> <20050205070604.GB18959@ukato> <877jllr4jl.fsf-monnier+gmane.comp.version-control.arch.user@gnu.org> In-Reply-To: <877jllr4jl.fsf-monnier+gmane.comp.version-control.arch.user@gnu.org> X-Enigmail-Version: 0.89.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-Virus-Scanned: ClamAV 0.80/682/Mon Jan 24 12:53:43 2005 clamav-milter version 0.80j on clamav.icaen.uiowa.edu X-Virus-Scanned: ClamAV 0.80/685/Wed Jan 26 03:08:24 2005, clamav-milter version 0.75 on clamav.icaen.uiowa.edu X-Virus-Status: Clean X-Virus-Status: Clean Cc: gnu-arch-users@gnu.org X-BeenThere: gnu-arch-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: a discussion list for all things arch-ish List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0459459400==" Sender: gnu-arch-users-bounces+migo=homemail.com@gnu.org Errors-To: gnu-arch-users-bounces+migo=homemail.com@gnu.org Status: RO Content-Length: 4127 Lines: 113 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============0459459400== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig3DE0D65CC93F8F31F5461240" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3DE0D65CC93F8F31F5461240 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Stefan Monnier wrote: >>Maybe it is because I never want to know _who_ wrote the code when I run >>"cvs annotate" (I know the people working on this file or this function), >>but _why_ and _when_ they wrote this code. [cvs misses --summary option.] >> >> > > > >>It is very possible that my use cases are different from yours. Are they? >> >> > >It may be. I also never care to "blame". Actually I don't even want to >"annotate" either. I don't really want the output that "cvs annotate" gives >me, what I want instead is to trace the live of a piece of code. > >I.e. from a set of code lines, I want to see all the diff+log that resulted >in those lines. Also, often enough the diff+log is not what I want because >it just corresponds to a re-indent or a move, so I often also want to see >the parents of those diffs (i.e. the diff+log that resulted in the text that >was then changed by those diffs), their parents's parents, ... >until I really find the diff+log where the code was originally added. > >With CVS I typically do this manually: `cvs annotate' to find the relevant >revision, then `cvs diff' to get the corresponding diff and `cvs log' to see >the corresponding message. Then if the diff is just moving the thing >around, I go back to `cvs annotate' the preceding revision, ... >It's all very inefficient for me. > >In Arch it'll be even worse because the data structure we have is not a good >match to "tla annotate". I really wish someone will write "tla trace-code" >instead of writing yet-another "tla annotate". > > > Stefan > > Well, I assume tla annotate will be similar in function to abentley's fai annotate. If you try it, you can find that it has a '-s = summary' tag which includes the log message when that line was changed. fai also has the command fai revisions --modified=FILE:LINE which can give all of the revisions that modified a file on a given line. and you can do fai revisions --modified=FILE(:LINE) | xargs -n1 tla cat-log Which will do the job of printing out the log for each of the revisions that modified the file on the given line. How is that for doing what you want? I don't really know what baz annotate is going to look like (I think baz will get annotate first), but abentley is one of the major contributors there, and since he did fai annotate, I think it's going to be something similar. And there has also been discussion on the list a while back, where there is a strong possibility for cacheing the annotations for revisions. Kind of like how the ancestry.gz file was added, or how cacherevs work. You could have an annotate-log.gz file in the archive. Or maybe an annotaterev.tar.gz. You might seriously want to look into fai, since it seems to have some of the features that you are asking for. John =:-> --------------enig3DE0D65CC93F8F31F5461240 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCBl23JdeBCYSNAAMRAm1nAKCl64Xd81p9nu7qUyIWjfXPKcrSogCeMbGY w58wvxU8qCxdochR34RtUM0= =BGyw -----END PGP SIGNATURE----- --------------enig3DE0D65CC93F8F31F5461240-- --===============0459459400== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Gnu-arch-users mailing list Gnu-arch-users@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-arch-users GNU arch home page: http://savannah.gnu.org/projects/gnu-arch/ --===============0459459400==--