|
From: | Aaron Bentley |
Subject: | Re: [Gnu-arch-users] feature request(?): file-history command. |
Date: | Thu, 12 May 2005 11:08:37 -0400 |
User-agent: | Mozilla Thunderbird 0.6 (X11/20040530) |
Paul Pelzl wrote:
---------------------------------------------------------------------------------- #!/bin/bash # Usage: baz-file-history FILE # List all fully-qualified revisions that touch FILE.for lv in `baz log-versions`; do for pl in `baz logs -f $lv`; do if `baz cat-log $pl | grep -F -q $1`; then echo $plfi done done
Fai has a couple of advantages:1. it actually uses the modified-files header, instead of matching anything in the log. (e.g. if you write TODO in the log body)
2. it tracks renames Aaron -- Aaron Bentley Director of Technology Panometrics, Inc.
[Prev in Thread] | Current Thread | [Next in Thread] |