Re: [Monotone-devel] Unnamed directory in a changeset

2007-01-26 Thread Julio M. Merino Vidal

On 25/01/2007, at 18:55, Richard Levitte - VMS Whacker wrote:

In message [EMAIL PROTECTED] on Thu,  
25 Jan 2007 17:49:53 +0100, Julio M. Merino Vidal  
[EMAIL PROTECTED] said:


jmmv84 For some reason, monotone is adding an unnamed directory to my
jmmv84 changeset.  I have hit this several times already (with 0.31
jmmv84 and 0.32, IIRC, but possibly earlier versions too).

This is by design, and only happens with the initial add to a new
project.  That unnamed directory is the top level directory of your
project tree.  Why it exists exactly?  Uhmm, I'm not savvy with
regards to the reasons, but I imagine it's so the top-level files can
be attached to *something*.

Nothing to worry about, it's normal.


Ah, ok.  Thanks for the info.

This didn't appear before, right?  I mean, is this a new thing added  
with

the merge of the rosters branch a while ago?  Because I never noticed it
until now; just being curious.

--
Julio M. Merino Vidal [EMAIL PROTECTED]




___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] Unnamed directory in a changeset

2007-01-26 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Fri, 26 Jan 2007 09:55:36 +0100, Julio M. 
Merino Vidal [EMAIL PROTECTED] said:

jmmv84 On 25/01/2007, at 18:55, Richard Levitte - VMS Whacker wrote:
jmmv84 
jmmv84  This is by design, and only happens with the initial add to a new
jmmv84  project.  That unnamed directory is the top level directory of your
jmmv84  project tree.  Why it exists exactly?  Uhmm, I'm not savvy with
jmmv84  regards to the reasons, but I imagine it's so the top-level files can
jmmv84  be attached to *something*.
jmmv84 
jmmv84  Nothing to worry about, it's normal.
[...]
jmmv84 This didn't appear before, right?  I mean, is this a new thing
jmmv84 added with the merge of the rosters branch a while ago?

Yes, it came with the rosters.

jmmv84 just being curious.

Good!  Curiousity will make you a learned man.

Cheers,
Richard

-- 
Richard Levitte [EMAIL PROTECTED]
http://richard.levitte.org/

When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up.
-- C.S. Lewis


___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


[Monotone-devel] Unnamed directory in a changeset

2007-01-25 Thread Julio M. Merino Vidal

Hi,

For some reason, monotone is adding an unnamed directory to my  
changeset.  I have hit this several times already (with 0.31 and  
0.32, IIRC, but possibly earlier versions too).


This goes as such:

mkdir foo
mkdir foo/doc
touch foo/doc/a

mtn --db=foo.mtn db init
mtn --db=foo.mtn --branch=my.branch setup foo
cd foo
mtn add -R doc
mtn diff

Notice the 'add_dir ' line in the reported changeset.  This seems  
to be

harmless, but is incorrect.  In fact, it seems to be recorded in the
database when you do a commit so it might not be as harmless as I think.
When doing a 'mtn log':

Added files:
doc/a doc/b
Added directories:
 doc

Notice the extra single space before 'doc'.  That shouldn't be here, but
it is because of the unnamed directory being in the database (I guess).

Any idea about what's going on here?  A known bug?

Happens equally under OS X with 0.32 on HFS+ and under Fedora with 0.31
and ext3 (so it is not an issue with case unsensitivity).

Thanks.

--
Julio M. Merino Vidal [EMAIL PROTECTED]




___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] Unnamed directory in a changeset

2007-01-25 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Thu, 25 Jan 2007 17:49:53 +0100, Julio M. 
Merino Vidal [EMAIL PROTECTED] said:

jmmv84 For some reason, monotone is adding an unnamed directory to my
jmmv84 changeset.  I have hit this several times already (with 0.31
jmmv84 and 0.32, IIRC, but possibly earlier versions too).

This is by design, and only happens with the initial add to a new
project.  That unnamed directory is the top level directory of your
project tree.  Why it exists exactly?  Uhmm, I'm not savvy with
regards to the reasons, but I imagine it's so the top-level files can
be attached to *something*.

Nothing to worry about, it's normal.

Maybe we should make it more apparent in some outputs, though...

Cheers,
Richard

-
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

-- 
Richard Levitte [EMAIL PROTECTED]
http://richard.levitte.org/

When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up.
-- C.S. Lewis


___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] Unnamed directory in a changeset

2007-01-25 Thread Chad Walstrom
Julio M. Merino Vidal [EMAIL PROTECTED]  wrote:
 Notice the 'add_dir ' line in the reported changeset.  This seems
 to be harmless, but is incorrect.

This is the root directory of the first revision.  It's there on
purpose.  Someone can chime in with more specific details.
-- 
Chad Walstrom [EMAIL PROTECTED]   http://www.wookimus.net/
   assert(expired(knowledge)); /* core dump */



___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel