Re: why does "bk init" call "init"?

Rick Smith <[email protected]> Wed, 3 Nov 2004 10:23:59 -0800
Newsgroups gmane.comp.version-control.bitkeeper.user
Message-ID <[email protected]>
On Wed, Nov 03, 2004 at 01:16:01PM -0500, Robert P. J. Day wrote:
> 
>   don't ask why i was trying it, but i just noticed that running "bk
> init" actually runs the system "init" command.  this strikes me as not
> a good thing, particularly since the helptool entry for "bk"
> explicitly says that:
> 
>  "All BitKeeper commands are prefixed with bk in order to avoid
> ambiguity with non-BitKeeper commands that might be on the system such
> as get and ci."
> 
> rday
> 
> p.s.  whoops, i just noticed that this seems to be the case with *all*
> commands that aren't official bk commands.  is this deliberate?

Yes, it is at the of bk.script .
If the command is not a bk command, fall through and execute
the shell command.

-- Rick
_______________________________________________
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.