Blame


1 d944f764 2007-11-05 rsc .TH HG 1
2 d944f764 2007-11-05 rsc .SH NAME
3 7351eea2 2009-12-27 rsc hg, cvs \- introduction to using plan9port Mercurial repository
4 d944f764 2007-11-05 rsc .SH SYNOPSIS
5 d944f764 2007-11-05 rsc .B hg
6 d944f764 2007-11-05 rsc .B clone
7 1d534ed6 2009-07-29 rsc .B http://code.swtch.com/plan9port
8 d944f764 2007-11-05 rsc .B plan9
9 d944f764 2007-11-05 rsc .PP
10 d944f764 2007-11-05 rsc .B hg
11 d944f764 2007-11-05 rsc .B pull
12 d944f764 2007-11-05 rsc .B -u
13 d944f764 2007-11-05 rsc .PP
14 d944f764 2007-11-05 rsc .B hg
15 d944f764 2007-11-05 rsc .B diff
16 d944f764 2007-11-05 rsc [
17 d944f764 2007-11-05 rsc .B -r
18 d944f764 2007-11-05 rsc .I revision
19 d944f764 2007-11-05 rsc ]
20 d944f764 2007-11-05 rsc [
21 d944f764 2007-11-05 rsc .I path ...
22 d944f764 2007-11-05 rsc ]
23 d944f764 2007-11-05 rsc .PP
24 d944f764 2007-11-05 rsc .B hg
25 d944f764 2007-11-05 rsc .B serve
26 d944f764 2007-11-05 rsc .PP
27 d944f764 2007-11-05 rsc .B hg
28 d944f764 2007-11-05 rsc .B view
29 d944f764 2007-11-05 rsc .PP
30 d944f764 2007-11-05 rsc .B web
31 1d534ed6 2009-07-29 rsc .B http://code.swtch.com/plan9port
32 d944f764 2007-11-05 rsc .SH DESCRIPTION
33 d944f764 2007-11-05 rsc The master source tree for Plan 9 from User Space is maintained
34 d944f764 2007-11-05 rsc using the source control system Mercurial
35 d944f764 2007-11-05 rsc as a substitute for Plan 9's
36 d944f764 2007-11-05 rsc \fIreplica\fR(8) and dump file system.
37 d944f764 2007-11-05 rsc .PP
38 d944f764 2007-11-05 rsc The first argument to
39 d944f764 2007-11-05 rsc .I hg
40 d944f764 2007-11-05 rsc is a command, which determines the form of the rest of the command line.
41 d944f764 2007-11-05 rsc .PP
42 d944f764 2007-11-05 rsc The
43 d944f764 2007-11-05 rsc .B clone
44 d944f764 2007-11-05 rsc command downloads a copy of the tree into the directory
45 d944f764 2007-11-05 rsc .BR plan9 ,
46 d944f764 2007-11-05 rsc which it will create.
47 d944f764 2007-11-05 rsc After
48 d944f764 2007-11-05 rsc .B hg
49 d944f764 2007-11-05 rsc .BR clone ,
50 d944f764 2007-11-05 rsc the other commands listed
51 d944f764 2007-11-05 rsc should be run within the
52 d944f764 2007-11-05 rsc .B plan9
53 d944f764 2007-11-05 rsc directory tree.
54 d944f764 2007-11-05 rsc .PP
55 d944f764 2007-11-05 rsc Unlike CVS, Mercurial downloads the entire revision history
56 d944f764 2007-11-05 rsc of Plan 9 from User Space
57 d944f764 2007-11-05 rsc in addition to the current tree.
58 d944f764 2007-11-05 rsc .PP
59 d944f764 2007-11-05 rsc .I Hg
60 d944f764 2007-11-05 rsc .I pull
61 d944f764 2007-11-05 rsc incorporates changes from the master repository
62 d944f764 2007-11-05 rsc into the local revision history.
63 d944f764 2007-11-05 rsc The
64 d944f764 2007-11-05 rsc .B -u
65 d944f764 2007-11-05 rsc flag applies these changes to the current file tree.
66 d944f764 2007-11-05 rsc .PP
67 d944f764 2007-11-05 rsc .I Hg
68 d944f764 2007-11-05 rsc .I diff
69 d944f764 2007-11-05 rsc runs Unix's
70 d944f764 2007-11-05 rsc .IR diff (1)
71 d944f764 2007-11-05 rsc to compare the files in the local tree with the corresponding
72 d944f764 2007-11-05 rsc files in the revision history.
73 d944f764 2007-11-05 rsc By default it compares against the version that was most recently
74 d944f764 2007-11-05 rsc incorporated into the local tree.
75 d944f764 2007-11-05 rsc The
76 d944f764 2007-11-05 rsc .B -r
77 d944f764 2007-11-05 rsc flag specifies an alternate version to compare against.
78 d944f764 2007-11-05 rsc The special revision
79 d944f764 2007-11-05 rsc .B tip
80 d944f764 2007-11-05 rsc refers to the most recent version on the server.
81 d944f764 2007-11-05 rsc .PP
82 d944f764 2007-11-05 rsc .I Hg
83 d944f764 2007-11-05 rsc .I serve
84 d944f764 2007-11-05 rsc starts an HTTP server serving information about
85 d944f764 2007-11-05 rsc the local repository at the address
86 d944f764 2007-11-05 rsc .BR http://localhost:8000/ .
87 d944f764 2007-11-05 rsc .PP
88 d944f764 2007-11-05 rsc .I Hg
89 d944f764 2007-11-05 rsc .I view
90 d944f764 2007-11-05 rsc starts an interactive history viewer.
91 d944f764 2007-11-05 rsc .PP
92 d944f764 2007-11-05 rsc The Mercurial tree can be inspected on the web at
93 1d534ed6 2009-07-29 rsc .HR http://code.swtch.com/plan9port/ "" .
94 d944f764 2007-11-05 rsc .SH FILES
95 d944f764 2007-11-05 rsc .TP
96 d944f764 2007-11-05 rsc .B \*9/.hg
97 d944f764 2007-11-05 rsc directory containing Mercurial local repository
98 d944f764 2007-11-05 rsc .TP
99 d944f764 2007-11-05 rsc .B .hgignore
100 d944f764 2007-11-05 rsc list of files and wildcards to exclude from Mercurial operations
101 d944f764 2007-11-05 rsc .SH SEE ALSO
102 7351eea2 2009-12-27 rsc .IR codereview (1)
103 d944f764 2007-11-05 rsc .PP
104 d944f764 2007-11-05 rsc Unix's
105 d944f764 2007-11-05 rsc \fIhg\fR(1),
106 d944f764 2007-11-05 rsc .HR http://www.selenic.com/mercurial/wiki/
107 d944f764 2007-11-05 rsc .PP
108 1d534ed6 2009-07-29 rsc .HR http://code.swtch.com/plan9port/
109 d944f764 2007-11-05 rsc .SH BUGS
110 7351eea2 2009-12-27 rsc Plan 9 from User Space is no longer accessible using CVS;
111 7351eea2 2009-12-27 rsc you must use Mercurial.