Subversion

From FaithHighway Wiki

Jump to: navigation, search

!!! Important !!! If, you not sure in result - use VisualSVN Server for local testing. If you will crash something - we will banish you on galley... or push you fix SermonConnects bugs. Not joke... !!! Important !!!

Contents

[edit] Working rules

  • Try to write good comments
  • Do logical commits. If you did changes for different tasks - do several commits with different comments.
  • If commit was made because of some Trac ticket, comment should be like:
 #ticketNumber Comment text
 Example
 #345  New type of filter (current user) was added.

[edit] Merging

[edit] Merging rules

1. Be sure you understand this process before use SVN merge on real repo. Please read:

2. Download VisualSVN Server play with branches on local test repository.

3. !!! In your Working Copy commit all changes before do any merging. This will let you make easy revert if something will be wrong.

4. In Merge dialog of TortoiseSvn use Diff, after Dry Run and only after Merge

5. !!! After merge in WC do commit with comments.

Merge changes from trunk to your brunch:

MERGE /path/to/trunk/ RevFrom:RevTo
Example:
MERGE /trunk/ 146:151 

Merge your changes from your brunch:

MERGE /path/to/brunch/ RevOfBrunch
Example:
MERGE /brunches/anton_dataset_changing/ 157

[edit] Tools for SVN merge

* http://subversion.tigris.org/merge-tracking/
* http://kenkinder.com/svnmerge/

[edit] Locking and all around...

We do not need it right now, but just to have information.


[edit] Tools

[edit] Training materials



Do not read this - just not to foreget sometinh

Personal tools