[00:24] lifeless: do you have some time to talk? [00:25] sure [00:26] how would you like to talk? [00:27] thumper: ^ [00:27] lifeless: voice probably [00:27] ok [00:27] skype me baby [00:27] ok, just getting a game down for maia [00:29] jelmer: yeah, replied [00:29] lifeless: trying to skype, no answer [00:29] thumper: sorry missed it [01:19] jelmer: you around by any chance at all? [01:19] mwhudson: somewhat :-) [01:19] jelmer: awake enough to talk about bzr-hg and incremental imports at all? [01:20] or just a basic grounding in mercurial concepts i guess [01:21] mwhudson: Yeah, though planning to get some sleep soonish [01:21] mwhudson: anything in particular you'd like to know? [01:22] jelmer: hm, i guess i'd like to know what remote.branches(unknowns) returns [01:22] this seems to be a use of the word 'branch' i don't usually use [01:22] is a branch a run of commits with a single parent? [01:24] mwhudson: IIRC yes [01:25] mwhudson: so that allows you to mainly worry about merge commits and not waste any roundtrips on simple ones [01:25] jelmer: ok, that makes some kind of sense [01:26] jelmer: i like the ample docstrings and meaningful variable names in the mercurial source btw [01:26] [01:26] :-) [01:28] jelmer: so unknowns takes a set of revision ids and returns ... what? the branches that contain the unknown revisions ? [01:28] er [01:28] remote.branches [01:29] my memory is failing [01:29] * jelmer grabs the mercurial source [01:31] jelmer: dude! [01:31] yet more great patches! [01:31] james_w: hey! [01:34] mwhudson: unknowns the variable contains a set of revisions we have yet to fetch the branches for [01:35] it seems branches for each revision walks back until it reaches a rev with 2 or 0 parents [01:35] each *passed* revision [01:35] mwhudson: when we fetch a branch we check if we know the base of that branch - if we do we know we don't have to check that branches' parents - the revisions we have to fetch are in between the base and the head of that branch [01:36] mwhudson: which revisions we need from that branch we figure out later using a binary search [01:36] ok, this is starting to make sense [01:38] anyone familiar with the bazaar api? [01:38] blunted: somewhat [01:39] i cant figure out how to get the url of a branch from its object [01:39] branch.base [01:40] jelmer: i still don't get where we can decide to limit the revisions we fetch [01:40] i guess it's going to make the function quite a bit more complicated [01:41] thanks much, the documentation i've found doesn't seem to include attributes... maybe i'm missing something [01:41] mwhudson: I'm sorry, I might've been more optimistic about that when my brain had lost the impression of what this function is doing :_) [01:41] jelmer: heh heh [01:42] mwhudson: we definitely can't do much before the binary search [01:51] mwhudson: yeah, I think it'd indeed be too hard [01:52] mwhudson: it's a pity though, because you'll still have to process a lot of data you're going to discard later [01:52] jelmer: i don't really understand how all the revisions from a completely unseen branch end up in the returned set :/ [01:52] mwhudson: branches that aren't seen at all are already present locally [01:53] jelmer: i mean a branch where neither head nor root are present locally [01:53] it seems to me at some point you need to add all the revs from between(head, root) to the returned set [01:54] mwhudson: the returned set isn't a set of revisions to fetch, it's the set of tips that's missing [01:55] hmm [01:55] I should get some sleep before I talk more nonsense [01:55] jelmer: oh [01:55] jelmer: yes, probably sleep is good :-) [01:56] that last sentence ( mwhudson: the returned set isn't a set of revisions to fetch, it's the set of tips that's missing) is gibberish [01:56] jelmer: noted [01:57] g'night! [01:58] jelmer: talk you you on your monday i guess [01:58] mwhudson: yeah, happy to continue discussing this then - I guess it's not really urgent until the majority of the imports are fixed anyway? [01:59] jelmer: no not really [01:59] jelmer: it would be nice to make the code that passes limit= in the puller uniform across branch types [01:59] but that's no big deal [03:00] http://imggmi.info/DSC-1268362455.jpg/ do my tits look big? === zekopeko_ is now known as zekopeko [03:04] * igc lunch [05:10] I started a bit early today, so I'm off. Happy weekend everyone! [07:30] hi all ! [08:46] * igc dinner === weigon_ is now known as weigon [09:18] Hi [09:18] I get this error message in my apache log: No handlers could be found for logger "bzr" [09:18] What's causing this? [09:42] how do I purge a file completely from a bzr repository? I believe that doing bzr remove will leave traces of the file in older revision (please correct me if I'm wrong), so this doesn't suffice [09:44] yes, with difficulty [09:46] I believe it at least makes sense to expect for such a feature from bzr, because it's file-based [09:46] hm, it's not very file based [09:47] it would be harder for git, because excluding a file would change the sha checksum for that revision snapshot totally [09:47] that's not to do with file-ness, that's to do with identifying revisions based on content hashes [09:47] you can use fast-export/import for this, I think [09:48] or rebase [09:49] evanton: It has more to do with the fact that people already have the full history in their own branches [09:49] If you kill a revision afterwards, their branch will be inconsistent with the master branch [09:49] sjamaan: not a problem in my case, since the branch is unique, but I see your point [09:50] I was thinking about building a branch mirror revision by revision, from the moment when the file I want to purge was included [09:50] and just recommiting each revision without including that file [09:51] does this make sense? [10:08] I get this error message in my apache log: No handlers could be found for logger "bzr". What's causing this? [10:08] i'd like to use bzr with LP, but still keep using darcs for local development. now i'm curious if it is possible to configure bzr-explorer to use bzr-fast-import on certain repo and then push branch to LP. similar when pulling from LP (using fast-export) ? === jelmer_ is now known as jelmer [10:21] i'm not sure whether hats in explorer are working here [10:29] I read http://bazaarvcs.wordpress.com/2010/03/01/bazaar-explorers-killer-feature article but do not see docs about adding one's own hats [11:03] After installing the bzr desktop bundle on OS X, I don't see any new apps under Applications, and "bzr explorer" says "unknown command". How do I open the explorer on OS X? [11:03] sjamaan: what bzr plugins says? [11:04] gour: Just a sec [11:07] gour: It lists qbzr, but not explorer [11:07] sjamaan: then it's not installed (properly) [11:08] gour: Then what can I have done wrong? I simply downloaded the desktop bundle and clicked through its installer [11:08] I retried using custom installation, but that doesn't make a difference [11:08] sjamaan: i do not know mac, but maybe it's not part of bundle? [11:09] gour: I don't know mac either (helping out a colleague), but the docs all point to the bzr download page, and say you should download the desktop bundle as it contains explorer [11:10] "The latest Bazaar 2.x application bundles for OS X include Explorer. In some cases, you still need to install Qt binaries separately. See http://wiki.bazaar.canonical.com/MacOSXDownloads for details." [11:10] [http://doc.bazaar.canonical.com/explorer/en/install-osx.html] [11:10] hmm [11:10] There's only one desktop bundle too, only for the previous release [11:11] Luckily the OS X version matches my colleague's OS X version [11:11] :-) [11:34] jeez, if I understand correctly the bundle is broken in some way and you need to go download a new version of the Qt SDK from the Trolltech site [11:34] WTF [11:35] [ http://www.oak-tree.us/blog/index.php/2009/05/12/pyqt-mac ] [11:36] :-/ [11:37] Or pay up and upgrade to 10.6, coz that works [11:37] :) [11:37] That SDK is 550 Mb [11:38] * sjamaan wonders how others were able to get bzr working on their macs [11:38] It's not exactly obvious [11:54] Was wondering if someone could give me a real quick answer (not been able to find this out on the docs). How can I "unstage" files or rather reset the current working tree? (I think that's the terminology) [11:57] huntz0r: I think you're looking for "bzr revert". [11:58] Thats the one!! Cheers hmeland_! === salgado-afk is now known as salgado === mrevell is now known as mrevell-lunch [12:39] I'm looking for a howto for using bzr and I find the documentation not in depth enough. Is there another source available with more info? [12:41] * SamB_XP hands BjornW a pair of 3D glasses [12:41] BjornW: what did you try? [12:42] I'm trying to setup a workflow for 2 people where one is on Windows and I'm on Ubuntu. [12:44] BjornW: and ? [12:44] BjornW: you can use it as both are on the same machine [12:45] What I would like to achieve is have 1 master branch and merge from our local branches [12:45] does the 'dozer have an SSH account on your machine ? [12:45] SamB_XP: nope [12:45] or on some machine you both have accounts on? [12:46] SamB_XP: I think we can setup a server [12:50] it's really quite simple to use bzr over ssh ... did you look at the wiki ? [12:51] oh, and if by some chance the project you are (going to be) working on happens to be open source, you could just use launchpad instead of setting up your own server [12:53] SamB_XP: would love to use LP, but this is not my project and the other person does not want to make this floss :( [12:53] fear not -- that would only simplify it a teensy bit [12:56] well, I mean, once you get the permissions set up on the server so that you can both push to whatever branches you keep there [12:57] the issues involved are really no different from those you see with darcs or git, except that bzr works a lot better on Windows than I remember darcs working there :-) [13:15] BjornW_: getting anywhere ? [13:15] SamB_XP: I'm now setting up my server. Just created a bzr repo [13:17] Trying to fix this issue for future collaboration as well :) [13:17] * gour is quite satisfied with darcs, but will use bzr for publishing branches on LP [13:19] BjornW_: http://wiki.bazaar.canonical.com/SharedRepositoryTutorial says that setting the permissions on a directory to "02770" should keep everything bzr puts under the directory group-writable [13:20] at least, if you use bzr+ssh:// and not sftp:// [13:20] :( [13:21] sjamaan: ? [13:21] It looks like my attempt to switch our company over to bzr has failed [13:21] oh [13:21] what are you using now ? [13:21] svn [13:21] could be worse! [13:21] True :) [13:21] The GUI situation for OS X is horrible [13:22] I heard about a professor who was making everyone in his class use CVS, and called the use of the CLI "unprofessional"! [13:22] heh [13:22] wait, what CVS GUI were they using then? [13:22] tortoise? [13:22] It's pretty good [13:23] I think he was suggesting they use, say, Emacs' integration [13:23] haha [13:23] Tortoise is Windows only, isn't it? [13:23] SamB_XP: thanks! [13:23] idnar: er ... maybe ? [13:24] idnar: yeah [13:24] Most schools are still 100% windows === mrevell-lunch is now known as mrevell [13:58] SamB_XP: how can I use a different user with bzr+ssh? Something like bzr+ssg://anotheruser@myserver.com/repos/trunk? [13:58] bzr+ssh [15:01] how can I branch from a branch only a specific directory? Is this even possible? [15:03] BjornT: no, this (partial checkouts) is not supported (yet) === TheLyle is now known as IslandUsurper === salgado is now known as salgado-lunch === beuno is now known as beuno-lunch [16:20] What do people in here generally use to handle 3-way merging when you encounter conflicts? [16:21] and how do you integrate w/ kde? I remember last time I did this trying to call kdiff... [16:22] and it would open the .THIS, .OTHER, and .BASE files... [16:22] Hrmm. I guess I'm just a n00b at 3-way merging in general. [16:22] * NfNitLoop does some more googling. [16:24] NfNitLoop: I'm pretty sure there is some integration for things like kdiff in qbzr [16:24] but I have no experience with them [16:31] jelmer: so it does. Thanks. [16:31] Apparently I was just missing the point where 3way merge tools don't bother copying the modified .THIS over the versioned file for you. I assumed I was doing something wrong. :p [16:36] Oh well, it ended up being trivial anyway. (My changes win!) :p === radoe_ is now known as radoe === deryck is now known as deryck[lunch] === salgado-lunch is now known as salgado === beuno-lunch is now known as beuno === mnepton is now known as mneptok === deryck[lunch] is now known as deryck === kfogel is now known as jimb_intestines === jimb_intestines is now known as kfogel === khmarbaise_ is now known as khmarbaise [20:24] i can't seem to find a way to check out an earlier revision [20:25] aspidites: bzr branch -r [20:25] "bzr branch -r 123" "bzr revert -r 123" "bzr update -r 123" [20:25] Depending on what you want. [20:25] jelmer: wow. that easy? how did i not see that. Thanks! [20:25] "bzr checkout -r 123" too! :D [20:30] btw, is there a preferred method of resolving conflicts? doing "bzr merge" "bzr resolve filename" is what got me in this situation in the first place === zekopeko_ is now known as zekopeko [20:30] adding a bunch of <<<<'s and >>>'s to the file in question. [20:35] aspidites: the preferred method is to actually resolve your conflicts before running 'bzr resolve filename'. [20:35] resolve just *marks* the file as resolved, a human (i.e.: you) still has to make sense of the differnces and choose how to integrate them. [20:36] This is not unique to bzr, by the way. SVN and CVS have this same behavior. [20:37] There are a couple ways to actually do the resolving, though. [20:37] 1) Read the file and remove the >>>> <<<< bits, making sure what code you leave in is how you want the merge to go. [20:38] 1b) then run bzr resolve. do that on all files. Then do 'bzr commit' to finish your merge. [20:38] Or 2) Use a GUI 3-way merge tool for more complicated merges. as jelmer recommended to me earlier, qbzr has some integration for that. [20:39] so I did: bzr qconflicts. Double-clicked on each of my conflicts, merged changes in my GUI diff viewer. Copied the .THIS file over the versioned file, then ran 'bzr resolve'. [20:44] NfNitLoop: thanks, i will try that [21:00] so if i understand correctly, the >>>'s etc are added during a merge to note conflicts. i then decide after sifting through the files which changes i want to commit, then do resolve on each of those files? [21:01] aspidites: You edit the file somehow to what you want, and then you use "bzr resolve" to tell bzr that you've resolved the conclits. [21:01] Err. [21:01] conflicts* === salgado is now known as salgado-afk [22:01] hey, I made a commit, and then pulled and had some conflicts which I couldn't handle at that time of day, so I did 'bzr revert', which for some reason removed my commit and all the changed made with it [22:01] how do I undo revert? [22:02] I know the files are reachable, since I had commited [22:02] just like bzr uncommit lets you undo, so can bzr revert be undone? [22:03] Milo-: Did you do a 'bzr pull --overwrite'? [22:03] or a 'bzr merge'? [22:03] actually, bzr update, checked my logs.. [22:04] ah, this is a bound branch? [22:04] yes [22:04] wasn't bound when I committed. [22:04] right, so you had local commits, then did an update, got conflicts, then reverted... [22:04] Hrmm. [22:04] yup [22:04] did you do any commits after that? [22:04] no [22:04] that's good. :p [22:04] what does 'bzr status' say? [22:05] says clean [22:05] Hrmm. Sounds like revert is acting differently on bound branches? *reads* [22:05] well, clean as in I have a lot of uncommitted changes, mainly binaries and such [22:05] ahhh meh [22:05] there is "dir.moved" [22:06] I failed to see that .moved earlier:) [22:07] likely what you'll have to do is find the old commit in your log, resurrect it as a new branch, and merge those changes back in. [22:07] Don't know how to get that commit from the log, since it is not visible [22:07] it's not in ~/bzr.log? [22:08] oh, didn't know about such log : [22:09] yeah, so when you update a bound branch, it tries to merge your stuff with upstream. When you reverted... [22:09] well, usually revert only reverts files, did you do revert --forget-merges too? [22:10] just 'bzr revert' [22:10] or do you have pending merges in your 'bzr status'? [22:10] not according to bzr status [22:10] NfNitLoop: 'bzr revert' will discard pending merges. 'bzr revert .' won't. [22:11] just FYI [22:11] ah [22:11] oh? Is that new? [22:11] that explains it [22:11] NfNitLoop: no [22:11] Huh. I guess maybe I added the '.' when I ran it before without realizing. [22:11] NfNitLoop: revert with no args reverts everything; revert of any path only reverts that path [22:12] there were no harm done when it nuked some of my source code [22:12] Milo-: so when you ran revert, it reverted to upstream's branch. [22:12] yeah seems so [22:12] and you no longer have a reference to your commit in your history. [22:12] so you have to go pluck it out of your log. [22:12] no need [22:12] I Only had spent 40 minutes on that feature anyways [22:12] re-made the whole feature with better quality in less than 10 minutes :P [22:13] hehe. [22:13] that's how you'd get around that, though. [22:13] came here to ask how it is done, in case I actually need something like that in the future [22:13] without the log... I'm not sure what you would do. [22:13] anyone else have a suggestion? [22:20] heads [22:28] fullermd: ah, handy. [22:28] I figured there was a tool like that, but hadn't poked around bzrtools enough to find it. [23:30] wow... i'm impressed with bzr-svn, merged in new changes without me doing anything. [23:30] jelmer: thanks :) [23:30] Kamping_Kaiser: isn't it awesome? [23:30] NfNitLoop: it just is. [23:31] We use SVN at work and I use bzr for all my local branches for just that reason. [23:31] Well, plus I don't have to pollute the central repo w/ all my branches. [23:31] And when our SVN server goes down I can keep on working. :p [23:31] :) [23:32] interesting. patches are replayed on top. wondered where the -rewrite dependency came from [23:33] Kamping_Kaiser: it depends on how you do your development. [23:33] but bzr-svn will warn you if they're not going to be linear when you try to push back to svn. [23:34] NfNitLoop: I only deal with r/o svn repos, so i haven't had a chance to encounter that yet [23:35] Oh. Then I'm not sure what you meant by "patches are replayed on top". [23:35] (or, for that matter, "the -rewrite dependency.") [23:36] NfNitLoop: bzr-svn in debian recommends bzr-rebase (which iirc is now bzr-rewrite) [23:38] NfNitLoop: and i was mistake about the replay, the changes were merged, but they don't have a commit associated with them [23:45] Kamping_Kaiser: If the branch you merge from doesn't exist on the svn server, then its revisions can't be recovered when you check out trunk again. [23:45] It results in a so-called 'ghost' revision. [23:46] wgrant: itdoes exist - i pulled it with svn into its own branch, and with bzr into a branch i modify