monotone-devel
[Top][All Lists]
Advanced

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

adding directories (was Re: [Monotone-devel] listing unknown directories


From: Nathaniel Smith
Subject: adding directories (was Re: [Monotone-devel] listing unknown directories)
Date: Mon, 27 Nov 2006 13:09:19 -0800
User-agent: Mutt/1.5.13 (2006-08-11)

On Mon, Nov 27, 2006 at 10:55:28AM -0800, Rob Schoening wrote:
>    Incidentally, the 0.31 change where mtn add is non-recursive by default is
>    much welcomed.  This was causing me to have to undo a lot of "mtn add"
>    operations by editing the files in _MTN.  For anyone that is interested,
>    the situation usually went like this:
> 
>    You have the following directory structure:
> 
>    a/
>    a/b
>    a/c
> 
>    And then create a directory x, which is a sibling of a:
> 
>    x/
> 
>    And then move b and c into x
> 
>    x/b
>    x/c
> 
>    And then want to commit.  Monotne would tell me "x is unknown" so then I
>    would add x, only to realize moments later that it had added b and c, when
>    what I really wanted it to do was add x and *move* b and c.

FWIW, with both 0.30 and 0.31 you should just be able to say "mtn
rename a/b x/b" and have monotone automatically notice that "x" is
unversioned and add it non-recursively.

-- Nathaniel

-- 
"The problem...is that sets have a very limited range of
activities -- they can't carry pianos, for example, nor drink
beer."




reply via email to

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