[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: Blair Zajac <blair_at_orcaware.com>
Date: Sat, 13 Sep 2008 15:00:22 -0700

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? 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.

Yes, they do the same thing. You can't use update to check out a new working
copy, but you can use checkout in a working copy and it'll behave like update.

Regards,
Blair

-- 
Blair Zajac, Ph.D.
CTO, OrcaWare Technologies
<blair_at_orcaware.com>
Subversion training, consulting and support
http://www.orcaware.com/svn/
---------------------------------------------------------------------
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 00:00:51 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.