# HG changeset patch # User Franz Glasner # Date 1511292303 -3600 # Node ID ce7023fc4f71a523c366486e9b5e3b8b95ea836b # Parent bc2df242143593d7f1e3b08607dff98b27943159 HGpath now yields the file-URL of `hg root` if no default path is configured diff -r bc2df2421435 -r ce7023fc4f71 Makefile --- a/Makefile Tue Nov 21 19:59:56 2017 +0100 +++ b/Makefile Tue Nov 21 20:25:03 2017 +0100 @@ -26,7 +26,7 @@ HGREVISION= ${:!hg id -R "${SRC}" -q!} HGDATE= ${:!hg log -R "${SRC}" -r "${HGREVISION:S/+//}" --template '{date|isodatesec}'!} HGAUTHOR= ${:!hg log -R "${SRC}" -r "${HGREVISION:S/+//}" --template '{author|person}' | ${TR} ' ' '+'!} -HGPATH= ${:!hg paths -R "${SRC}" default!} +HGPATH= ${:!hg --config ui.paginate=never path -R "${SRC}" default || echo "file://`hg root`"!} do-extract: ${MKDIR} ${WRKSRC}/bin