Re: can "bk diffs" be applied to a subtree?

Larry McVoy <[email protected]>
Newsgroups gmane.comp.version-control.bitkeeper.user
Message-ID <[email protected]>
On Mon, Oct 04, 2004 at 01:06:10PM -0400, Robert P. J. Day wrote:
>   i've got a bk project which has a number of edits scattered 
> throughout several directories.  i'd like to encapsulate these changes 
> as a set of (reasonably) independent unified patches based on their 
> subdirectory locations, but it's not clear i can do that with "bk 
> diffs".
> 
>   for convenience, i'd like to generate these patch diffs always 
> relative to the top of the tree.  hints?

bk sfiles -c > LIST
for i in subdir1 subdir2 subdir3
do	grep ${i}/ < LIST | bk diffs -up - > DIFFS.$i
done
-- 
---
Larry McVoy                lm at bitmover.com           http://www.bitkeeper.com
_______________________________________________
Bitkeeper-users mailing list
[email protected]
http://bitmover.com/mailman/listinfo/bitkeeper-users
To unsubscribe from this list, go to the above URL, follow instruction at the bottom of the web page.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.