You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Andy Dingley <an...@talgentra.com> on 2006/09/19 10:55:15 UTC

Any difference between results of checkout and update ?

Is there any difference between the _results_ of using either checkout
or update?  
Particularly are there differences if trying to target a specific
non-HEAD revision?

Obviously there are differences in context when they can be run
(checkout can make a new WC), but assuming I already have a live WC, is
there any circumstance when their results could vary?

Thanks   (new list member, fairly newbie for SVN)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Any difference between results of checkout and update ?

Posted by Felix Gilcher <gi...@exozet.com>.
Shure, there are circumstances where the result may differ: Checkout will
always give you a clean version which is identical to the one in the
repository while update will try to keep local modifications in your working
copy (i.e. Merge them with the changes pulled by update). You can update
parts of a working copy as well, resulting in a version that ist not
available in the repository.
If applied to a clean (i.e. Unmodified working copy) an update should give
you the same result as a fresh checkout.

Regards

felix


Am 19.09.2006 12:55 Uhr schrieb "Andy Dingley" unter
<an...@talgentra.com>:

> Is there any difference between the _results_ of using either checkout
> or update?  
> Particularly are there differences if trying to target a specific
> non-HEAD revision?
> 
> Obviously there are differences in context when they can be run
> (checkout can make a new WC), but assuming I already have a live WC, is
> there any circumstance when their results could vary?
> 
> Thanks   (new list member, fairly newbie for SVN)
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org