From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David De La Harpe Golden Newsgroups: gmane.emacs.devel Subject: Re: Locks on the Bzr repository Date: Sun, 22 Aug 2010 14:47:50 +0100 Message-ID: <4C712A86.30300@harpegolden.net> References: <4C6D56DB.7040703@swipnet.se> <4C6D8EC5.7040901@swipnet.se> <4C6E1F0A.7070506@swipnet.se> <837hjlr78p.fsf@gnu.org> <87zkwhtws5.fsf@uwakimon.sk.tsukuba.ac.jp> <83tymppj62.fsf@gnu.org> <871v9t8klf.fsf@uwakimon.sk.tsukuba.ac.jp> <83lj81pazq.fsf@gnu.org> <83aaogpcbu.fsf@gnu.org> <87vd737pxd.fsf@uwakimon.sk.tsukuba.ac.jp> <83occvohxc.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1282484885 24515 80.91.229.12 (22 Aug 2010 13:48:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 22 Aug 2010 13:48:05 +0000 (UTC) Cc: Tom Tromey , Eli Zaretskii , emacs-devel@gnu.org To: Leo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 22 15:48:03 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OnAu2-0007gF-Oi for ged-emacs-devel@m.gmane.org; Sun, 22 Aug 2010 15:48:03 +0200 Original-Received: from localhost ([127.0.0.1]:51110 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OnAu2-0004YC-7M for ged-emacs-devel@m.gmane.org; Sun, 22 Aug 2010 09:48:02 -0400 Original-Received: from [140.186.70.92] (port=54650 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OnAtw-0004Y7-KO for emacs-devel@gnu.org; Sun, 22 Aug 2010 09:47:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OnAtv-0003zN-J6 for emacs-devel@gnu.org; Sun, 22 Aug 2010 09:47:56 -0400 Original-Received: from harpegolden.net ([65.99.215.13]:52170) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OnAtu-0003ym-9v; Sun, 22 Aug 2010 09:47:54 -0400 Original-Received: from [87.198.54.132] (87-198-54-132.ptr.magnet.ie [87.198.54.132]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "David De La Harpe Golden", Issuer "David De La Harpe Golden Personal CA rev 3" (verified OK)) by harpegolden.net (Postfix) with ESMTPSA id 54B50683AF; Sun, 22 Aug 2010 14:47:48 +0100 (IST) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100805 Icedove/3.0.6 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:129038 Archived-At: On 22/08/10 02:47, Leo wrote: > On 2010-08-22 02:41 +0100, Tom Tromey wrote: >> There are multiple options for having multiple workspaces sharing a >> repository, e.g., "git new-workdir". > > "git new-workdir"? > Maybe the git-new-workdir contrib has been blessed into a command? Actually, I guess Tom meant the contrib, though I'm not running the latest git. If you're using the debian git packages, see /usr/share/doc/git/contrib/workdir/git-new-workdir (or see the contrib dir in the git sources). That's also (straying wildly ontopic) near where the git-bundled git.el and git-blame.el for emacs can be found, see /usr/share/doc/git/contrib/emacs/ I try to have my bzr experience close to git, so I use a "shared no-trees repository" that I make branches from launchpad and then savannah emacs into. I branch locally as I see fit within that shared repository. I then use bzr checkout --lightweight to make working tree(s) from those branches, "bzr switch" to switch a working tree between them. Using such a shared repo, doing bzr branch --no-tree trunk/ blah/ cd .. bzr checkout --lightweight emacs-repo/blah/ emacs-blah/ takes about 10-15 secs on my system, with most of the time in doing the new lightweight checkout construction rather than the branch. "bzr switch" allows use of the same dir for different branches (one at a given time) in git-like fashion and is a bit faster.