bk repotype(7.3ce)          BitKeeper User's Manual         bk repotype(7.3ce)

NAME
       bk repotype - display repository type

SYNOPSIS
       bk repotype [-q] [<directory>]

DESCRIPTION
       This command will print the type of the repository which is one of tra-
       ditional, product, or component.  All repositories created by  versions
       of BitKeeper prior to bk-5.0 are traditional standalone repositories.

       If  a  directory is specified then BitKeeper will change to that direc-
       tory before running the command.

OPTIONS
       Run quietly, exit status only.

EXIT STATUS
       When run without -q the exit status is 0 for all valid repositories and
       is 3 otherwise.  When run with -q bk repotype returns exit status:

       0   if run on a product repository
       1   if run on a component repository
       2   if run on a traditional (standalone) repository
       3   if run on a non-repository or if some other error occurs.

CATEGORY
       Utility

SEE ALSO
BitKeeper Inc                         1E1                   bk repotype(7.3ce)