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

Re: getting files from a project..

From: Gary Thomas <gary_at_mlbassoc.com>
Date: 2005-05-02 21:45:56 CEST

On Mon, 2005-05-02 at 12:36 -0700, bruce wrote:
> hi..
>
> i can do a svn checkout /proj/svn/foo and i get the project files in a
> working copy dir.
>
> however, if i simply want to get the files without the additional 'svn'
> stuff/files' how could i do it...
>
> or would i have to get the project using the 'svn checkout' and then delete
> the svn related files....

$ svn help export
export: Create an unversioned copy of a tree.
usage: 1. export [-r REV] URL [PATH]
       2. export [-r REV] PATH1 [PATH2]

  1. Exports a clean directory tree from the repository specified by
     URL, at revision REV if it is given, otherwise at HEAD, into
     PATH. If PATH is omitted, the last component of the URL is used
     for the local directory name.

  2. Exports a clean directory tree from the working copy specified by
     PATH1, at revision REV if it is given, otherwise at WORKING, into
     PATH2. If PATH2 is omitted, the last component of the PATH1 is used
     for the local directory name. If REV is not specified, all local
     changes will be preserved, but files not under version control will
     not be copied.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon May 2 21:51:36 2005

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