Re: something equivalent to "bk ls"?
Måns Rullgård <[email protected]> Fri, 29 Oct 2004 10:58:21 +0200
| Newsgroups | gmane.comp.version-control.bitkeeper.user |
|---|---|
| Message-ID | <[email protected]> |
Larry McVoy <[email protected]> writes: >> 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. Perhaps it would be an idea to always include something like ~/.bk/script to avoid changing the main bk.script. It would also preserve these additions when upgrading bk. -- Måns Rullgård [email protected] _______________________________________________ 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.