[darcs-users] Linux in darcs: Repository not updated?

Yuval Kogman nothingmuch at woobling.org
Wed Feb 2 07:42:34 UTC 2005


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.

Ciao!

-- 
 ()  Yuval Kogman <nothingmuch at woobling.org> 0xEBD27418  perl hacker &
 /\  kung foo master: /me spreads pj3Ar using 0wnage: neeyah!!!!!!!!!!!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20050202/dbf2b2c3/attachment.pgp 


More information about the darcs-users mailing list