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

Re: newbie checkout question

From: David L <idht4n_at_hotmail.com>
Date: 2006-04-06 20:17:25 CEST

[snip]
>>>The steps I appear to have to take in svn to get the equivalent of this
>>>cvs line:
>>>
>>>cvs co common/software/utilities/foo/bar/include common/software/
>>>utilities/foo/bar/src
>>>
>>>are the following 7 svn checkout lines:
>>>
>>>svn co -N file:///tmp/svnrepos/trunk/common
>>>svn co -N file:///tmp/svnrepos/trunk/common/software common/software
>>>svn co -N file:///tmp/svnrepos/trunk/common/software/utilities \
>>> common/software/utilities
>>>svn co -N file:///tmp/svnrepos/trunk/common/software/utilities/foo \
>>> common/software/utilities/foo
>>>svn co -N file:///tmp/svnrepos/trunk/common/software/utilities/foo/ bar \
>>> common/software/utilities/foo/bar
>>>svn co -N file:///tmp/svnrepos/trunk/common/software/utilities/foo/
>>>bar/src \
>>> common/software/utilities/foo/bar/src
>>>svn co -N file:///tmp/svnrepos/trunk/common/software/utilities/foo/
>>>bar/include \
>>> common/software/utilities/foo/bar/include
>
>Sorry, no, wait, that's wrong. The first command should be a checkout; all
>subsequent commands should be updates. Otherwise you've got unrelated
>working copies nested within each other, which isn't the idea.
>
>svn co -N \
> file:///tmp/svnrepos/trunk/common
>
>svn up -N \
> common/software \
> common/software/utilities\
> common/software/utilities/foo \
> common/software/utilities/foo/bar
>
>svn up \
> common/software/utilities/foo/bar/src \
> common/software/utilities/foo/bar/include
>
>Note that with -N you still get all files in the various directories; it's
>only subdirectories that are omitted.
>
>Note also that -N is considered broken. Whether it's too broken to be of
>use to you, you'll have to decide on your own, just be aware that some
>things might be weird when you use this option.
>
>http://subversion.tigris.org/issues/show_bug.cgi?id=695
>
>

I think I've found that this problem is already logged as an enhancement
request
in the subversion database:

http://subversion.tigris.org/issues/show_bug.cgi?id=823

As you mentioned, the -N option is broken and this enhancement needs -N to
work. :(

Thanks again...

                           David

_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 6 20:18:45 2006

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.