[Python-checkins] devguide: Mention `svn add`

antoine.pitrou python-checkins at python.org
Tue Jan 18 21:42:07 CET 2011


antoine.pitrou pushed 390af11dd156 to devguide:
http://hg.python.org/devguide/rev/390af11dd156
changeset: 126:390af11dd156
tag: tip
user: Antoine Pitrou <solipsis at pitrou.net>
date: Tue Jan 18 21:42:04 2011 +0100
summary:
 Mention `svn add`
files:
 patch.rst
diff --git a/patch.rst b/patch.rst
--- a/patch.rst
+++ b/patch.rst
@@ -68,6 +68,12 @@
 
 svn diff > patch.diff
 
+If your work needs some new files to be added to the source tree, remember
+to ``svn add`` them before generating the patch::
+
+ svn add Lib/newfile.py
+ svn diff > patch.diff
+
 To apply a patch generated this way, do::
 
 patch -p0 < patch.diff
--
Repository URL: http://hg.python.org/devguide


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /