aboutsummaryrefslogtreecommitdiffstats
path: root/doc/CODING-GUIDELINES
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-07-23 02:50:25 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-07-23 02:50:25 +0000
commit1e98de70e70d3b6cfa673ec34981eb1b07cf4c08 (patch)
tree44b99d3e99f7bfae693ab46a5841227d8ec35474 /doc/CODING-GUIDELINES
parent809c05e8007f4cd2a5f9137052840fa90f7cbdee (diff)
update to mention svn instead of cvs
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@38089 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'doc/CODING-GUIDELINES')
-rw-r--r--doc/CODING-GUIDELINES14
1 files changed, 6 insertions, 8 deletions
diff --git a/doc/CODING-GUIDELINES b/doc/CODING-GUIDELINES
index b68a20093..85f94fcc4 100644
--- a/doc/CODING-GUIDELINES
+++ b/doc/CODING-GUIDELINES
@@ -14,17 +14,15 @@ To be accepted into the codebase, all non-trivial changes must be
disclaimed to Digium or placed in the public domain. For more information
see http://bugs.digium.com
-Patches should be in the form of a unified (-u) diff, made from the directory
-above the top-level Asterisk source directory. For example:
+Patches should be in the form of a unified (-u) diff, made from a checkout
+from subversion.
-- the base code you are working from is in ~/work/asterisk-base
-- the changes are in ~/work/asterisk-new
+/usr/src/asterisk$ svn diff > mypatch
-~/work$ diff -urN asterisk-base asterisk-new
+If you would like to only include changes to certain files in the patch, you
+can list them in the "svn diff" command:
-If you are changing within a fresh CVS/SVN repository, you can create
-a patch with
-$ cvs diff -urN <mycodefile>.c
+/usr/src/asterisk$ svn diff somefile.c someotherfile.c > mypatch
* General rules
---------------