How to update tree using bzrlib

Viktor Nagy viktor.nagy at gmail.com
Sun Feb 22 13:02:10 GMT 2009


I think you could check out the integration documentation under
http://bazaar-vcs.org/bzr/bzr.dev/doc/developers/integration.txt

There I've found:

  from bzrlib import workingtree
  wt = workingtree.WorkingTree.open('/home/jebw/bzrtest')

and then you should run

wt.update()

I think.

V

--
Viktor Nagy - http://viktornagy.com
PhD student
Toulouse School of Economics


2009/2/22 Nicholas Allen <nick.allen at onlinehome.de>

> -----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?
>
> Nick
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkmhSukACgkQ1+i51gqqEGk9VACgpH51tFu8j0bQ0t80yTFHcgZk
> 5NUAn3VyXkLLG7jZ+cuNoTBhyEA+HBrn
> =CH0S
> -----END PGP SIGNATURE-----
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20090222/4d988b4d/attachment.htm 


More information about the bazaar mailing list