summaryrefslogtreecommitdiff
path: root/htdocs/subversion.php
blob: 03951124143dec80e4ed958b627836b33c9c1ff5 (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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<?php
// Vim Documentation
require_once("include/init.inc");
$page_title = "Vim from Subversion";

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

<b>NOTE: Vim 7.3 is not in SVN, use
<a href="<?=$BASE?>/mercurial.php">Mercurial</a>
instead</b>

<p>
	Vim up to 7.2.446 can be obtained using
	<a href='http://www.subversion.org'>Subversion</a>
	(SVN for short).
	Subversion allows developers to maintain a single, controlled source
	tree with multiple check-outs of individual files.
</p>

<p>
	If you don't know how to use Subversion, you'll probably want to look 
	at the documentation.  It is similar to CVS, but includes many 
	enhancements.
</p>

<h1>Browsing the Vim sources</h1>
<p>
You can browse the Subversion repository
<a href='http://vim.svn.sourceforge.net/viewvc/vim/vim7/'>online at SourceForge</a>.
This shows the most recent version of the files in "vim7".
You can view diffs to find out what the latest changes are.

</P>
<P>
	Documentation on accessing the repository can be found on the
	<a href='http://sourceforge.net/docman/display_doc.php?docid=31070&group_id=1'>SourceForge documentation page</a>.
<p>

<h1>Obtaining Vim through Subversion</h1>

<p>
These are the simple instructions how to obtain the Vim files through SVN.
Use this when you have a reasonable fast internet connection and want to
compile Vim yourself.
It should work well on any system that supports SVN.
</p>

	<p id='update_freq'>
		<strong>Note:</strong> The SVN repository is updated regularly, 
		but not immediately.  Vim's SVN repository may be a few days 
		behind the head of development.  For information on patching 
		Vim with the most up-to-date
		patches, consult the
		<a href='/download.php#patches'>information on patches</a>
	</p>

<h2>Doing it for the first time</h2>
Go to a directory where you want the Vim source tree to appear.  Use this
command to get the latest stable version of Vim (it is one line):
<p>
<table cellpadding="0" cellspacing="0" border="0">
  <tr>
    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
    <td>
      <code>svn co https://vim.svn.sourceforge.net/svnroot/vim/vim7</code>
    </td>
  </tr>
</table>
<p>
This will create the "vim7" directory and download all the Vim files and
subdirectories into it.
<br>
You may get a warning about the certificate not being valid or untrusted.  
You'll have to accept the certificate somehow (how depends on your svn client).
Complain to SourceForge if this bothers you.
<P>
Read the "vim/README.txt" file for how to compile Vim.
For Unix it's simply "cd vim/src; make".
<P>
<h2>Updating</h2>
Recent patches appear all the time.  Change into the "vim7" directory and
include the changes with this single command:
<p>
<table cellpadding="0" cellspacing="0" border="0">
  <tr>
    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
    <td>
      <code>svn update</code>
    </td>
  </tr>
</table>
<p>
You will get messages for all directories that are inspected and files that are
being updated.
<P>
<h2>Unstable versions</h2>
There are other versions available in the SVN reposository.  Currently there is 
no unstable version.  If there was you would get this with:
<p>
<table cellpadding="0" cellspacing="0" border="0">
  <tr>
    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
    <td>
      <code>svn co https://vim.svn.sourceforge.net/svnroot/vim/branches/vim7.x</code>
    </td>
  </tr>
</table>
<p>
To find out what other versions are available, use a browser to view
<a href="https://vim.svn.sourceforge.net/svnroot/vim/branches/">https://vim.svn.sourceforge.net/svnroot/vim/branches/</a>.

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