From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Tue, 6 Jul 2010 06:28:17 -0400 To: 9fans@9fans.net Message-ID: In-Reply-To: <6f2f9d16c4f7c17d01bdf4f389e164ea@isd.dp.ua> References: <6f2f9d16c4f7c17d01bdf4f389e164ea@isd.dp.ua> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] replica/applylog reports "a" for deletions Topicbox-Message-UUID: 3cdd2686-ead6-11e9-9d60-3106f5b1d025 > Is there a particular reason for replica/applylog to masquerade file > deletions as additions? Or that's just a typo? i'm pretty sure this code does remove files. DoRemove: USED(checkedmatch1); assert(ismatch(name)); chat("a %q %luo %q %q %lud\n", name, rd.mode, rd.uid, rd.gid, rd.mtime); if(donothing) break; >> if(remove(local) < 0){ error("removing %q: %r", name); skip = 1; continue; } - erik