[Bitkeeper-users] List changed/removed/added files in commit
trigger.
Larry McVoy
lm at bitmover.com
Thu Jun 19 14:08:08 PDT 2008
On Thu, Jun 19, 2008 at 06:42:02PM +0200, Thomas Nilsson wrote:
> I'm trying to create a list of changed, removed and added files during
> post-incoming.
>
> The closest I've come to my goal is an extreme kludge and I'm
> desperately searching for the CorrectWay<TM>
>
> How I currently do it is;
>
> (told you it's a kludge)
>
> while read CSET; do
> bk export -tpatch -h -du $CSET | diffstat -l
> done < $BK_CSETLIST | sort -u
>
> which does not always produce the correct output. Any ideas or pointers
> would be helpful.
bk changes -vnd'$unless(:CHANGESET:){:GFILE:}' - < $BK_CSETLIST
should work.
--
---
Larry McVoy lm at bitmover.com http://www.bitkeeper.com
More information about the Bitkeeper-users
mailing list