Deactivation error

Joshua Root jmr at macports.org
Fri Feb 17 23:54:20 PST 2012


On 2012-2-18 08:15 , Blair Zajac wrote:
> :msg:deactivate --->  Deactivating mercurial @2.0.1_0+bash_completion
> :debug:deactivate
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mercerial/locale/zh_CN/LC_MESSAGES/hg.mo
> does not exist.
> 
> 
> Looks like the filename list has a typo in it with "mercerial" instead
> of "mercurial".

That's odd, since any files that don't exist (e.g. the user deleted
them) should just be skipped in deactivate. Maybe there's a consistency
check in the registry code and the actual_path doesn't match the path.
I'd go with Dan's theory and check the paths with sqlite3(1).

In any case it looks like the code should be made to just give a warning
when that happens.

- Josh


More information about the macports-dev mailing list