svn: pear/peardoc/trunk/en/chapters/ contributing.xml
[email protected] (Brett Bieber)
| Newsgroups | php.pear.doc |
|---|---|
| Message-ID | <svnbc1cf2ca3ea2f9c8529947393983ad2a1dfb92571259045693@svn.php.net> |
saltybeagle Thu, 16 Jul 2009 01:23:38 +0000
URL: http://svn.php.net/viewvc?view=revision&revision=284166
Changed paths:
U pear/peardoc/trunk/en/chapters/contributing.xml
Log:
CVS->SVN: Update contributing checkout and diff examples.
Modified: pear/peardoc/trunk/en/chapters/contributing.xml
===================================================================
--- pear/peardoc/trunk/en/chapters/contributing.xml 2009-07-16 01:03:23 UTC (rev 284165)
+++ pear/peardoc/trunk/en/chapters/contributing.xml 2009-07-16 01:23:38 UTC (rev 284166)
@@ -40,16 +40,12 @@
<para>
Before creating the patch, you must first obtain the latest sources of the
- package you wish to patch from CVS by running the commands (the package
+ package you wish to patch from SVN by running the commands (the package
in this example is Foo_Bar):
<screen>
<userinput>
-cvs -d:pserver:[email protected]:/repository login
+svn checkout http://svn.php.net:/repository/pear/packages/Foo_Bar/trunk
</userinput>
-password is <userinput>phpfi</userinput>
-<userinput>
-cvs -d:pserver:[email protected]:/repository co pear/Foo_Bar
-</userinput>
</screen>
Now that you have the latest sources, you can edit the relevant file(s).
Make sure that your patch is fully compatible with the &link.coding-standards;.
@@ -62,7 +58,7 @@
unified diff by running:
<screen>
<userinput>cd pear/Foo_Bar</userinput>
-<userinput>cvs diff -u >Foo_Bar.diff</userinput>
+<userinput>svn diff >Foo_Bar.diff</userinput>
</screen>
The resulting .diff file contains your patch. This diff makes it easy
for us to see what has been changed.