I ran into another machine which got stuck on that 'hg style' issue I reported in Getting around a tool repository which is not updating and I got mad enough to start looking at it. We've still got path dependencies in BFU to stuff inside SWAN and I was hoping we could get away from it with the new tools.
I started trying to figure out where the Python script was that was being run. I wanted to find the hard-coded reference to /ws/onnv-tools/onbld/etc/hgstyle. Knowing that I had just seen a Flag Day on this, I looked in Flag day: new default output style for Mercurial. And the solution was staring right at me!
Mark had coded it correctly, no path hardcoding! I could simply change:
[ui] username=Mark J. Nelsonstyle=/ws/onnv-tools/onbld/etc/hgstyle
to be:
[ui] username=Mark J. Nelsonstyle=/opt/onbld/etc/hgstyle
Sweet, great to have my faith restored and an effective solution.
But now I need to really fix the automount maps in the lab, we keep on tripping over this issue with a stale repository and we have a working one we should be using.