2011-06-30 02:16:00 +00:00
|
|
|
.TH HGFS 4
|
|
|
|
.SH NAME
|
|
|
|
hgfs \- mercurial file system
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B hgfs
|
|
|
|
[
|
|
|
|
.B -D
|
|
|
|
]
|
|
|
|
[
|
|
|
|
.B -m
|
|
|
|
.I mtpt
|
|
|
|
]
|
|
|
|
[
|
|
|
|
.B -s
|
|
|
|
.I service
|
|
|
|
]
|
|
|
|
[
|
|
|
|
.I dir
|
|
|
|
]
|
|
|
|
.SH DESCRIPTION
|
|
|
|
Mercurial is a distributed version control system. It tracks
|
|
|
|
and organizes files and keeps a change history of them. The
|
|
|
|
file revisions are stored as packed deltas in a repository
|
2011-06-29 05:36:21 +00:00
|
|
|
that can be checked out with the
|
2011-06-30 02:16:00 +00:00
|
|
|
.IR hg (1)
|
|
|
|
program.
|
|
|
|
|
2011-06-29 05:36:21 +00:00
|
|
|
.I Hgfs
|
|
|
|
allows read-only access to all stored file revisions
|
2011-06-30 02:16:00 +00:00
|
|
|
in a repository as simple files.
|
|
|
|
|
2011-06-29 05:36:21 +00:00
|
|
|
Starting
|
|
|
|
.I hgfs
|
|
|
|
without any options locates the repository of
|
|
|
|
the current working directory and mounts itself on
|
2011-06-30 02:16:00 +00:00
|
|
|
.B /n/hg.
|
|
|
|
|
2011-06-29 05:36:21 +00:00
|
|
|
The resulting served directory contains a list of subdirectories,
|
2011-06-30 02:16:00 +00:00
|
|
|
each corresponding to a specific changeset revision.
|
|
|
|
|
|
|
|
The special
|
|
|
|
name
|
|
|
|
.B tip
|
|
|
|
corresponds to the latest changeset but is not listed.
|
|
|
|
|
|
|
|
In each revision directory the following files can be found:
|
|
|
|
.TP
|
2011-06-29 05:36:21 +00:00
|
|
|
.B rev1
|
|
|
|
contains the parent revision id as text.
|
|
|
|
.TP
|
|
|
|
.B rev2
|
|
|
|
If the changeset was a merge, contains the other parent revision id. Otherwise, a zero size file.
|
2011-06-30 02:16:00 +00:00
|
|
|
.TP
|
|
|
|
.B log
|
|
|
|
The
|
|
|
|
.B log
|
2011-06-29 05:36:21 +00:00
|
|
|
file contains a list of file names, separated by a newline, that where
|
2011-06-30 02:16:00 +00:00
|
|
|
touched in this changeset. Files that are listed in the log
|
|
|
|
but are not visible in
|
2011-06-29 05:36:21 +00:00
|
|
|
.B files
|
|
|
|
or
|
2011-06-30 02:16:00 +00:00
|
|
|
.B changes
|
|
|
|
where deleted in this changeset.
|
|
|
|
.TP
|
2011-06-29 05:36:21 +00:00
|
|
|
.B who
|
|
|
|
committer of the changeset.
|
|
|
|
.TP
|
|
|
|
.B why
|
|
|
|
commit message of the changeset.
|
2011-06-30 02:16:00 +00:00
|
|
|
.TP
|
|
|
|
.B files
|
2011-06-29 05:36:21 +00:00
|
|
|
A directory that contains a snapshot of the filetree when this change was made.
|
|
|
|
To retrieve the \fIn\fRth
|
|
|
|
past version of a file, append
|
2011-06-30 02:16:00 +00:00
|
|
|
.I .n
|
2011-06-29 05:36:21 +00:00
|
|
|
to the filename. For revision id
|
|
|
|
.I revn,
|
|
|
|
append
|
|
|
|
.I .revn.
|
|
|
|
.TP
|
|
|
|
.B changes
|
|
|
|
Same as
|
|
|
|
.B files,
|
|
|
|
but contains only the changed files.
|
2011-06-30 02:16:00 +00:00
|
|
|
.SH SEE ALSO
|
|
|
|
.IR hg (1)
|