Warning: Expiry date cannot have a year greater then 9999 in /home/kilandor/seditioforge.com/system/common.php on line 244
For introduction and Windows guide looke here. For more information on how to use SV - Forums - Guide: Using Seditio SVN on POSIX systems - Seditio Forge
 
> 1 <

Author Message

Trustmaster

48 posts
http://www.politehnik.info
Location: Russia Nizhny Novgorod
Occupation: University Student, Engineer/Programmer, IT Expert
Age: 23
#199   2008-01-23 16:41 GMT      
For introduction and Windows guide looke here. For more information on how to use SVN, read the SVN Book.

Here is a basic guideline for POSIX system user. I suppose that you have installed Subversion command line client package regarding to your distribution.

Creating your repository copy

  • Create a folder which will be used to store your local Seditio repository copy, e.g.
    BASH Code:

    $ mkdir /home/username/seditio
    $ cd /home/username/seditio

  • Perform SVN checkout:
    BASH Code:



Updating

  • Enter your local Seditio repository copy and run update:
    BASH Code:

    $ svn update


Making patches

  • Make sure you're creating a patch for clean unpatched repository copy.

  • Modify original files on your local disk.

  • Create a patch file using SVN diff in your local repo folder:
    BASH Code:

    $ svn diff > my_patch-v121-1.0.0.patch

  • Pack the patch file before you provide it for download:
    BASH Code:

    $ bzip2 my_patch-v121-1.0.0.patch

  • Now you may want to roll your repo copy back to original state:
    BASH Code:

    $ patch -p0 -R -i my_patch-v121-1.0.0.patch


Applying patches

  • Download the patch package and unpack it into your local repo folder:
    BASH Code:

    $ bunzip2 my_patch-v121-1.0.0.patch.bz2

  • Apply patch by invoking patch command:
    BASH Code:

    $ patch -p0 -i my_patch-v121-1.0.0.patch

  • If something went wrong, you may roll back using an example given in stage 5. of the previous section.

This post was edited by Trustmaster (2008-01-23 16:46 GMT, ago)
May the Source be with you!


Open source development, commercial support, consulting and outsourcing. Send for details.
> 1 <
Copyright © 2008 Domain.Com. All Rights Reserved.
Page created in 0.237 seconds