[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bitkeeper-users
Subject:    Re: [Bitkeeper-users] finding a file's rev as of a changeset
From:       Chris Mason <mason () suse ! com>
Date:       2002-05-17 11:49:03
[Download RAW message or body]

On Thu, 2002-05-16 at 17:01, Wayne Scott wrote:
> From: Chris Mason <mason@suse.com>
> > I'm hoping for a fast way to find the file's revision when it wasn't
> > modified in that particular changeset.
> 
> How about something like this.
> 
> key=`bk get -r1.408 -p ChangeSet | grep 'fs/buffer.c' | awk '{print $2}'`
> bk prs -r"$key" -hnd:REV: fs/buffer.c
> 
> This only reads the ChangeSet file and then the file you are
> interested in.
> 
> The grep could be a little tighter and renames are a complication.

Interesting, thanks for the ideas everyone.

-chris


_______________________________________________
Bitkeeper-users mailing list
Bitkeeper-users@bitmover.com
http://bitmover.com/mailman/listinfo/bitkeeper-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic