shell mode problem after update to latest hg