all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: "Arne Babenhauserheide (IMK)" <arne.babenhauserheide@kit.edu>
Cc: "guix-devel@gnu.org" <guix-devel@gnu.org>
Subject: Re: Add Package Mercurial
Date: Wed, 02 Oct 2013 00:04:32 +0200	[thread overview]
Message-ID: <87d2noabrj.fsf@gnu.org> (raw)
In-Reply-To: <524AD0FE.6000408@kit.edu> (Arne Babenhauserheide's message of "Tue, 1 Oct 2013 15:41:18 +0200")

[-- Attachment #1: Type: text/plain, Size: 279 bytes --]

Hi,

"Arne Babenhauserheide (IMK)" <arne.babenhauserheide@kit.edu> 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 setup.py test’ is not supported):


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1274 bytes --]

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 "http://git-scm.com/")))
 
+
+(define-public mercurial
+  (package
+    (name "mercurial")
+    (version "2.7.1")
+    (source
+     (origin
+      (method url-fetch)
+      (uri (string-append "http://mercurial.selenic.com/release/mercurial-" 
+                          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 "http://mercurial.selenic.com")
+    (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
+interface.")
+    (license gpl2+)))
+
+
 (define-public subversion
   (package
     (name "subversion")

[-- Attachment #3: Type: text/plain, Size: 452 bytes --]


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.

Ludo’.

  reply	other threads:[~2013-10-01 22:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-27 13:04 Add Package Mercurial Arne Babenhauserheide (IMK)
2013-09-27 19:20 ` Ludovic Courtès
2013-10-01 12:46   ` Arne Babenhauserheide (IMK)
2013-10-01 13:24     ` Ludovic Courtès
2013-10-01 13:41       ` Arne Babenhauserheide (IMK)
2013-10-01 22:04         ` Ludovic Courtès [this message]
2013-10-11 14:52           ` Arne Babenhauserheide
2013-10-11 20:19             ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d2noabrj.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=arne.babenhauserheide@kit.edu \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.