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

Re: question about svn check out

From: David Weintraub <qazwart_at_gmail.com>
Date: Fri, 31 Oct 2008 11:05:36 -0400

You can give your folder another name during checkout. Use:

$ svn checkout http://svn.collab.net/repos/svn/trunk svn-trunk

instead of

$ svn checkout http://svn.collab.net/repos/svn/trunk

And, it will check out your files in a directory called "svn-trunk" or
whatever you want to call the folder.

David Weintraub
2008/10/31 vichy <vichy.kuo_at_gmail.com>:
> Dear all:
> when using svn co like:
> $ svn checkout http://svn.collab.net/repos/svn/trunk
> A    trunk/Makefile.in
> A    trunk/ac-helpers
> A    trunk/ac-helpers/install.sh
> A    trunk/ac-helpers/install-sh
> A    trunk/build.conf
> íK
> Checked out revision 8810.
> The svn will check out files as trunk/xxxxx
> Right now I use svn to take care kernel source code I try to modify,
> but I find I don't need the "trunk/", since it will affect my make
> fail.
> That means, I hope to check out everything below trunk to the current folder.
> I know there are several methods can help me.
> 1. after checking out, mv all files below trunk to current folder. And
> when finished modifying, mv them back to trunk and svn commit.
> 2. type each folder and file names under trunk one by one.
> Is there more convenient way to meet my requirement?
> BTW, I have used tortoisesvn, it can meet my requirement. Pick a
> folder I named and choose check out
> "http://svn.collab.net/repos/svn/trunk".
> It can copy all the files below trunk down to the named folder.
> Does it use some special option in check out or it pre-scan the folder
> and then check out it one by one?
> appreciate your help,
> vichy
Received on 2008-10-31 16:06:03 CET

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.