bk editor(7.3ce) BitKeeper User's Manual bk editor(7.3ce)
NAME
bk editor - automatically check out BitKeeper files when using $EDITOR
SYNOPSIS
bk editor <file>
DESCRIPTION
bk editor is used as a shortcut to edit a file whether or not it is a
BitKeeper file. If the file is under revision control, bk editor will
bk edit the file then exec the editor of choice on that file. If the
file is not under revision control, it will exec the editor on that
file.
The $EDITOR environment variable must be set to the editor of your
choice.
bk editor can be used as follows:
bk editor foo.c
Another method is to set the $EDITOR environment variable and alias the
editor name to bk editor Using xemacs as an example, set $EDITOR and
then alias:
EDITOR=xemacs
alias xemacs='bk editor'
To open the file for editing:
xemacs foo.c
CATEGORY
Compat
BitKeeper Inc 1E1 bk editor(7.3ce)