Using one working tree

Aaron Bentley aaron at aaronbentley.com
Wed Jun 11 23:35:40 BST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Arbash Meinel wrote:
> I've been playing around with using bzr in the "one tree, many branches"
> mode.

> So the first thing I did was hack up my prompt to include $(bzr nick) as
> part of
> it.
> So I added a tiny bit of caching
> so that
> a new prompt normally takes < 100ms, which I don't notice at all.

Another option is to use "bzr shell", which includes the nick and revno
in the prompt, and saves you the startup time.

> according to --lsprof all the time is spent in "compute_transform", with
> most of
> that being 62 calls to "merge_contents", which has to extract the texts
> from the
> repository.

I'd be happy to look into that with you sometime.

> 7) switch does some weird things if you have new directories, because of
> having
> "cruft" accumulate in those directories, it doesn't remove them. So when
> you
> switch and switch back, you can get a conflict on that directory (and
> when you
> switch it shows up as something to be added.)

Yeah.  Ick.  We could allow marking .pyc files as junk...

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIUFM80F+nu1YWqI0RAjI9AJ4ybQQCcCqm5cycptw7Xk2pRIkFfwCfUKyo
dI2YMQIagGFxdZ9HIAbIsWw=
=eWxp
-----END PGP SIGNATURE-----



More information about the bazaar mailing list