hg-{fast-export,reset}.sh: always set ROOT to full path
commite8b543d74028bbe26ecd200325633cd85d70c516
authorKyle J. McKay <mackyle@gmail.com>
Sun, 26 Jun 2016 04:13:12 +0000 (25 21:13 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Sun, 26 Jun 2016 04:13:12 +0000 (25 21:13 -0700)
tree8719effbd0a9b52ae83e2b655c27996128c41d0a
parent2b2b8095f05b30721b61dc8162a424dc7e485ef2
hg-{fast-export,reset}.sh: always set ROOT to full path

The dirname utility by itself may return a relative path,
combine it with cd and pwd -P to get an absolute one instead
in a fully POSIX compliant fashion.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
hg-fast-export.sh
hg-reset.sh