]> git.lizzy.rs Git - plan9front.git/blob - sys/man/4/hgfs
hgfs(4) incomplete manpage
[plan9front.git] / sys / man / 4 / hgfs
1 .TH HGFS 4
2 .SH NAME
3 hgfs \- mercurial file system
4 .SH SYNOPSIS
5 .B hgfs
6 [
7 .B -D
8 ]
9 [
10 .B -m
11 .I mtpt
12 ]
13 [
14 .B -s
15 .I service
16 ]
17 [
18 .I dir
19 ]
20 .SH DESCRIPTION
21 Mercurial is a distributed version control system. It tracks
22 and organizes files and keeps a change history of them. The
23 file revisions are stored as packed deltas in a repository
24 and can be checked out with the
25 .IR hg (1)
26 program.
27
28 Hgfs allows read only access to all stored file revisions
29 in a repository as simple files.
30
31 Starting hgfs without any options finds the repository of
32 the current working directory and mounts itself to
33 .B /n/hg.
34
35 The served directory contains a list of subdirectories
36 each corresponding to a specific changeset revision.
37
38 The special
39 name
40 .B tip
41 corresponds to the latest changeset but is not listed.
42
43 In each revision directory the following files can be found:
44 .TP
45 .B rev1,rev2
46 These files contain the two parent revision ids as text.
47 .TP
48 .B log
49 The
50 .B log
51 file contains a list of file names, separated by newline, that where
52 touched in this changeset. Files that are listed in the log
53 but are not visible in
54 .B files or
55 .B changes
56 where deleted in this changeset.
57 .TP
58 .B who,why
59 These files contains the commiter and the commit message of
60 the changeset.
61 .TP
62 .B files,changes
63 These directories contain a snapshot of the filetree when this
64 change was made. The 
65 .B changes
66 directory contains only the changed
67 files.
68
69 On files in the
70 .B files
71 and
72 .B changes
73 directories, one can append
74 .I .n
75 (or
76 .I .revn
77 to get the revision id)
78 to the filename where
79 .I n
80 is the nth past version of the file.
81 .SH SEE ALSO
82 .IR hg (1)