[darcs-users] Can't download darcs 2.0.1rc2

Trent W. Buck trentbuck at gmail.com
Tue Jul 8 06:55:46 UTC 2008


On Tue, Jul 08, 2008 at 07:34:40AM +0100, Eric Y. Kow wrote:
> On Tue, Jul 08, 2008 at 13:10:41 +1000, Trent W. Buck wrote:
>> I suggest patching src/Darcs/Utils.lhs to implement "view_file" on
>> top of get_viewer, similar to how get_editor and edit_file behave.
>> It's extremely sensible to try running more, then cat, if less
>> can't be executed -- even on Unix.
>
> Darcs already does this.  Please see src/Darcs/External.hs [...]
> There is a known mystery issue with darcs which causes the problem
> originally reported in this thread.

Ah, my mistake for not bein' familiar with all the code.  Withdrawn.

>   if isTerminal && lengthGreaterThan (20 :: Int) (lines $ renderString msg)

Ever thought of using $LINES instead of (and falling back to)
hard-coded 20 :: Int?


More information about the darcs-users mailing list