Edwin Thomson <[EMAIL PROTECTED]> writes: > I'm using darcs on Windows, with Putty's ssh, scp and sftp. Version > 1.0.3 has been working fine, but when I try to get a repo over ssh > using 1.0.4 I get the error: > "darcs.exe: c:/tc/test/_darcs/patches/darcs255a09: removeFile: > permission denied (Permission denied)" > > After this happens, I locally have all the patches, but no working or > pristine tree. "darcs repair" can then build the pristine tree. If > the get was partial, the checkpoint file isn't there and the tree > can't be repaired like this.
I believe this is caused by darcs trying to delete the temp file used for SFTP output, while it is still open. IIRC this has been a problem in various places because deleting an open file works everywhere but on Windows. I've sent in a patch that uses readFilePS instead of readFile, which seems to ensure that the file is closed before it is deleted. Regards, Will _______________________________________________ darcs-users mailing list [email protected] http://www.abridgegame.org/mailman/listinfo/darcs-users
