Re: list of files added to repository

[email protected] (Larry McVoy) Sun, 17 Jul 2005 17:35:13 -0700
Newsgroups gmane.comp.version-control.bitkeeper.user
Message-ID <[email protected]>
> Is there a mechanism to generate a list of files that have been added to
> a repository since a particular change-set?

Yes, it's easy if there are no spaces in the file names.  Names with spaces
are left as exercise for the reader, it's not that hard.

bk get -prbk-3.0.4 ChangeSet | sort | awk '{print $1}' > OLD
bk get -pr+ ChangeSet | sort | awk '{print $1}' > NEW
comm -13 OLD NEW | awk -v FS='|' '{print $2}' | sort

-- 
---
Larry McVoy                lm at bitmover.com           http://www.bitkeeper.com