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

Re: Understanding clones and the file system

From: <peter.westlake_at_arm.com>
Date: 2001-08-03 11:12:56 CEST

On 2001-08-02 21:17:57 Bruce Atherton wrote:
>At 04:28 PM 02/08/2001 +0100, peter.westlake@arm.com wrote:
>
>
>
>>On 2001-08-02 15:51:43 Ben Collins-Sussman wrote:
>> ><peter.westlake@arm.com> writes:
>> >
>> >> Hmm... so what rune would get you
>> >>
>> >> trunk/paint/Makefile
>> >> trunk/paint/canvas.c
>> >> ...
>> >
>> > $ svn checkout http://foo.com/svn/repo/trunk
>> >
>> > ...assuming that there are no other siblings of "paint" in trunk.
>>
>>Wrong assumption :-)
>
>Couldn't you just do:
>
> $ svn checkout http://foo.com/svn/repo/trunk/paint -d trunk/paint
>
>or am I missing something? Are you looking for something that would still
>allow you to version the trunk directory?

Your command would have exactly the right effect, but I don't
want to have to type "trunk/paint" twice. Yes, I'm lazy, and
I'm not even ashamed - it's one of Larry Wall's "three virtues
of programming"!

As Ben points out, it isn't really possible to get an actual versioned
working copy of "trunk" (with revision = N, say) without getting all of
its contents, because if it doesn't have all of its contents then it
isn't revision N of trunk by definition. I hadn't thought of that.

The net result of this is that I would like an option that is like -d
but takes the path off the end of the URL. It's a trivial convenience,
not anything high priority, obviously.

Peter.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:35 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.