* bug#41093: --with-commit only works with git repos
@ 2020-05-05 12:28 Hartmut Goebel
2020-05-05 19:00 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Hartmut Goebel @ 2020-05-05 12:28 UTC (permalink / raw)
To: 41093
guix build --with-commit only works with git repos
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.)
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#41093: --with-commit only works with git repos
2020-05-05 12:28 bug#41093: --with-commit only works with git repos Hartmut Goebel
@ 2020-05-05 19:00 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2020-05-05 19:00 UTC (permalink / raw)
To: Hartmut Goebel; +Cc: 41093
Hi,
Hartmut Goebel <h.goebel@crazy-compilers.com> 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’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-05 19:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-05 12:28 bug#41093: --with-commit only works with git repos Hartmut Goebel
2020-05-05 19:00 ` Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.