From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.help Subject: Re: Choosing a versioning system Date: Mon, 31 Mar 2008 08:38:26 +0200 Message-ID: <87hcenjt3x.fsf@gmail.com> References: <0fadnf78Nt8kvHDanZ2dnUVZ_q7inZ2d@sysmatrix.net> <657buvF2ep4flU1@mid.individual.net> <89aaa431-b54b-4edd-9c55-adb87fb13afa@s19g2000prg.googlegroups.com> <7ec32e9d-eb2b-42b7-90bb-d24dbf9a4475@s19g2000prg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1206945552 1299 80.91.229.12 (31 Mar 2008 06:39:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Mar 2008 06:39:12 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: rustom Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 31 08:39:42 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JgDgC-0000nY-3m for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Mar 2008 08:39:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JgDfZ-0001jj-UY for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Mar 2008 02:39:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JgDfK-0001jG-32 for help-gnu-emacs@gnu.org; Mon, 31 Mar 2008 02:38:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JgDfH-0001iv-P5 for help-gnu-emacs@gnu.org; Mon, 31 Mar 2008 02:38:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JgDfH-0001is-H7 for help-gnu-emacs@gnu.org; Mon, 31 Mar 2008 02:38:43 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JgDfG-0002Jp-TR for help-gnu-emacs@gnu.org; Mon, 31 Mar 2008 02:38:43 -0400 Original-Received: from fk-out-0910.google.com ([209.85.128.189]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JgDfF-0000a3-Ff for help-gnu-emacs@gnu.org; Mon, 31 Mar 2008 02:38:41 -0400 Original-Received: by fk-out-0910.google.com with SMTP id 26so2089164fkx.10 for ; Sun, 30 Mar 2008 23:38:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:cc:subject:references:date:in-reply-to:message-id:user-agent:mime-version:content-type:content-transfer-encoding; bh=K1sJ1wHV/yorGjsZEpgOfsLGtANU2Pkc+DfMU/opX5w=; b=PoULjbqh0CFdhQDCn9pHo3D2kee+M5Cw3wXMMuc7EHg9w5CvJbf4GgIv2rMvkU1/lAUWJTHaLMW2QUFD5L7lcDEjTUj4JEMjC28VkEW6sODqRd24RFTl44jznltpK5x4br6iQ/4PJOQf65B6jeBUDY+Xf74TqHOvDNTQxGfpZow= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=from:to:cc:subject:references:date:in-reply-to:message-id:user-agent:mime-version:content-type:content-transfer-encoding; b=V6d/BiCof98f8YqkfZ2bkwtS3AEBx/L8Na+SAAGy9Q7ETuUsPcrapI1cJttZ12/5bc04ZYY46bmoLpGrdSoevu6E/AhdAEjJCPK48/Sg36zHFqKOLf25C4YrZzRRTAMqi7wqrWqw836lm8+S/t4BUqZEDRIPpMYq0HmnKRjCPw0= Original-Received: by 10.78.172.5 with SMTP id u5mr19203462hue.10.1206945509918; Sun, 30 Mar 2008 23:38:29 -0700 (PDT) Original-Received: from laptop ( [77.197.77.29]) by mx.google.com with ESMTPS id w5sm20351898mue.2.2008.03.30.23.38.28 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 30 Mar 2008 23:38:29 -0700 (PDT) In-Reply-To: <7ec32e9d-eb2b-42b7-90bb-d24dbf9a4475@s19g2000prg.googlegroups.com> (rustom's message of "Sun, 30 Mar 2008 20:55:17 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:52883 Archived-At: rustom writes: > On Mar 30, 11:59=C2=A0pm, Oleg Katsitadze wrote: >> CVS is good but has a few flaws. =C2=A0Don't use it for new projects. >> >> SVN (subversion) is a successor to CVS with the flaws fixed and new >> features added. >> >> Distributed systems (git, monotone) are good when you don't have (or >> don't want to have) a server to keep the repository. > > Yes that is my impression also. > What your reply suggests however is that we are seeing a cycle of > simple-complex-simple: > rcs -- simple (no server) > cvs,svn -- more complex because needs centralized server > modern distributed ones -- once again no need for server but with the > lock model replaced with the merge model (see > http://svnbook.red-bean.com/en/1.2/svn.basic.vsn-models.html ) > > And so I was wondering if these systems give the best of all worlds? > > But... there are just too many to choose from!! bzr, darcs, git, > mercurial, monotone... > [Alphabetically listed :-) ] > > So my question is: For people living much of their lives in emacs and > among other things trying to keep their own stuff versioned, what do > you use?? > > For the choice rcs-for-sysadmin files I see 3 options: > > -- make the ,v file next to the original file > -- make the ,v file in an RCS directory -- but that way one could end > up having tens (100s?) of RCS directories in /etc alone! > -- there is some way (I dont know of) of making one RCS repo for all > files or at least all sysadmin file. So that something like 'I keep my > home in svn' http://kitenet.net/~joey/svnhome/ is possible with RCS > RCS do one directory RCS by directory. thats mean that for /etc for example you will have one directory RCS for al= l the files you have under version in this directory. If you register a file in a subdirectory of /etc you will have a RCS direct= ory in this subdirectory ....etc.. If you use RCS for file in /etc think at unlocking the files that can be dy= namically modified by the system. But another time, if you want to put under version a big set of files like = /etc, use another version system. CVS =3D=3D> bof... SVN =3D=3D> good but a central repository. mercurial =3D=3D> very good, own repo, you can use it with dvc. git =3D=3D> seem to be the more advanced, work with dvc. bzr =3D=3D> seem good, never tried, work with dvc. With mercurial, if you want to put under version all /etc, just do while you have cd in /etc: hg init.=3D=3D> thats done, all files in /etc and all subdir are under vers= ion! --=20 A + Thierry Pub key: http://pgp.mit.edu