From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Testing the new VC code Date: Wed, 26 Nov 2014 11:12:20 +0100 Message-ID: <878uiyb797.fsf@gmx.de> References: <20141124094929.GA32148@thyrsus.com> <87k32k51ka.fsf@fencepost.gnu.org> <20141124104616.GA1744@thyrsus.com> <87fvd8steg.fsf@gmx.de> <20141124130355.GA5432@thyrsus.com> <87bnnwqtfi.fsf@gmx.de> <20141125025054.GA20793@thyrsus.com> <87wq6j1ntp.fsf@gmx.de> <20141125134227.GB10466@thyrsus.com> <87oarv1gaf.fsf@gmx.de> <20141125211737.GA19955@thyrsus.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1416996778 31936 80.91.229.3 (26 Nov 2014 10:12:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Nov 2014 10:12:58 +0000 (UTC) Cc: David Kastrup , emacs-devel@gnu.org To: "Eric S. Raymond" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 26 11:12:51 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XtZac-0003E9-4Y for ged-emacs-devel@m.gmane.org; Wed, 26 Nov 2014 11:12:50 +0100 Original-Received: from localhost ([::1]:32933 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtZab-0000jn-Hm for ged-emacs-devel@m.gmane.org; Wed, 26 Nov 2014 05:12:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtZaR-0000Zj-2K for emacs-devel@gnu.org; Wed, 26 Nov 2014 05:12:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtZaK-0000le-KC for emacs-devel@gnu.org; Wed, 26 Nov 2014 05:12:39 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:62909) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtZaD-0000hI-3U; Wed, 26 Nov 2014 05:12:25 -0500 Original-Received: from detlef.gmx.de ([79.195.16.180]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MDymt-1XhjUg1ttP-00HP3m; Wed, 26 Nov 2014 11:12:21 +0100 In-Reply-To: <20141125211737.GA19955@thyrsus.com> (Eric S. Raymond's message of "Tue, 25 Nov 2014 16:17:37 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:eqjPbRKMtS53H4OMn68ZnhSrZy1AbVKbvN9TEXVPnVqo6Ko//eq ALPUbDLTIGBlJT4HHJCYthtHdnI6tD/HHVUaZRMsmuOf5zaMwSdETF4wP8P4208jflOvEAS CCb2+Sjz5Ytk5mJG097f9g7sx1MeNT2D50Z4lAsBaQlRHh7u4+jmTK7sJsPc41E0wQiruH7 +5MssPUCfqMlC80hDndug== X-UI-Out-Filterresults: notjunk:1; X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.15.15 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:178290 Archived-At: "Eric S. Raymond" writes: >> I could do this, using ert. The question is which repositories to use >> for tests. Something to be created on the fly, via `vc-create-repo' and >> friends? > > Yes, that way we can do content checks knowing exactly what should be in > the repository after each operation. I will try to start with a vc-tests.el when I'll return home, end of the week. However, there are several bugs waiting for me in debbugs, so I cannot promise fast progress. There is already test/automated/vc-bzr.el, testing some special bzr cases. For the time being I won't touch it; whether it shall be merged with vc-tests.el later on I don't know. >> That might work pretty well for the backends with a local repository >> (git, bzr, hg and alike), but what to do with the other ones? > > Looking...for the following ones, create-repo should just work: git, > bzr, hg, RCS, SCCS, SRC, and (somewhat to my surprise) SVN. > > We're missing create-repo methods for arch, mtn, and CVS. These are a > little tricky and need some context other than just a directory to > work in. Well, the recipes don't look too tricky. Couldn't they be added to corresponding create-repo methods in vc-arch.el, vc-mtn.el and vc-cvs.el? Best regards, Michael.