Branch configuration

Robert Collins robertc at robertcollins.net
Wed Jan 25 01:52:45 GMT 2006


On Tue, 2006-01-24 at 23:40 +0100, Denys Duchier wrote:
> Robert Collins <robertc at robertcollins.net> writes:
> 
> > On Tue, 2006-01-24 at 15:22 -0600, John Arbash Meinel wrote:
> >
> >> This was an old discussion back when Robert & I wrote push at the same
> >> time. I think he *didn't* want the push target to be copied when doing a
> >> 'cp -ar' which is why he put it in ~/.bazaar/branches.conf
> >
> > Right. Making a new branch by cp or 'bzr branch' should discard
> > transient data.
> 
> I think this is loosely related to the "safe cache" issue raised by ddaa.
> My current thinking on this issue is that it can be addressed as follows:
> 
> All (user) "private" data for a branch can be stored under:
> 
> 	.bzr/private/XYZ
> 
> where XYZ is the user's private key for this branch.  Such a key can be computed
> as the sha1 of:
> 
> 	BRANCH_REALPATH:DEV:INO:USERNAME:PHRASE
> 
> or something like that, where PHRASE is an optional "private-phrase" user option
> obtained from the BranchConfig.
> 
> "bzr status" should probably warn about the (harmless) existence of
> .bzr/private/UVW where UVW is not the user's private key for this branch.

I guess transient isn't the right word. I mean data that is valuable but
should be discarded when the branch becomes a new branch - moving to a
new machine with the same homedir structure should not IMO cause that
discard to occur, and its not limited to data in my local file system
either. [for the things I am talking about like where to push]

Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060125/47a05a1f/attachment.pgp 


More information about the bazaar mailing list