From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <8285b4008fef8bcf263dbc36f93351b9@isd.dp.ua> To: 9fans@9fans.net From: yaroslav Date: Tue, 6 Jul 2010 13:41:32 +0300 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Subject: Re: [9fans] replica/applylog reports "a" for deletions Topicbox-Message-UUID: 3ceb3352-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. no doubts about what it does, but rather what it says to the user: … DoRemove: USED(checkedmatch1); assert(ismatch(name)); chat("a %q %luo %q %q %lud\n", name, rd.mode, rd.uid, rd.gid, rd.mtime); … I guess there should be chat("d %q %luo %q %q %lud\n", …) instead. Or do I miss something?