monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Tailor


From: rghetta
Subject: Re: [Monotone-devel] Tailor
Date: Wed, 11 Oct 2006 13:03:01 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060910 SeaMonkey/1.0.5

Brian May wrote:
Hello,

Anybody here familiar with tailor?
Running tailor with the -D (debug) and -v (verbose) options might be useful to diagnose the problem. With -D you should get all monotone output, including error messages.

> I suspect what is happening here is the input repository:
> * renamed a file statistics to statistics/squid
> * created a new directory called statistics
Can you create a file and a directory with the same name ? I suppose the real sequence was something like
 * rename statistics to temp
 * create a new directory statistics
 * rename temp to statistics\squid
Baz (or the baz backend on tailor) apparently collapses these three operations into one, yielding an invalid changeset.

> However, monotone is getting confused because tailor has called
> monotone commands in the wrong order, and it still thinks statistics
> should be a file, not a directory.
Tailor always executes renames before additions.
IHMO the source repository is corrupt or the backend outputs impossibile operations (renaming statistics to statistics/squid makes no sense). Note that all renames involving statistics fail, suggesting a problem with this directory.

I can't even see a call to add "statistics" as a dir. Curious.
Directory addition in Tailor adds only the directory itself, without files. Directory addition in Monotone is recursive, and adds also contained files and directories. Due to Tailor internals, this difference can interfere with renames, so the monotone backend strips away directory additions (note that adding a/b adds automagically the directory a).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]