[hg] Uncatched error in hgrc update
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| OpenERP buildout recipe |
Low
|
Unassigned |
Bug Description
Here's the relevant part of the tracebak I just got in a buildbot build:
File "/srv/buildslav
self.
File "/srv/buildslav
default = parser.get('paths', 'default')
File "/usr/lib/
raise NoSectionError(
NoSectionError: No section: 'paths'
Funny thing is that 'paths' does seem to exist afterwards. It's probably a rare condition
Anyway, this one should be catched and logged, even if that means that the paths don't get properly updated.
Related branches
Georges Racinet (gracinet) wrote : | #1 |
This error occurs with me because I tried to add a new repository in the .Cfg
Which had already been previously cloned in the same directory manually.
Georges Racinet (gracinet) wrote : | #3 |
okay, I'll deal with it, it's been around long enough, thanks for the heads up !
Indeed there are plenty of reasons not to have a [paths] section in .hg/hgrc
For instance, creating the repo with hg init
Changed in anybox.recipe.openerp: | |
milestone: | none → 1.8.5 |
status: | New → Confirmed |
Changed in anybox.recipe.openerp: | |
status: | Confirmed → Fix Committed |
Changed in anybox.recipe.openerp: | |
status: | Fix Committed → Fix Released |
Got it again, it's the error one gets if a repo is changed to not be a so-called standalone any more