.B -m
,
then hgfs will mount itself on
-.B /n/hg
+.B /mnt/hg
(default). When a
.I service
name is given with the
repository.
Revision directories are named by a revision id which
-takes the form [\fId\fB.\fR]\fIhhhhhhhhhhhh\fR, where
+takes the form [\fId\fB.\fR]\fIh\fR, where
.I d
is the decimal revision number starting from 0 and
-.I hhhhhhhhhhhh
-is the hexadecimal hash prefix of the changeset. Both
+.I h
+is the hexadecimal hash of the changeset. Both
the revision number
.I d
-and the hash prefix
-.I hhhhhhhhhhhh
+and the hash
+.I h
are able to identify
a revision uniquely; only one of them needs to be given
when walking the root directory. The hexadecimal hash
-may be shortend so long as the resulting lookup yields
+may be shortened so long as the resulting lookup yields
a unique result. The special name
.B tip
corresponds to the latest revision but does not appear
In each revision directory the following files can be found:
.TP
+.B rev
+contains the revision id of the changeset.
+.TP
.B rev1
-contains the parent revision id as text.
+contains the parent revision id of the changeset.
.TP
.B rev2
If the changeset was a merge, contains the other parent revision id. Otherwise, a zero size file.
.TP
.B files
A directory that contains a snapshot of the tree at the time
-the changeset was commited.
+the changeset was committed.
To retrieve the \fIn\fRth
past version of a file relative to the changeset,
Same as
.B files,
but contains only the changed files of the changeset.
+.SH SOURCE
+.B /sys/src/cmd/hgfs
.SH SEE ALSO
.IR hg (1)
+.SH HISTORY
+.I Hgfs
+first appeared in 9front (June, 2011).