mirror of
https://github.com/frej/fast-export.git
synced 2026-01-22 22:22:03 +01:00
Add command line flag to dump found versions
Add `--debug` command line flag which dumps the detected versions of Mercurial and Python. This will probably help future debugging when unexpected versions are used.
This commit is contained in:
@@ -86,6 +86,14 @@ case "$1" in
|
||||
echo ""
|
||||
echo "$LONG_USAGE"
|
||||
exit 0
|
||||
;;
|
||||
|
||||
--debug)
|
||||
echo -n "Using Python: "
|
||||
"${PYTHON}" --version
|
||||
echo -n "Using Mercurial: "
|
||||
hg --version
|
||||
exit 0
|
||||
esac
|
||||
|
||||
IS_BARE=$(git rev-parse --is-bare-repository) \
|
||||
|
||||
Reference in New Issue
Block a user