=== DarkLinkXXXX is now known as DarkLinkXXXX_ === DarkLinkXXXX_ is now known as XX_DarkLink_XX === hloeung is now known as Guest69603 === Guest69603 is now known as hloeung [07:26] xnox: :-D [07:27] xnox: ln -s /usr/bin/bzr ~/bin/bar [14:59] hi all. how can i verify that a working tree in bzrlib is a lightweight checkout of a branch? [15:05] `bzr info`? [15:05] or you mean in python? [15:13] mgz: with bzrlib in python, yes [15:15] workingtree objects have a branch attribute you can inspect to see which it is [15:18] and the lightweight checkout chek goes something like: [15:19] `tree.user_url != tree.branch.user_url` [15:19] dobey: hope that helps [15:20] mgz: branch being a bzrlib.branch.Branch? [15:20] right, but you get one created for you whenever you construct a tree [15:21] you probably want to start: [15:21] `d = controldir.ControlDir.open(location); tree = d.open_workingtree();` [15:22] and catch some exceptons from open_workingtree [15:22] right. already have one because tarmac creates a Branch from the launchpadlib branch, without yet opening the working tree [15:23] then you have some fun, because you can't go from less specific to more specific in general [15:23] you'd want to reopen the location of the branch as a new object [15:23] yeah, it does. [15:24] i just wanted to make sure the type was what i thought it was [15:25] if user_url is the right thing to check for that, it should do though. thanks === mbarnett` is now known as mbarnett === thomi_ is now known as thomi === SamB__ is now known as SamB === lifeless_ is now known as lifeless