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

Re: svn co $file without svn update .

From: Ryan Schmidt <subversion-2009a_at_ryandesign.com>
Date: Tue, 14 Apr 2009 17:29:30 -0500

On Apr 14, 2009, at 15:43, DW Dennis Wheeler wrote:

> 'svn co' (checkout) creates a new working copy of the repository
>
> I assume you already have and are working within your working copy.
> You
> don't want to create a working copy embedded inside your existing
> working copy. Subversion (and you) will get confused and not be
> able to
> update all the files properly when you least expect. If you do already
> have and are working within a working copy, then you want to do this
> instead:
> 'svn update -r rev url'

"svn update" does not accept a url parameter. It accepts a path
parameter, of the file or directory in the working copy you want to
updated.

> else, if you just want the file independent of the whole repository,
> then
> 'svn export -r rev url'
> this will get you a copy of the file(s) without any of the .svn
> versioning

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1717162

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-15 03:16:25 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.