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 $pl
fi
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.


_______________________________________________ Gnu-arch-users mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnu-arch-users

GNU arch home page:
http://savannah.gnu.org/projects/gnu-arch/

Reply via email to