gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] file annotate


From: Aaron Bentley
Subject: Re: [Gnu-arch-users] file annotate
Date: Fri, 26 Mar 2004 15:31:01 -0500
User-agent: Mozilla Thunderbird 0.5 (X11/20040309)



Milan Cvetkovic wrote:
Hi arch-users,

I know that there is no equivalent of "cvs annotate".

How would I figure out in which patch was a specific line of a source file modified?

The most certain way I know is,
1. replace the line in questions with something else.
2. "replay --reverse" ancestor patches until you get a conflict

Obviously, this isn't very practical unless automated, and I'd like to do that.

For now, you can list the revisions that modified that file:

for log in $(tla logs); do if tla cat-log $log|grep \
"Modified-files:.*your-filename-here.*";then echo $log; fi; done

Aaron
--
Aaron Bentley
Director of Technology
Panometrics, Inc.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]