emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Locks on the Bzr repository


From: David De La Harpe Golden
Subject: Re: Locks on the Bzr repository
Date: Sun, 22 Aug 2010 14:47:50 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100805 Icedove/3.0.6

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]