monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Directory already exists?


From: Nathaniel Smith
Subject: Re: [Monotone-devel] Directory already exists?
Date: Tue, 18 Dec 2007 00:58:35 +0000
User-agent: Mutt/1.5.13 (2006-08-11)

On Mon, Dec 17, 2007 at 06:15:11PM +1100, Brian May wrote:
> >>>>> "Timothy" == Timothy Brownawell <address@hidden> writes:
> 
>     >> if a directory already exists, so what?  presume it was already
>     >> added by a incomplete update and continue....
> 
>     Timothy> We currently think of directories as objects, so stomping
>     Timothy> on an existing directory is just as bad as stomping on an
>     Timothy> existing file.
> 
> I consider this a good thing. If I manually created a directory and it
> conflicts with an update, chances are I didn't realize that the
> directory name was already in use. I don't want monotone to assume
> that the purpose of the new directory is compatible with the directory
> in the repository, as this may not be the case.

Well, trashing the workspace is never a good thing, no matter how
noble the intentions :-).

Could we just handle this case by issuing a warning and continuing
anyway?  Seriously, it would be like 3 lines of code and definitively
better than what we have now...

-- Nathaniel




reply via email to

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