[darcs-devel] Re: darcs patch: save long comment file so it can be reused if record f...

Ian Lynagh igloo at earth.li
Thu Dec 15 08:42:48 PST 2005


On Thu, Dec 15, 2005 at 05:04:31PM +0100, Juliusz Chroboczek wrote:
> Sorry, it needs more work.  I know it's annoying, but that's important
> missing functionality you're implementing, and I'd like it to be just
> right.
> 
> > +                             where f = ".darcs-record"
> 
> There's no reason why that should be a hidden file (one that starts
> with a dot); quite the opposite, it should be a file that newbies will
> notice straight away.
> 
> The trouble is, if you use a normal file, you'll run the risk of
> clobbering a user's file.  So you'll need to take some precautions
> against that.  The function Lock.world_readable_temp is probably what
> you'll need.

I think it would be better to put it in _darcs somewhere.


Thanks
Ian





More information about the darcs-devel mailing list