[00:16] hi poolie, wgz [00:16] m4n1sh: pong [09:14] morning all [09:23] morning mgz ! [10:36] hah, mgz beats me in replying to erik's mail [10:37] :) [10:37] I normally lose that race [10:38] I'm used to hitting reply and seeing a response from jelmer 4 minutes before [10:38] * jelmer is having a slow day [15:00] hm, vila left just when I was going to bother him with some questions === deryck is now known as deryck[afk] [15:59] mgz: (gentle nudge) bzr-2.6b1 windows installers ? [16:01] maxb: beta ppa update for 2.6b1 ? [16:02] vila: 2.6.0 release? :p [16:02] hehe, I'm already late for 2.5.1, but I'm really ahead of schedule for 2.6.0 :-D [16:03] vila, things are pretty borked right now [16:03] mgz: can you elaborate ? :-) [16:04] well, explorer won't start without the mp jelmer submitted this morning [16:04] gordon needed to backport your change from post-2.6b1? [16:04] the installer work for translations still needs doing [16:05] there's not much point doing release stuff without fixing the code problems [16:05] For Windows? Why not? Microsoft has been doing it for years... [16:05] Can you summarize in a mail to the list ? [16:06] gordong did release an osx installer, which change are you referring to ? [16:06] oh, right, sry [16:06] let me check [16:07] yeah, it did include the fix for building the docs, [16:08] no comma, just read it as a period ;0) [16:08] oh crap, my printer is borked... === deryck[afk] is now known as deryck [18:20] is there a code snippet using which I can find the list of files changed for a bzr working tree using bzrlib? [18:35] m4n1sh: something like... [18:36] like if I have a WorkTree [18:36] I used open to open a repository [18:36] and then want to goto a specific commit number [18:36] mgz: and fetch the list of files changed/added/deleted in that commit [18:37] >>> from bzrlib.workingtree import WorkingTree [18:37] >>> tree = WorkingTree.open(".") [18:37] >>> lock = tree.lock_read() [18:37] >>> list(tree.iter_changes(tree.basis_tree())) [18:37] see the docstring in the code for what the bits of the tuple mean [18:37] how do I pinpoint to a specific commit? [18:38] I know iter_changes, but the name of that argument it takes was sort of cryptic [18:38] pass something other than basis_tree [18:38] like? [18:38] say I have a commit number 343 [18:38] then how do I use that method [18:39] I was stuck on iter_changed method for an hour becuase I did not figure out how to use it for a specific revision number [18:39] you turn the number into a revid, then pass the revid to revision_tree() [18:41] that's using branch and repository respectively [18:45] eg: [18:45] >>> branch = tree.branch [18:45] >>> prev_tree = branch.repository.revision_tree(branch.get_rev_id(728)) [18:45] >>> list(tree.iter_changes(prev_tree)) [18:45] iterates over changes between r728 and the current tree state [18:47] same principle if you want the differences between r728 and r729, you just get two prev trees (and can open and lock the branch rather than the working tree in the first place) [18:47] m4n1sh: does that help? [18:48] mgz: trying it out [19:03] mgz: works [19:03] I get [19:03] ('configure.ac-20110725232344-gqsb35ufn2i0pf3g-9', (u'configure.ac', u'configure.ac'), True, (True, True), ('tree_root-20110725232341-3el21lx99g2juau0-1', 'tree_root-20110725232341-3el21lx99g2juau0-1'), (u'configure.ac', u'configure.ac' [19:03] ), ('file', 'file'), (False, False)) [19:04] now how do I make out if this file configure.ac is added/removed/edited? [19:07] as I said, see the docstring (in bzrlib/tree.py InterTree.iter_changes) [19:08] the (source, target) tuple at [1] tells if you it where added, removed, or renamed [19:09] the changed_content marker at [2] tells you if it was edited [19:10] so, your example the file was changed that rev [19:12] see the code in bzrlib/delta.py for code doing this kind of thing [19:12] report_changes there takes a tuple in that form and makes pretty output === yofel_ is now known as yofel [20:43] hello [20:43] hey [20:44] can you help me with my wireless network [20:44] uhh sure, does this have anything to do with bzr though? :o [20:44] no [20:45] then why ask here? =P [20:47] idk i didnt know there was a categories thing [23:40] ok, well, it is on ml now === Riddelll is now known as Riddell