Re: something equivalent to "bk ls"?
Larry McVoy <[email protected]> Thu, 28 Oct 2004 18:45:56 -0700
| Newsgroups | gmane.comp.version-control.bitkeeper.user |
|---|---|
| Message-ID | <[email protected]> |
> Well, just put
>
> _ls() {
> find SCCS -name 's.*' | bk sfiles -g -
> }
>
> somewhere in bk.script.
Excellent point but perhaps not well known. In `bk bin`/bk.script you will
find a shell script (which is good reading, you should look at it). Anything
which is added as a shell function that script as "_my_super_duper_feature"
will be run when you run "bk my_super_duper_feature". Note that the shell
function has a leading underscore but the bk call does not.
So you can add whatever feature you want to bk.script and have the big fun.
If you want us to include your nifty feature in the next release of BK then
send us the diffs of bk.script and a man page and we'll include it if it
looks like something most people would want.
By the way, I love this sort of thing. I think you should be able to extend
BK however you want and have the things which prove to be useful be included
in a future release. If we can provide more help for you to do that, bug us,
we'll do it. It's cool to see what it is you want and create.
--
---
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.