The "open" command:
Open a new connection to the repository name REPOSITORY. A checkout for the repository is created with its root at the current working directory, or at some other directory identified by "--workdir DIR". If VERSION is specified then that version is checked out. Otherwise the most recent check-in on the main branch (usually "trunk") is used.
REPOSITORY is usually a filename for a repository that already exists on the local machine. But REPOSITORY can also be a URI, in which case the URI is first cloned and the clone is opened. The clone will be stored in the current directory, or in an alternative directory specified by the --repodir option.
No files other than "manifest" and "manifest.uuid" are modified if the --keep option is present.
- Initialize checkout as being empty, but still connected with the local repository. If you commit this checkout, it will become a new "initial" commit in the repository.
- Force opening a repository with missing content
- Only modify the manifest and manifest.uuid files
- Allow opening a repository inside an opened checkout
- --repodir DIR
- If REPOSITORY is a URI that will be cloned, store the clone in DIR rather than in "."
- Set timestamps of all files to match their SCM-side times (the timestamp of the last checkin which modified them).
- --workdir DIR
- Use DIR as the working directory instead of ".". The DIR directory is created if it does not previously exist.
See also: close