[Top][All Lists]

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

Re: [Gnu-arch-users] Show patch applied to a file

From: Aaron Bentley
Subject: Re: [Gnu-arch-users] Show patch applied to a file
Date: Wed, 12 May 2004 11:51:54 -0400
User-agent: Mozilla Thunderbird 0.5 (X11/20040309)

Milan Cvetkovic wrote:
Aaron Bentley wrote:
Yup, this works, thanks.

However, it is displaying more than I need, and it retrieves both revisions from the archive.

Are you using greedy revision libraries? They make life better in many ways.

It would be nice to have "tla show-patch $version--patch-117" and limit the scope of the output to a specific file.

Yeah. Probably it would make sense to extend file-diffs to take an optional second revision. Until then, there's always scripting. I've added a new aba command "file-diff-rev" that does this:

diff -u $(tla file-find projectlanguage.cpp $(tla tree-version)--patch-116) $(tla file-find projectlanguage.cpp $(tla tree-version)--patch-117)

(aba's home page is here:
Thanks for the inspiration!

Aaron Bentley
Director of Technology
Panometrics, Inc.

reply via email to

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