How to update tree using bzrlib
Nicholas Allen
nick.allen at onlinehome.de
Sun Feb 22 13:14:04 GMT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Robert Collins wrote:
> On Sun, 2009-02-22 at 13:54 +0100, Nicholas Allen wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>>
>>> I saw there is an update method on the Branch class. Is this the right
>>> method to call or is this only for bound branches. Will this fail if the
>>> branch doesn't have a tree?
>> It seems this method only updates from master location but does not
>> update the working tree. I notice there is a class called WorkingTree
>> and it has an update method. How do I obtain the WorkingTree object for
>> a branch though?
>
> If they are colocated its branch.bzrdir.open_workingtree()
Thanks ;-)
>
> I suggest(urge, beg etc) that you use the email configuration bzr-email
> does, rather than different settings.
What do you mean by that? Do you mean to use the settings in
~/.bazaar/bazaar.conf?
I figure the email notifier may want to use different settings and needs
to be configured with a settings file anyway. I guess if those settings
are missing I could look at the other settings.
Nick
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkmhT5oACgkQ1+i51gqqEGnL5QCght/L1LaNKAmcOzok5hz4i1sy
9acAoJ+XBDaKkUJe4HS0H7uYgjoxj4ti
=QiFp
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list