[prev in list] [next in list] [prev in thread] [next in thread]
List: bitkeeper-users
Subject: Re: [Bitkeeper-users] something equivalent to "bk ls"?
From: "Robert P. J. Day" <rpjday () mindspring ! com>
Date: 2004-10-29 9:19:15
Message-ID: Pine.LNX.4.60.0410290517360.424 () localhost ! localdomain
[Download RAW message or body]
On Fri, 29 Oct 2004, M=E5ns Rullg=E5rd wrote:
> Larry McVoy <lm@bitmover.com> 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). An=
ything
> > which is added as a shell function that script as "_my_super_duper_feat=
ure"
> > will be run when you run "bk my_super_duper_feature". Note that the sh=
ell
> > 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.
i like this idea, but perhaps to be more general, a path-like variable
to collect multiple script files if you happen to have multiple
authors? BKSCRIPTFILES? or something like that? perhaps with
~/.bk/scripts as a default but overrideable. just thinking out loud.
rday
_______________________________________________
Bitkeeper-users mailing list
Bitkeeper-users@bitmover.com
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.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic