[darcs-users] quadratic _user_ time when recording!

John Meacham john at repetae.net
Fri Jan 11 01:41:18 UTC 2008


On Wed, Jan 09, 2008 at 03:50:18PM -0500, David Roundy wrote:
> On Jan 7, 2008 4:40 AM, Simon Marlow <simonmarhaskell at gmail.com> wrote:
> > Isaac Dupree wrote:
> > > This is strictly(?) a user-interface bug:
> > >
> > > I have lots of unrecorded changes (say, n hunks).  I want to record them
> > > into logical patches (say, m patches... m is likely proportional to n).
> > >   Darcs can only record one patch at once, so I have to go through the
> > > decreasing list of hunks each time... O(n*m) of my human time!
> >
> > Emacs and darcsum mode alleviate this quite a bit, becauase you get to
> > navigate the list of hunks in the editor and select/deselect the ones you want.
> 
> fwiw, this is why the --gui option was in darcs, but noone wanted to
> maintain it (including myself), so it got dropped.  A lot of the
> trouble was the use of wxhaskell, which is pretty severely
> unmaintained.

What I tend to do in this case is record the various patches I am
concurrently working on right away, then use 'amend-record' to add hunks
to them as I write them.

        John

-- 
John Meacham - ⑆repetae.net⑆john⑈


More information about the darcs-users mailing list