[Python-checkins] devguide: Remove "svn switch" entry
antoine.pitrou
python-checkins at python.org
Sun Feb 6 20:30:02 CET 2011
antoine.pitrou pushed 7e1c407c0aa1 to devguide:
http://hg.python.org/devguide/rev/7e1c407c0aa1
changeset: 257:7e1c407c0aa1
branch: hg_transition
user: Antoine Pitrou <solipsis at pitrou.net>
date: Sun Feb 06 20:28:04 2011 +0100
summary:
Remove "svn switch" entry
files:
faq.rst
diff --git a/faq.rst b/faq.rst
--- a/faq.rst
+++ b/faq.rst
@@ -390,36 +390,6 @@
svn update -r 39619
-Why should I use ``svn switch``?
--------------------------------------------------------------------------------
-
-If you picture each file/directory in Subversion as uniquely identified
-by a 2-space coordinate system [URL, revision] (given a checkout, you can
-use "svn info" to get its coordinates), then we can say that "svn up -r N"
-(for some revision number N) keeps the url unchanged and changes the
-revision to whatever number you specified. In other words, you get the
-state of the working copy URL at the time revision N was created. For
-instance, if you execute it with revision 39619 within the trunk working
-copy, you will get the trunk at the moment 2.4.2 was released.
-
-On the other hand, "svn switch" moves the URL: it basically "moves" your
-checkout from [old_URL, revision] to [new_URL, HEAD], downloading the
-minimal set of diffs to do so. If the new_URL is a tag URL
-(e.g. .../tags/r242), it means any revision is good, since nobody is going
-to commit into that directory (it will stay unchanged forever). So
-[/tags/r242, HEAD] is the same as any other [/tags/r242, revision] (assuming
-of course that /tags/r242 was already created at the time the revision was
-created).
-
-If you want to create a sandbox corresponding to a particular release tag,
-use svn switch to switch to [/tags/some_tag, HEAD] if you don't plan on
-doing modifications. On the other hand if you want to make modifications to
-a particular release branch, use svn switch to change to
-[/branches/some_branch, HEAD].
-
-(Written by Giovanni Bajo on python-dev.)
-
-
How do I create a branch?
-------------------------
--
Repository URL: http://hg.python.org/devguide
More information about the Python-checkins
mailing list