From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Add Package Mercurial Date: Wed, 02 Oct 2013 00:04:32 +0200 Message-ID: <87d2noabrj.fsf@gnu.org> References: <52458272.7020504@kit.edu> <8761tmoyuu.fsf@gnu.org> <524AC417.1020908@kit.edu> <87mwmtrune.fsf@gnu.org> <524AD0FE.6000408@kit.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VR88S-0000Mq-F8 for guix-devel@gnu.org; Tue, 01 Oct 2013 18:09:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VR88N-0000OP-L2 for guix-devel@gnu.org; Tue, 01 Oct 2013 18:09:40 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:49811) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VR88N-0000OK-En for guix-devel@gnu.org; Tue, 01 Oct 2013 18:09:35 -0400 In-Reply-To: <524AD0FE.6000408@kit.edu> (Arne Babenhauserheide's message of "Tue, 1 Oct 2013 15:41:18 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: "Arne Babenhauserheide (IMK)" Cc: "guix-devel@gnu.org" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, "Arne Babenhauserheide (IMK)" skribis: > I attached an adapted version of the patch reusing the solution from Baza= ar. Thanks. I had to add #:tests? #f so that it would build (because =E2=80=98python setup.py test=E2=80=99 is not supported): --=-=-= Content-Type: text/x-patch Content-Disposition: inline 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") --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable But that=E2=80=99s not great. Do you know how to run the test suite? > Am 01.10.2013 15:24, schrieb Ludovic Court=C3=A8s: >> 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=E2=80=99s Monky, which mimics the basic functional= ity of Magit, but for hg. Ludo=E2=80=99. --=-=-=--