Q: Keeping the repository elsewhere via a symlink for .bzr

Eric Siegerman lists08-bzr at davor.org
Tue Mar 15 16:09:39 UTC 2011


On Tue, 2011-03-15 at 13:46 +0100, John Arbash Meinel wrote:
> ([...] you can
> always just 'mv' the .bzr directory in some other lightweight
checkout.)

Be aware that *some* of the references to other bzr trees, which
live in (at least) .bzr/branch/branch.conf, are stored as
relative pathnames, and so might need to be adjusted manually
after moving or copying .bzr -- or its entire containing tree --
from one place to another.  This is certainly true of the
parent-branch reference, but possibly others too.  Adjusting them
is easy; they're all stored in text files with straightforward
formats, so just use a text editor.

In this particular situation, that shouldn't be an issue, as the
reference in question (in .bzr/branch/location) is stored as a
URL; but it needs to be kept in mind in the general case.

  - Eric





More information about the bazaar mailing list