Print GIT_DIR or GIT_WORK_TREE if they are set
Avoid running mr in vcsh shell (bare)
Avoid running mr inside vcsh shell (work repo)
Make nonpub mr warn GIT_DIR or GIT_WORK_TREE
Merge branch 'mr'

Avoid operating on the wrong repository (eg. inside vcsh shell)