[svk-commit] r2758 - trunk/lib/SVK/Command

nobody at bestpractical.com nobody at bestpractical.com
Fri Apr 25 11:24:10 EDT 2008


Author: clsung
Date: Fri Apr 25 11:24:08 2008
New Revision: 2758

Modified:
   trunk/lib/SVK/Command/Branch.pm

Log:
- documentation about initialing project from properties

Modified: trunk/lib/SVK/Command/Branch.pm
==============================================================================
--- trunk/lib/SVK/Command/Branch.pm	(original)
+++ trunk/lib/SVK/Command/Branch.pm	Fri Apr 25 11:24:08 2008
@@ -520,8 +520,27 @@
 =head1 DESCRIPTION
 
 SVK provides tools to more easily manage your project's branching
-and merging, so long as you use the standard "trunk,branches/,tags/"
+and merging, so long as you use the standard "trunk/, branches/, tags/"
 directory layout for your project or specifically tell SVK where
 your branches live.
 
+SVK branch also provides another project loading mechanism by setting
+properties on root path. Current usable properties for SVK branch are 
 
+  'svk:project:<projectName>:path-trunk'
+  'svk:project:<projectName>:path-branches'
+  'svk:project:<projectName>:path-tags'
+
+These properties are useful when you are not using the standard 
+"trunk/, branches/, tags/" directory layout. For example, a mirrored
+depotpath '//mirror/projA' may have trunk in "/trunk/projA/" directory, 
+branches in "/branches/projA", and have a standard "/tags" directory.
+Then by setting the following properties on root path of
+remote repository, it can use SVK branch to help manage the project:
+
+  'svk:project:projA:path-trunk => /trunk/projA'
+  'svk:project:projA:path-branches => /branches/projA' 
+  'svk:project:projA:path-tags => /tags'
+
+Be sure to have all "path-trunk", "path-branches" and "path-tags"
+set at the same time.


More information about the svk-commit mailing list