Use cached hg-root-dir instead of rediscovering
by a second call to (hg-root). We have the path
we need already as the value of hg-root-dir.
#!/bin/shhg init acd ahg init becho x > b/xecho '# should print nothing'hg stecho '# should print ? b/x'hg st b/xhg add b/xecho '# should print A b/x'hg stecho '# should forget b/x'hg revertecho '# should print nothing'hg st b