|
Public Subversion Source Control Repostory
|
|
We have set up a public source control
Subversion (SVN) repository.
You can online browse via http://colinux.svn.sourceforge.net/viewvc/colinux/ to see any files,
view revisions and changelogs - simply, the whole history of coLinux.
Everyone can pull from this repository as read-only. Only developers can push changes.
Here' a short guide to get you started. Please make sure you read the Guided Tour of Subversion before asking questions in the mailing list. This short tutorial should help in the first steps. Follow these steps in order to create your own local workspace from the public repository.
-
Get or build a copy of a SVN client software for your platform
-
CoLinux has the main branches stable and devel.
Lets check your svn installation by getting the list of branches:
$ svn list http://svn.code.sf.net/p/colinux/code/branches
devel/
nlucas/
stable/
Detailed instructions for using SVN on this server finds on SourceForge.
-
You can checkout the latest development revision from branch devel using:
$ svn checkout http://svn.code.sf.net/p/colinux/code/branches/devel colinux
...
A colinux/Makefile.linux
A colinux/NEWS
A colinux/Makefile
Checked out revision 633.
-
Now you have the last revision, with all history informations.
View the history:
$ cd colinux
$ svn log --verbose --limit 10
------------------------------------------------------------------------
r633 | henry | 2007-05-11 19:11:48 +0000 (Fri, 11 May 2007) | 8 lines
Changed paths:
M /branches/devel/Makefile.winnt
M /branches/devel/bin/build-colinux.sh
M /branches/devel/bin/build-common.sh
M /branches/devel/bin/build-kernel.sh
M /branches/devel/src/colinux/os/winnt/user/install/premaid.sh
[org.colinux.devel @ 3ecd1b492d024a493afee1546246896e17390177]
* Preserve dates on stripped files
* Move creation of vmlinux-modules.tar.gz form build-common.sh and
premaid.sh to build-kernel.sh, 3 files as hard links now.
...
The line '[org.colinux.devel @ 3ecd1b492d024a493afee1546246896e17390177]' marks an import from older versions control system 'Monotone' and is independent for SVN.
-
Or optionally, you can look at the list of tags on a particular version or snapshot; we
will use the version tagged as snapshot-20070303.
First get the list of tags:
$ svn list http://svn.code.sf.net/p/colinux/code/tags
0.6.1/
0.6.2/
...
snapshot-20061003/
snapshot-20061117/
snapshot-20070303/
Get the version tagged as snapshot-20070303 now:
$ svn checkout http://svn.code.sf.net/p/colinux/code/tags/snapshot-20070303 colinux
-
That's it, you're done! You will now find yourself with a checked out
working copy in the directory colinux, which you can edit,
merge, commit, etc.
In the future, you can update new versions from the server using this pair of commands:
$ cd colinux
...
$ svn update
...
-
If you are a side contributor who doesn't have 'write' privileges but would
like to send a patch, you can run the 'diff' command in order to produce it:
$ svn diff
|