[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#41093: --with-commit only works with git repos
From: |
Ludovic Courtès |
Subject: |
bug#41093: --with-commit only works with git repos |
Date: |
Tue, 05 May 2020 21:00:11 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hi,
Hartmut Goebel <address@hidden> skribis:
> guix build --with-commit only works with git repos
Yup, as documented (info "(guix) Package Transformation Options"). :-)
> I would expect it to work with mercurial repos, too, as basically this
> is just setting a value in the source definition. (At least this is what
> I would assume it does.)
And Subversion, and Monotone, and CVS… but no, this is not
implemented. ;-)
The implementation is different from what you suggest: it uses a
<git-checkout> record instead of an <origin>. That performs a checkout
beforehand and uses that as the source.
Closing, but you can open a wishlist item if you want.
Thanks,
Ludo’.