SVN
From ArmadeusWiki
On this page we will summarize how to use SubVersioN on Armadeus Project
Contents |
Before starting
First read this: http://svnbook.red-bean.com/
Getting repository
- To checkout the project:
$ cd $HOME/somewhere $ svn co http://armadeus.svn.sourceforge.net/svnroot/armadeus/trunk armadeus
- Before beginning to do your modifications don't forget to update your view:
$ svn update
Commiting
- Only project maintainers are currently allowed to commit directly on our SourceForge SVN repository:
$ svn commit --username your_SF_id -m "What your commit does" directory/from/which/your/modifications/apply
Providing modifications
Developpers wanting to propose their development should provide us a patch against the latest SVN revision available. The process to follow is:
- Have a working and an original view, let's call them armadeus and armadeus_work
- update your views:
$ svn update
- do your modifications
- test them ;-)
- do a patch:
$ diff -urN -X armadeus/buildroot/build_arm_nofpu/linux-2.6.23.1/Documentation/dontdiff armadeus/ armadeus_work/ > my_changes.patch
- send it on the armadeus-forum mailing list
SVN examples
- Adding a directory to source control without adding its subdirectories
$ svn add -N directory_name/
- Showing latest modifications on a file:
$ svn log filename | more