Subversion Repositories SvarDOS

Rev

Rev 1255 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1255 Rev 1259
Line 14... Line 14...
14
SvarDOS svn server at svn.svardos.org, ie. a login and password.
14
SvarDOS svn server at svn.svardos.org, ie. a login and password.
15
 
15
 
16
Subversion isn't hugely popular these days, hence people are less and less
16
Subversion isn't hugely popular these days, hence people are less and less
17
comfortable with it. But worry not - it's extremely straightforward!
17
comfortable with it. But worry not - it's extremely straightforward!
18
 
18
 
-
 
19
This is obviously not meant to be a complete manual of svn. Here you will learn
19
Here you will learn the few most basic operations that will allow you to
20
the few most basic operations that will allow you to interact with svn right
-
 
21
away. In case of more in-depth details about Subversion usage I recommend
20
interact with svn right away.
22
consulting the excellent SVN book at https://svnbook.red-bean.com/.
21
 
23
 
22
 
24
 
23
=== REPOSITORY CHECKOUT =======================================================
25
=== REPOSITORY CHECKOUT =======================================================
24
 
26
 
25
This is one time action that you need to perform so your svn client pulls the
27
This is one time action that you need to perform so your svn client pulls the
Line 38... Line 40...
38
time to time. We call it an "update":
40
time to time. We call it an "update":
39
 
41
 
40
  svn up
42
  svn up
41
 
43
 
42
 
44
 
43
=== ADD NEW FILES OR DIRECTORIES ==============================================
45
=== CREATE A NEW DIRECTORY ====================================================
44
 
46
 
45
If you need to create a new subdirectory somewhere in the repo, you can either
47
If you need to create a new subdirectory somewhere in the repo, you can either
46
ask your svn client to do it, or do it yourself and then ask your svn client to
48
ask your svn client to do it, or do it yourself and then ask your svn client to
47
track it.
49
track it.
48
 
50
 
Line 51... Line 53...
51
 
53
 
52
Option 2:
54
Option 2:
53
  mkdir newdir
55
  mkdir newdir
54
  svn add newdir
56
  svn add newdir
55
 
57
 
-
 
58
 
-
 
59
=== ADD A NEW FILE TO THE REPOSITORY ==========================================
-
 
60
 
56
If you creates a new file (new translation, new package, new code file...), you
61
If you creates a new file (new translation, new package, new code file...), you
57
need to tell svn about it so it starts to version it:
62
need to tell svn about it so it starts to version it:
58
 
63
 
59
  svn add newfile.txt
64
  svn add newfile.txt
60
 
65
 
61
Once done, you should review your changes and commit them (we will talk about
-
 
62
it below).
-
 
63
 
-
 
64
 
66
 
65
=== DELETE A FILE OR DIRECTORY ================================================
67
=== DELETE A FILE OR DIRECTORY ================================================
66
 
68
 
67
Deleting a file or directory via svn is as simple as this:
69
Deleting a file or directory via svn is as simple as this:
68
 
70