[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: Milan Cvetkovic
Subject: Re: [Gnu-arch-users] Show patch applied to a file
Date: Wed, 12 May 2004 12:12:18 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030425

Aaron Bentley wrote:

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.

To some extent, they make life easier. I have a project with couple of thousand files, and couple of thousand revisions. I tried using greedy libraries, but creating one takes hours for revision 1000. And many tla operations became too slow with the library. Then I deleted revision library, this took hours too. This is on linux with ext3.

I ended up using revision library set to greedy and sparse.

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!

I'll check it some time, when I have more spare time.

BTW, I am not ure if aba's home page is mentioned on wiki.


reply via email to

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