=== sagaci_ is now known as sagaci [12:55] hi [12:56] i have a slight issue understanding something. i understand there can be two types of repositories that i have on my hard drive, one is a repository from which i can create new checkouts (and could act as a central repo) and another one needs the original repository to work. is that correct? [12:58] you are probably thinking about branches vs lightweight checkouts? [12:58] possibly [12:58] a branch has the entire history [12:58] how do i create either of them? [12:58] a lightweight checkout doesn't have history [12:59] as in, the commands [12:59] or it could be a checkout of a repository, which means that it needs to access the repo to pretty much do anything [12:59] ah yes, i am probably thinking branch vs checkout [12:59] is there a reliable way to tell those two apart? [12:59] http://doc.bazaar.canonical.com/latest/en/user-reference/init-repository-help.html [13:00] let me look at that very quickly [13:01] http://doc.bazaar.canonical.com/latest/en/user-reference/checkouts-help.html [13:01] the difference between branches and a heavy checkout is the 'location' to where it commits [13:01] as in if its bound or not [13:02] not sure how to tell a branch from a checkout [13:03] would this not register in the branches registered somewhere in bzr metadata? [13:03] im sure it is [13:03] not sure if there is any nice command to tell [13:04] see i have four source trees here [13:04] i did a heavyweight branch just before the central server got hit by a meteorite [13:04] o.o [13:05] it's one of them and i need to figure out which [13:05] well [13:05] also, one of these trees which is what i have been working out of is a lightweight checkout [13:05] if its a lightweight checkout [13:05] then it WONT have history [13:05] the other 3 options it should still have history. [13:05] yeah [13:05] and it should not matter which one it is [13:06] if i go there and do cat .bzr/branch/branch.conf then it shows me bound = True and bound_location = sftp://whatever [13:06] that is evident of it being a lightweight checkout right? [13:06] not necessarilly [13:06] A checkout is created with the bzr checkout command (see “help checkout”). You pass it a reference to another branch, and it will create a local copy for you that still contains a reference to the branch you created the checkout from (the master branch). Then if you make any commits they will be made on the other branch first. This creates an instant mirror of your work, or facilitates lockstep development, where eac [13:06] h developer is working together, continuously integrating the changes of others. [13:06] However the checkout is still a first class branch in Bazaar terms, so that you have the full history locally [13:07] just means that when you commit, its gonna commit to the remote place first [13:07] and then commit locally [13:07] basically mimics svn in a way [13:07] so how can i tell if a checkout is lightweight? [13:07] try doing bzr log on it [13:07] i guess [13:07] where is the difference in meta data? [13:08] i am not that exierenced in bzr's internals so im not sure [13:08] what should it do? bzr log [13:08] well [13:08] bzr log wont work if its lightweight [13:08] cause it has no history [13:08] one sec let me try a lightweight checkout [13:08] thanks [13:08] i currently do not have any working bzr infrastructure so can't check myself [13:10] hi AuroraBorealis, cheater_ [13:11] hi jelmer [13:12] it seems a lightweight checkout [13:12] just doesnt have a .bzr/repository folder [13:14] heh [13:15] all the source trees have that [13:15] funny! [13:16] AuroraBorealis: right, the point of a lightweight checkout is that is uses a branch/repository that is located elsehwere [13:16] yeah [13:16] he just lost his remote repository [13:16] but since none of his source trees are lightweight, they should still have all the history [13:16] up to the point from when they were last updated / merged / whatever [13:17] cheater_: what's the problem you're trying to solve exactly? [13:17] yeah there is actually no discrepancy in what commits they contain [13:17] as in all the source trees are up to date [13:17] i did a heavyweight branch just before the central server got hit by a meteorite [13:17] thats his problem [13:17] :> [13:18] jelmer: i have been working on a single-person project with just one main branch, using a "centralized" workflow with a bzr repo being available via sftp off a server, and a local checkout on my home computer [13:18] the server doesn't exist anymore [13:18] i want to resume my work [13:18] cheater_: you should be able to unbind your local branch, if it was a heavyweight checkout [13:18] just before the server went away i came in here anticipating it, and you guys told me to do some specific kind of checkout or branch [13:18] i guess you told me to do a branch [13:18] so i did [13:19] ok how do i do that jelmer? [13:19] bzr unbind probably [13:19] let me try that then [13:19] cheater_: if it's a heavyweight checkout, then "bzr unbind" should work [13:20] let me just make a copy of that dir [13:21] nice [13:21] i just added a file and committed [13:21] Committed revision 42. [13:22] funny thing given that i started reading the hitchhiker trilogy lately.. [13:22] ok, great! [13:22] =P [13:23] and branching works too [13:23] amazing [13:23] thanks a lot guys [13:24] :D [13:24] there might still be some life left in this project [13:24] back it up again though :> [13:25] yeah it's backed up [13:25] raid is backup, right? [13:26] Hi. I'm trying to find the bzr library API. The link in the manual points to http://starship.python.net/crew/mwh/bzrlibapi/ but that's empty [13:26] Anywhere else I can look? [13:26] well i meant on another server =P [13:26] AuroraBorealis: heheh, i was just kidding. === cheater_ is now known as cheater2 === yofel_ is now known as yofel === Noldorin_ is now known as Noldorin [21:50] is there some option I can pass to disable the progress bar? [22:49] gutworth, I think -q may do it [22:57] mm, too bad it's not global [23:00] isn't there an env var? [23:05] BZR_PROGRESS_BAR beautiful [23:56] hey wgz [23:56] err, mgz :-) [23:59] I'm... not really still awake