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

Re: [PATCH] Hackathon project: Dumping viewspec

From: Julian Foad <julianfoad_at_apache.org>
Date: Sun, 18 Mar 2018 19:38:42 +0000

Branko Čibej wrote:
> On 18.03.2018 13:43, Julian Foad wrote:
>> Branko Čibej wrote:
>>> On 16.03.2018 18:33, Julian Foad wrote:
>>>> Suggested exercises for the reader (you, plural):
>>>>
>>>>    * implement a UI to choose the output format (currently 'svn info
>>>> --viewspec' is hard-coded to produce that 'format 2')
>>>
>>> Why?
>>
>> To experiment with the two existing implementations of "recreate WC
>> from a viewspec" -- which are direct command-line cmds and
>> svn-viewspec.py.
>
> Again, why? Pick one and use it. [...]

Gosh, it was only a suggestion! You are permitted to disregard it.

[...]
>> We need to design and implement the APIs that we will need to make an
>> efficient implementation.
>
> I disagree. I've seen no overwhelming argument in favour of requiring
> new APIs for this. Your argument is "efficiency" but in terms of what?
> [...]

Maybe I'm wrong but we discussed this at the hackathon and didn't see a
way to do the operation efficiently (data throughput, time taken) with
the current APIs.

I haven't looked further into this, but what I think is the core of the
problem is there's no way to generate a WC directory with its depth set
to 'infinity' but sparse inside, without checking out the whole tree.

When you (or someone) can demonstrate otherwise, then all your other
suggestions will make sense.

- Julian
Received on 2018-03-18 20:38:49 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.