call ui.updateopts only after changing directories
This corrects --config paths.foo=bar when it's used with --cwd
#!/bin/shhg initecho a > ahg ci -d '0 0' -Amahg an aecho "[ui]" >> $HGRCPATHecho "strict=True" >> $HGRCPATHhg an ahg annotate aecho % should succeed - up is an alias, not an abbreviationhg up