Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
changeset 41:ce7023fc4f71
HGpath now yields the file-URL of `hg root` if no default path is configured
| author | Franz Glasner <hg@dom66.de> |
|---|---|
| date | Tue, 21 Nov 2017 20:25:03 +0100 |
| parents | bc2df2421435 |
| children | ace5d471abbd |
| files | Makefile |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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
