summaryrefslogtreecommitdiff
path: root/htdocs/mercurial.php
blob: f697fe16109fb7e71e2bd92e689e956bdce139b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php
// Vim Documentation
require_once("include/init.inc");
$page_title = "Vim from Mercurial";

include("header.php");
?>
<h1>The Vim Mercurial repository</h1>

<p>
Vim is now also available through Mercurial.
This usually works better than
<a href="<?=$BASE?>/cvs.php">CVS</a>
and
<a href="<?=$BASE?>/subversion.php">Subversion</a>.
<p>
You can obtain Vim for the first time with:
<pre class='example'>
hg clone https://vim.googlecode.com/hg/ vim
</pre>
And update to the latest version with:
<pre class='example'>
hg pull
hg update
</pre>
<p>
If you don't know how to use Mercurial, you'll probably want to look at the
<a href='http://mercurial.selenic.com/guide/'>Guide</a>.
</p>

<h1>Browsing the Vim sources</h1>
<p>
You can browse the Mercurial repository <a href='http://code.google.com/p/vim/source/browse/'>online</a>.  This shows the most recent version of the files, including runtime files.
</p>
<p>
Note that besides the "default" branch there are others.
The "vim73" branch was for 7.3 test versions.  You probably want to switch to 
the "default" branch to get 7.3.001 and later, like this:
<pre class='example'>
hg update default
</pre>
The "vim72" branch is for the older 7.2.xxx versions.  No further changes are 
expected here.
</p>

<p>
If you have local changes you may need to merge.
If you are sure you can discard local changes (e.g. if you were just trying a 
patch),you can use:
<pre class='example'>
hg update -C
</pre>
</p>

<br>

<?php
$google_ads = "normal";
include("footer.php");
?>