BK-URL(1)
π NAME π
bk url β methods of accessing BitKeeper repositories. This is from the BitKeeper Userβs Manual, page bk url(none) β yes, section none, sheβs mysterious and iconic like that. π
π DESCRIPTION π
Okay so BitKeeper supports so many ways to access a repository. The selection of the access method is determined by how the repository is referenced. Each reference form is described below with an explanation of how the repository is accessed following each form. No cap.
In all cases below, if the pathname part of the URL starts with a / then the pathname is absolute, otherwise it is relative to the location of the bkd. If pathname is not set then the implied remote directory must be the root of a repository. See EXAMPLES below. π«Ά
β¨ ACCESS METHODS β¨
π LOCAL
pathnameβ access is all local, through the local file system.file://pathnameβ access is all local, through the local file system.
π‘ RSH
rsh://host/pathnameβ usesrshto access host and starts in the userβs home directory.rsh://user@host/pathnameβ usesrshto access host and starts in the userβs home directory.
π SSH
host:pathnameanduser@host:pathnameβ usesssh(by default) to access host and starts in the userβs home directory. If$BK_RSHis set, then that is used to talk to the host (allows for proxying). If nosshis found then falls back torsh.ssh://host/pathname,ssh://host:port/pathname,ssh://user@host/pathname, andssh://user@host:port/pathnameβ usessshto access host and starts in the userβs home directory.bk://user@host/pathnameβ this is a deprecated form ofsshthat only worked with abkdrun as a login shell. Connecting to abkdrunning as a login shell is still supported. Please use thessh://URL form. π
π°οΈ BKD
bk://host/pathnameβ connects to an existingbkdon the defaultbkdport and starts in the directory where the long livedbkdwas initially started.bk://host:port/pathnameβ connects to an existingbkdon the specified port and starts in the directory where the long livedbkdwas initially started.
π HTTP
http://host/pathnameβ connects to an existingbkdusing the HTTP port and transfer protocol and starts in the directory where the long livedbkdwas initially started.http://host:port/pathnameβ connects to the specified port using the HTTP transfer protocol and starts in the directory where the long livedbkdwas initially started.
π§ PROXIES π§
BitKeeper supports most HTTP proxies. Information about proxies needs to be passed to BitKeeper in the environment. β¨
The following are the environmental variables are available for use:
http_proxy=http://host:port
http_proxy=http://[user:pass@]host:port/
no_proxy=comma,separated,list,of,hosts,to,not,proxy
SOCKS_HOST=host_name
SOCKS_PORT=port_number
SOCKS_SERVER=host:port
β οΈ Note: ifSOCKS_HOSTis set,SOCK_PORTmust also be set. If you are not sure if you should set environment variables, please consult your system administrator. (Yes, the original really saysSOCK_PORTthere β read it twice, bestie.)
On Windows, BitKeeper will also read Internet Explorerβs proxy information from the registry. So in most cases if Internet Explorer can browse the web then BitKeeper will work as well. πͺ
π EXAMPLES π
To clone old to new:
bk clone old new
To clone from a repository named old on a host named host using SSH:
bk clone ssh://host/old new
To clone from a repository named old on a host named host using rsh:
bk clone rsh://host/old new
To clone from a repository named /home/bk/mysql on a host named host using ssh (note there are 2 slashes before βhomeβ):
bk clone ssh://host//home/bk/mysql new
Suppose that you had a number of repositories in /home/bk and you wanted to make them available via the bkd protocol. On the server you would run:
cd /home/bk
bk bkd
and on the client you would run this to get /home/bk/mysql:
bk clone bk://server/mysql
π SEE ALSO π
bkβbkd
ποΈ CATEGORY ποΈ
- Repository
- Overview
okay thatβs the whole page, bestie π footer check: BitKeeper Inc, 1E1, and bk url(none) β periodt.
π¦ where this page comes from
- alpine 3.24: bitkeeper-doc 7.3.3-r1 Β· Apache-2.0
- Copyright (c) 1998-2015 BitKeeper Inc
- Copyright (C) 1989, 1990, 1991, 1992, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms