[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add Package Mercurial

From: Ludovic Courtès
Subject: Re: Add Package Mercurial
Date: Wed, 02 Oct 2013 00:04:32 +0200
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)


"Arne Babenhauserheide (IMK)" <address@hidden> skribis:

> I attached an adapted version of the patch reusing the solution from Bazaar.

Thanks.  I had to add #:tests? #f so that it would build (because
‘python test’ is not supported):

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 04a6ae2..bc24eba 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -180,6 +180,34 @@ everything from small to very large projects with speed 
and efficiency.")
    (license gpl2)
    (home-page "";)))
+(define-public mercurial
+  (package
+    (name "mercurial")
+    (version "2.7.1")
+    (source
+     (origin
+      (method url-fetch)
+      (uri (string-append ""; 
+                          version ".tar.gz"))
+      (sha256
+       (base32
+        "121m8f7vmipmdg00cnzdz2rjkgydh28mwfirqkrbs5fv089vywl4"))))
+    (build-system python-build-system)
+    (arguments
+     `(;; Restrict to python2, as python 3 would require
+       ;; the argument --c2to3
+       #:python ,python-2
+       #:tests? #f))
+    (home-page "";)
+    (synopsis "Decentralized version control system")
+    (description
+     "Mercurial is a distributed source control management tool.
+It efficiently handles projects of any size and offers an easy and intuitive
+    (license gpl2+)))
 (define-public subversion
     (name "subversion")
But that’s not great.  Do you know how to run the test suite?

> Am 01.10.2013 15:24, schrieb Ludovic Courtès:
>> FWIW I never use the Git CLI, only Magit (in Emacs), so you may want to
>> try that one.
> I thought about that. Is it already compatible with Mercurial (so the
> investment would not only help fringe usecases)?

Magit is Git-only; there’s Monky, which mimics the basic functionality
of Magit, but for hg.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]