[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How quickly retrieve all revisions (branched or not) of file (withhi
From: |
Ted Stern |
Subject: |
Re: How quickly retrieve all revisions (branched or not) of file (withhierarchy) |
Date: |
Thu, 22 Dec 2005 09:15:55 -0800 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
On 22 Dec 2005 at 06:01 UTC-0800, address@hidden wrote:
> How quickly retrieve all revisions (branched or not) of file
> (withhierarchy)In Bourne/Korn/Z shells:
Is this what you want?
#!/bin/sh
file=$1
cvs log $file | \
grep '^revision' | \
cut -f2 -d' ' | \
while read rev ; do
cvs update -p -r $rev $file > $file~$rev~
done
Tangentially, I have another question: If I have 'log -b' in my
.cvsrc file, to avoid seeing log info that is not on my branch, how do
I turn that off temporarily to see everything?
Ted
--
dodecatheon at gmail dot com
Frango ut patefaciam -- I break so that I may reveal