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

Re: .svn directories (no doubt) revisited

From: Tim Hill <drtimhill_at_comcast.net>
Date: 2006-11-17 03:47:12 CET

On Nov 16, 2006, at 5:30 PM, Ryan Schmidt wrote:

>
>> Have you tried this?
>>
>> svn co http://server/repo/foo -N
>> cd foo
>> svn co http://server/repo/foo/bar
>>
>> These commands work, but you actually have a broken working copy.
>> You will *not* get the same as:
>>
>> svn co http://server/repo/foo
>>
>> What happens is "foo" contains no record of "bar", so you end up
>> with a messed-up disjoint working copy.
>
> No, I don't use svn co -N. Yes, using it in the way you've
> described will result in weirdness. Don't do it that way. To
> accomplish what I think you want, the correct commands are:
>
> svn co http://server/repo/foo -N
> up foo
>
>
I don't do it that way -- but I keep finding others that do. It's not
clearly documented that this is not "the way" to do it, and sometimes
people make mistakes (amazing). A single .svn model would allow the
toolchain to catch this -- why is that bad?

--Tim

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 17 03:47:49 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.