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

Re: Answering "in which revision was this branch created?"

From: David Glasser <glasser_at_davidglasser.net>
Date: Tue, 3 Nov 2009 16:27:41 -0800

On Tue, Nov 3, 2009 at 2:08 AM, Bert Huijben <rhuijben_at_sharpsvn.net> wrote:
>> -----Original Message-----
>> From: Julian Foad [mailto:julianfoad_at_btopenworld.com]
>> Sent: maandag 2 november 2009 18:21
>> To: Bert Huijben
>> Cc: dev_at_subversion.tigris.org
>> Subject: RE: Answering "in which revision was this branch created?"
>>
>> Bert Huijben wrote:
>> > svn log --stop-on-copy -r 1:HEAD --limit 1 -q URL
>> >
>> > Gives the answer directly.
>>
>> Wow.
>>
>> /me tries it.
>>
>> Wow.
>>
>> It really does. Who'd have thought it? What a weird user interface.
>
> I agree that its weird, but in some cases it is very useful that 'svn log'
> can reverse its answers.
>
> But 1:HEAD to retrieve just the portion of the history after the copy is
> just weird^2.

Probably still less efficient than an fs_closest_copy-based query, I'd guess.

--dave

-- 
glasser_at_davidglasser.net | langtonlabs.org | flickr.com/photos/glasser/
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2414254
Received on 2009-11-04 01:28:22 CET

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.