this breaks test hg share reset; i need to fix that.