[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: fetching older repo snapshots

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Sat, 13 Sep 2008 18:13:54 -0500

On Sep 13, 2008, at 4:54 PM, Robert P. J. Day wrote:

> from http://svnbook.red-bean.com/nightly/en/svn.tour.history.html:
> "In addition to all of the previous commands, you can use svn
> update and svn checkout with the --revision option to take an
> entire working copy ?back in time?: [7]
> $ svn checkout -r 1729 # Checks out a new working copy at r1729
> ?
> $ svn update -r 1729 # Updates an existing working copy to r1729
> ?
> "
> first, are those two variations exactly equivalent? is there a
> reason to choose one over the other?

"svn checkout" checks out a new working copy.
"svn update" updates an existing working copy.

> also, if they're equivalent, i suspect the wording "you can use svn
> update and svn checkout with the --revision option ..." should be
> changed to "you can use svn update ***or*** svn checkout with the --
> revision option ...", lest newbies get the impression that they
> need to invoke both for some reason.

Book feedback should be sent to the book mailing list. See the
section "Feedback/Contributing" at http://svnbook.org/

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-14 01:14:45 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.