[darcs-users] Error with send --context

David Roundy droundy at abridgegame.org
Fri Sep 24 11:06:51 UTC 2004


On Wed, Sep 22, 2004 at 07:35:04AM -0700, Brian Theado wrote:
> On Sat Sep 18 11:50:43 EDT 2004, David Roundy wrote:
> >> C:\TEMP\darcs-test\repo1>darcs changes --context > 
> >> ..\context.txt
> >>
> >> C:\TEMP\darcs-test\repo1>darcs send 
> >> 
> >> Fail: Bad context!
> >
> > My guess is that you may get a better result if you
> > try ../context.txt
> > rather than ..\context.txt. 
> ...
> 
> It isn't clear to me whether it is 'darcs changes
> if somehow the dos '>' redirection is doing line
> translation.  Either scenario would surprise me.  

Probably it's the darcs changes.  Darcs writes to standard output, which
perhaps ghc opens in text mode.  I guess we could call hSetBinaryMode on
stdout... perhaps we should always do so?
-- 
David Roundy
http://www.abridgegame.org




More information about the darcs-users mailing list