logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: Linux in darcs: Repository not updated?: msg#00026

Subject: Re: Linux in darcs: Repository not updated?
On Wed, Feb 02, 2005 at 09:42:34AM +0200, Yuval Kogman wrote:
> Running system "rm -rf *" is really scary, especially since there's
> no warning, or prompt. I'd add something along the lines of
>       
>       use Cwd;
>       if ($force or print "Going to zap ", getcwd, "/*... OK? " && <STDIN> =~ 
> /^y/){
>               system "rm -rf *";
>       }
> 
> Aside from that the first darcs init should use $darcs.

Both fixed now.  The former I fixed by simply exiting with an error message
if not run in an empty directory.
-- 
David Roundy
http://www.darcs.net

Attachment: signature.asc
Description: Digital signature

_______________________________________________
darcs-users mailing list
darcs-users@xxxxxxxxx
http://www.abridgegame.org/mailman/listinfo/darcs-users
<Prev in Thread] Current Thread [Next in Thread>