Re: [PATCH] Hackathon project: Dumping viewspec

2018-03-18 Thread Philip Martin
Julian Foad writes: > 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. It might be difficult to do automatically, but there i

Re: [PATCH] Hackathon project: Dumping viewspec

2018-03-18 Thread Julian Foad
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')

Re: [PATCH] Hackathon project: Dumping viewspec

2018-03-18 Thread Branko Čibej
On 18.03.2018 13:43, Julian Foad wrote: > Branko Čibej wrote: >> On 16.03.2018 18:33, Julian Foad wrote: >>> I implemented an output format compatible with 'svn-viewspec.py' in >>> r1826990. Then I updated that output format to also support 'switched' >>> and revisions, in r1826993. This version ou

Re: [PATCH] Hackathon project: Dumping viewspec

2018-03-18 Thread Julian Foad
Branko Čibej wrote: On 16.03.2018 18:33, Julian Foad wrote: I implemented an output format compatible with 'svn-viewspec.py' in r1826990. Then I updated that output format to also support 'switched' and revisions, in r1826993. This version outputs a header declaring 'Format: 2', and svn-viewspec

Re: [PATCH] Hackathon project: Dumping viewspec

2018-03-17 Thread Branko Čibej
On 16.03.2018 18:33, Julian Foad wrote: > Johan Corveleyn wrote: >> Julian Foad wrote: >>> We need to look at using the viewspec as input next. Semantically >>> speaking, >>> these sorts of things: >>> >>> * a way to check out a new WC to match the spec; >>> * a way to modify an existing WC to matc

Re: [PATCH] Hackathon project: Dumping viewspec

2018-03-16 Thread Julian Foad
Johan Corveleyn wrote: Julian Foad wrote: We need to look at using the viewspec as input next. Semantically speaking, these sorts of things: * a way to check out a new WC to match the spec; * a way to modify an existing WC to match the spec; * a way to modify/checkout a WC of a *different* bran

Re: [PATCH] Hackathon project: Dumping viewspec

2018-03-16 Thread Johan Corveleyn
On Thu, Mar 15, 2018 at 11:19 PM, Julian Foad wrote: > Johan Corveleyn wrote: >> >> On Sun, Nov 26, 2017, Stefan wrote: >>> >>> On 25/11/2017, Stefan Sperling wrote: On Fri, Nov 24, 2017, Bert Huijben wrote: > > At the Aachen hackathon I promised to write some code to spit out t

Re: [PATCH] Hackathon project: Dumping viewspec

2018-03-15 Thread Julian Foad
Johan Corveleyn wrote: On Sun, Nov 26, 2017, Stefan wrote: On 25/11/2017, Stefan Sperling wrote: On Fri, Nov 24, 2017, Bert Huijben wrote: At the Aachen hackathon I promised to write some code to spit out the sparse definition of a working copy, or in other words some initial dumb viewspec ou

Re: [PATCH] Hackathon project: Dumping viewspec

2017-11-27 Thread Johan Corveleyn
On Sun, Nov 26, 2017 at 11:50 PM, Stefan wrote: > On 25/11/2017 16:12, Stefan Sperling wrote: >> On Fri, Nov 24, 2017 at 02:42:05PM +0100, Bert Huijben wrote: >>> Hi, >>> >>> At the Aachen hackathon I promised to write some code to spit out the sparse >>> definition of a working copy, or in o

Re: [PATCH] Hackathon project: Dumping viewspec

2017-11-26 Thread Stefan
On 25/11/2017 16:12, Stefan Sperling wrote: > On Fri, Nov 24, 2017 at 02:42:05PM +0100, Bert Huijben wrote: >> Hi, >> >> At the Aachen hackathon I promised to write some code to spit out the sparse >> definition of a working copy, or in other words some initial dumb viewspec >> output. >> >> T

Re: [PATCH] Hackathon project: Dumping viewspec

2017-11-25 Thread Stefan Sperling
On Fri, Nov 24, 2017 at 02:42:05PM +0100, Bert Huijben wrote: > Hi, > > At the Aachen hackathon I promised to write some code to spit out the sparse > definition of a working copy, or in other words some initial dumb viewspec > output. > > Testing this on a test working copy with > [[ > $ s

Re: [PATCH] Hackathon project: Dumping viewspec

2017-11-24 Thread Stefan Fuhrmann
Very nice, well done, sir! -- Stefan^2. On 24.11.2017 14:42, Bert Huijben wrote: Hi, At the Aachen hackathon I promised to write some code to spit out the sparse definition of a working copy, or in other words some initial dumb viewspec output. Testing this on a test working copy with

[PATCH] Hackathon project: Dumping viewspec

2017-11-24 Thread Bert Huijben
Hi, At the Aachen hackathon I promised to write some code to spit out the sparse definition of a working copy, or in other words some initial dumb viewspec output. Testing this on a test working copy with [[ $ svn switch --list \SharpSvn\trunk ]] I can now see output like [[ svn checkout