GNU bug report logs -
#48232
[PATCH 0/2] Add mercurial-commitsigs and some changes to Mercurial.
Previous Next
Reported by: Xinglu Chen <public <at> yoctocell.xyz>
Date: Tue, 4 May 2021 20:59:01 UTC
Severity: normal
Tags: patch
Done: Xinglu Chen <public <at> yoctocell.xyz>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
This will make Mercurial be able to find third-party extensions.
* gnu/packages/version-control.scm (mercurial)[native-search-paths]: Add
PYTHONPATH.
---
gnu/packages/version-control.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 3a1cb33fc3..9711516609 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -1709,6 +1709,11 @@ execution of any hook written in any language before every commit.")
`(("python-nose" ,python-nose)
("unzip" ,unzip)
("which" ,which)))
+ ;; Find third-party extensions.
+ (native-search-paths
+ (list (search-path-specification
+ (variable "PYTHONPATH")
+ (files '("lib/python3.8/site-packages/hgext3rd")))))
(home-page "https://www.mercurial-scm.org/")
(synopsis "Decentralized version control system")
(description
--
2.31.1
This bug report was last modified 4 years and 64 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.