monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] fatal: std::logic_error: ../roster.cc:800: invarian


From: Nathaniel Smith
Subject: Re: [Monotone-devel] fatal: std::logic_error: ../roster.cc:800: invariant 'I(has_root())' violated
Date: Wed, 3 May 2006 02:50:42 -0700
User-agent: Mutt/1.5.11

On Tue, May 02, 2006 at 09:04:21PM -0700, Bryan Woods wrote:
> I've attached the debug file and the (empty) database I was playing  
> with.

Thanks for the report!  It looks like the problem is just that
"get_manifest_of" doesn't work on totally new workspaces (ones where
you've run 'setup', but haven't added any files yet).  This is because
of a silly little technicality in how we set up workspaces at the
moment -- every tree needs to have a root directory, but right now
'setup' doesn't create that, instead it's automatically created the
first time you add something.  So, no worries, just add something and
then things will be fine.

Why _don't_ we create the root dir at setup-time?  Graydon, do you
remember?  (I know this came up at some point, but I don't remember
what was said.  Maybe just "oh well, we already wrote it the other
way, why bother switching"?)

-- Nathaniel

-- 
"But in Middle-earth, the distinct accusative case disappeared from
the speech of the Noldor (such things happen when you are busy
fighting Orcs, Balrogs, and Dragons)."




reply via email to

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