[12:03] It doesn't say "nothing to do" if it can't find anything mergeable. [12:04] abentley: perhaps it could say '%URL is already fully merged.' [12:05] Sure. [12:05] good morning btw === bac [n=bac@canonical/launchpad/bac] has joined #bzr === jkakar [n=jkakar@204-174-36-45.dhcp802.dsl.ucc-net.ca] has joined #bzr [12:33] abently, no, it was a bundle it couldn't read; when I opened the bundle in my editor and resaved it as utf-8, I progressed to being told it didn't have \n line-endings; when I changed it to line endings, I was told a parent revision was missing [12:34] or maybe I'm misunderstand, but based on the progression, that wasn't the scenario === jml_ [n=jml@203-113-250-169-static.TAS.netspace.net.au] has joined #bzr [12:39] lifeless: ping [12:39] pong [12:39] lifeless: I'm running bzr-pqm from gutsy and getting this error: [12:39] BzrBadParameterUnicode: Parameter content is unicode but only byte-strings are permitted. [12:39] bzr 0.18.0 on python 2.5.1.final.0 (linux2) [12:39] arguments: ['/usr/bin/bzr', 'pqm-submit', '-m', '[r=kiko] Fix #134345 (ppa-tos page), #135186 (ppa page typo), #135385 (configuration files fixes for ppa) and fix poppy to store upload with g+w permission.'] [12:40] cprov: 'bzr plugins' -> pastebin [12:40] lifeless: have you seen it before ? how can I workaround it ? [12:40] run the one from lpdebs probably === asabil [n=asabil@062016174168.customer.alfanett.no] has joined #bzr [12:41] lifeless: https://pastebin.canonical.com/53/ [12:44] lifeless: right, I have missing upgrades from lpdebs. I hope they will fix the problem. (sorry, I should have checked before). Thanks === RainCT [n=RainCT@unaffiliated/rainct] has joined #bzr [12:46] hi [12:48] I just started pushing something to a new branch in Launchpad but then I realized that I forgot to commit and aborted it (Ctrl + C). Now I get bzr: ERROR: File exists: u'/~rainct/freevial/testing/.bzr': mkdir failed: unable to mkdir each time I try to push it again, and on Launchpad on the branch's page it says Launchpad could not mirror this branch 41 seconds ago. The error was: Not a branch:. I've tried with --use-exist [12:50] RainCT: you disturbed it during the initial setup [12:50] RainCT: better to let it finish, then commit, then push again to add the additional data :) [12:50] anyhow, this should fix it [12:50] python [12:50] >>> import bzrlib.bzrdir [12:51] >>> d = bzrlib.bzrdir.BzrDir.open('sftp://bazaar.launchpad.net/~rainct/freevial/testing') === gldnspud [n=gldnspud@72.171.93.139] has joined #bzr [12:51] >>> d.create_branch() [12:51] ollie: So you are saying the directory your bundle was in was not a branch? [12:51] And not inside a branch? [12:52] lifeless: the "d = ..." says bzrlib.errors.NotBranchError: Not a branch: [12:52] lifeless: just for the record, bzr-pqm (0.13~20070226-0ubuntu2) from lpdebs is working correctly. [12:52] abentley, sorry, I guess I misunderstood. the current working directory from which I tried to merge a bundle created by someone else one a separate machine was itself a branch. [12:53] When you got "Nothing to do", it's because it was merging that branch. [12:54] ok, because it failed to read the bundle [12:54] Right. [12:55] lifeless makes a good point that it should be clearer about what it's merging. [12:55] it would have been uber-helpful if it had stated that it was unable to make any sense of what I gave it [12:55] On http, that would mean no branches would ever work. [12:56] Not to say we can't do better, of course. [12:58] not being burdened by any implemenation details, it seems completely counterintuitive to pass something to merge and be told there's nothing to do (when you're looking at the bundle in your editor and can see that there is stuff) [01:01] Well, that can also happen with bundles you've already merged, so the "editor" test isn't very conclusive. === igc [n=igc@ppp121-45-197-71.lns1.bne1.internode.on.net] has joined #bzr [01:02] morning [01:02] RainCT: ok [01:03] RainCT: you need to login via lftp or sftp and delete everything in that dir [01:03] RainCT: then you can replace the d = line with [01:03] d = bzrlib.bzrdir.BzrDir.create('sftp....') [01:03] and do d.create_repository [01:03] d.create_branch() [01:03] - first one should have been do d.create_repository() [01:04] igc: morning [01:04] morning abentley [01:04] morning lifeless [01:05] abentley, no, I understand that, but I'm not speaking the abstract -- I'm talking about a scenario where the code didn't exist in the target repo and the conversation (between bzr and I) consisted of my saying "merge it" and it saying "you're good to go!" [01:05] lifeless: and how can I connect to it? (does LP even allow it?) [01:05] anyhow, I don't mean to beat a dead horse ;-) [01:05] RainCT: 'sftp bazaar.launchpad.net' === gcostello [n=gcostell@i07v-212-195-160-152.d4.club-internet.fr] has joined #bzr [01:05] RainCT: or lftp sftp://bazaar.launchpad.net [01:06] lifeless: You wrote the hooks stuff, right? [01:06] yah [01:06] I'm not finding a lot of documentation on how it's supposed to be used. [01:07] Add an entry to the Branch dict? [01:07] via a plugin? [01:07] abentley: you want a plugin to add a new hook type, or to hook into one of the hooks ? [01:07] Hook into one of the hooks. (post-push). === mw is now known as mw|out [01:08] Branch.hooks.install_hook() [01:08] plus [01:08] e.g. [01:08] Branch.hooks.install_hook('post-push', hook_function) [01:08] and to name it, which is a UI convenience [01:09] lifeless: ok. deleted it, and python continued saying it isn't a branch, but it seems now I can push to it. Thanks :D [01:09] Branch.hooks.name_hook(hook_function, 'my-do-x') [01:09] RainCT: cool [01:09] abentley: these are on the base clsas of BranchHooks [01:09] So you install it and then name it? [01:10] yeah [01:10] naming is optional [01:10] Does it predate registries? [01:11] its just so that when pb's are showing hooks running, that slow hooks are shown as english rather than as the object's __str__ === gcostello [n=gcostell@i07v-212-195-160-152.d4.club-internet.fr] has left #bzr [] [01:11] Sure. [01:11] abentley: No, it didn't seem like a good fit [01:12] I guess each hook e.g. 'post-push' could be considered a registry [01:12] Yeah. I guess I see why you did it that way. [01:13] if you were doing it in one fell swoop, it would be something like Branch.hooks.register_hook('post_push', my_push_hook, "My push hook") [01:13] yeah. install_hook could sanely take a text_name=None parameter to allow that [01:13] the name_hook method came a release after hooks were added [01:13] Ah. [01:14] so I added a separate method so that plugins can do [01:14] if get_attr(Branch.hooks, 'name_hook', None): Branch.hooks.name_hook(...) [01:14] yeah, that's a bit of a lack in python's introspection. [01:15] you can get at the signature I believe, but its just not as easy or quick [01:15] you need the introspect module which has heinous dependencies IIRC [01:16] Hmm. [01:19] When you say Graph.heads should not be on a single-key graph layered on a multi-key graph, why do you say that for heads specifically? [01:19] Well heads was under discussion [01:19] but more generally part of the work to tune packs is going to be ensure we don't spend a chunk of time just tupling and detupling things [01:19] Do you think the same thing for find_unique_lca? [01:20] so the low level key for the revisions GraphIndex is (revision_id, ) [01:20] and the Graph object is key agnostic from what I recall - or nearly so. [01:21] that is, it really works on key_type:[key_type ...] - [01:21] so just passing in the right key type should allow everything to fit together nicely [01:21] Okay. [01:22] on text indices the low level key is (file_id, revision_id) [01:23] so theres more work involved in converting every get_parent request from get_parents(revision_id) - it goes to iter_entries([(file_id, revision_id)] ) and then that gets stripped on return to give a node with parents as (revision_id,), and finally that is restored to just revision_id at the top level adapter [01:24] Graph isn't the One True implementation of its interface. There's no need to assume such translation. [01:24] I realise that; what John was proposing had that translation. [01:25] my reply to him was pointing out that we should avoid it, in however he structured his api. [01:28] I would really like to have Graph.heads for use in reconcile, which is why I ask. [01:28] definately use it [01:28] And it seems like the only code you actually have a problem with is "g = graph.Graph(entry_vf)" [01:28] reconcile is repository format specific [01:29] so theres no impact on packs by using it like that [01:30] bbiab, grabbing breakfast [01:33] lifeless: Would a VersionedFile.get_graph() method satisfy you? Then different VersionedFile implementations can specify their Graph implementation. === sandrot [n=sandro@c-71-199-230-127.hsd1.fl.comcast.net] has joined #bzr [01:35] is there a changelog available for .90 : [01:35] ? [01:39] sandrot: There is the NEWS file. [01:39] k so I have to branch [01:40] or get tar === jml_ is now known as jml [01:41] 'pulling' from another person means that the person I'm pulling from needs to have his branch accessible to me via ssh on his own box or via a server he can 'push' or upload to right? === spiv [n=andrew@canonical/launchpad/spiv] has joined #bzr [01:44] pulling works on any of the protocols we support: http, sftp, ftp, bzr, bzr+ssh or local files. [01:48] abentley: the problem is the keys that should be returned [01:48] abentley: in many respects I want to stop using VersionedFile where dataset partitioning isn't helpful [01:48] Mmm, thanks. I was just thinking that because I keep myself behind a firewall (blocking ssh) in order to have someone pull to me I have to make my branch available to my server which accepts ssh (or other protocols), meaning that in order for me to share my branch I need to push first [01:49] lifeless: Surely untupling in VersionedFileGraph.heads isn't expensive. [01:49] abentley: if it occurs only at the interface surface it isn't a problem [01:49] occuring all the way down is a problem [01:49] Right. [01:50] So doing vf.get_graph() would allow us to avoid doing it all the way down. [01:50] ok [01:51] I guess my hesitation is trying to avoid the vf interface except where it clearly makes sense. Which is probably over-exaggerated at the moment. So vf.get_graph sounds fine. [01:52] Hmm, I think what I want to achieve is decoupling 'file history' vs 'text construction'. [01:52] file history queries tend to be one off operations, not part of large things like 'branch' 'checkout' etc [01:52] That's fair. [01:52] text construction tends to be part of things like merge, and thats where the artificial VF interface causes roundtrips. === bartt [i=bartt@nat/yahoo/x-993dbf60b0cc32cb] has joined #bzr [01:53] text insertion likewise, though we can queue that to avoid round trips more effectively [01:53] Are nested repositories working? [01:53] I don't seem to be able to add a nested repository. [01:54] E.g. bzr add path/to/nested/repository only reports # of ignored files [01:54] lifeless: You are the person who wants to select graph ancestors on a per-file basis, though. [01:54] bartt: You cannot add a tree into another tree. [01:55] abentley: I don't think I'm the *only* person :). [01:56] Yes, but surely doing VersionedFileGraph.find_unique_lca is the obvious approach. [01:56] abentley: per file lookups can be grouped though [01:56] thats the obvious approach, and as long as the repo its being queried on is local it will perform fine === cypherbios [n=cyr@ubuntu/member/cypherbios] has joined #bzr === poolie [n=mbp@ppp112-44.static.internode.on.net] has joined #bzr === jml_ [n=jml@ppp108-61.static.internode.on.net] has joined #bzr [02:05] And at present, the repo being queried is always local. === jml_ is now known as jml === cprov [n=cprov@canonical/launchpad/cprov] has joined #bzr [02:08] abentley: I thought that nested tree support was added in 0.15? [02:08] So more reviews today from me starting with abentley's TreeTransform rollback one [02:08] bartt: No, only support code. It is not complete. [02:09] abentley: were you planning to tweak anything following Kuno's feedback or should I review it as is? [02:09] Thanks abentley [02:10] igc: The only thing is that I should handle errors creating the pending-deletion directory the same way as errors creating limbo are handled. [02:11] abentley: I was hoping you'd say that [02:11] I'll go ahead and review and ask for that tweak === bartt [i=bartt@nat/yahoo/x-993dbf60b0cc32cb] has left #bzr [] [02:12] Okay. [02:12] What exactly does a repo with or without "trees" mean? what exactly is a tree? [02:13] Thanks. [02:13] igc: I'm going to profile commit performance with packs today. [02:14] erm, what is a tree in the context of a shared repo === orospakr [n=orospakr@bas4-ottawa23-1177611326.dsl.bell.ca] has joined #bzr [02:15] lifeless: great. I'll push my latest code this morning in case it's of interest [02:15] igc: I'm focused on repository interactions immediately. [02:15] np [02:16] I want to see how slow the repo layer is [02:16] or has to be [02:16] igc: also, how should we collaborate; I'm working in packs; I can spin off patches for bzr.dev easily. [02:16] but not for your branch as easily [02:17] my patches should be small but frequeny. Does this work for you ? [02:17] lifeless: I'm still a few days away from using the commit-candidates branch effectively ... [02:17] righto [02:18] abentley, what igc said about the merge queue goes for me to [02:18] I need to get commit changed to incremental vs 'build from scratch' first [02:18] too [02:18] poolie: Glad to hear it. I think we have the right intentions, it's just a juggling act. [02:19] so lifeless, if you can keep pushing hard on packs and getting bzr.dev closer to using them, I'm good with that [02:20] what does a 'tree' mean in the context of a shared repo...what happends to branches in a repo when I run init-repo --trees versus init-repo --no-trees ? === cypherbios_ [n=cyr@201-15-255-16.ctaje700.dsl.brasiltelecom.net.br] has joined #bzr === cypherbios_ is now known as cypherbios [02:31] sandrot: A tree is the directory (and subdirectories) that contain your source code in editable form. See bzr help working-trees. [02:32] abentley: thanks, I'm just finding it now actually [02:32] I read a lot of shared repo docs but didn't read http://people.ubuntu.com/~ianc/doc/en/user-reference/bzr_man.html#repositories yet [02:32] seems that a working tree is similar to svn's working copy [02:38] The big difference is that SVN's working copy is never in the same location as a branch or a repository. In Bazaar, the SVN layout is called a 'checkout'. [02:38] A lightweight checkout, to be precise. [02:39] Mmm, I always assumed the working copy was the copy of code you're currently working on. So when I checkout a branch my checkout is now a 'working copy' [02:44] In SVN, that's the only way of getting a working copy. But with Bazaar, "branch", "init" and "push" can also create objects with working trees. [02:45] push doesn't create a working tree thought right? you can checkout or branch from a pushed location === orospakr [n=orospakr@bas4-ottawa23-1177611326.dsl.bell.ca] has joined #bzr [02:49] When you push to a local location, it creates a working tree, and yes, you can checkout or branch from a pushed location. === AfC [n=andrew@office.syd.operationaldynamics.com] has joined #bzr [02:52] Push always creates a branch, and on local locations, it also creates a working tree. [02:52] creates *or updates* I should say. [03:06] New bug: #135421 in bzr "different exit code for internal errors" [Wishlist,Triaged] https://launchpad.net/bugs/135421 === jrydberg__ [n=Johan@c80-216-246-123.bredband.comhem.se] has joined #bzr [03:19] igc: Shouldn't NEWS.html be up somewhere on doc.bazaar-vcs.org? [03:19] yes [03:20] abentley: it looks like doc.bazaar-vcs.org is yet to be upgraded following the 0.90 release ... [03:21] poolie has done this in the past for the RM [03:21] I'm pretty sure I have permissions now so I can do it I think [03:21] Do we even have a link to NEWS in the documents? I tried a few guesses at the URL... [03:22] but it was 404 city, baby. [03:22] see http://people.ubuntu.com/~ianc/doc/ for what 0.90 will look like ... [03:23] clicking on "Release Notes" takes you to NEWS.html [03:23] Beauty. [03:23] We gotta turn that TOC into a sidebar or something. [03:24] Any progress with getting the pretty version of the docs online? [03:24] abentley: see http://people.ubuntu.com/~ianc/pretty_docs/ for the current pretty-docs output as well [03:24] by 'current', I mean a snapshot from a week or so back of course === jelmer [n=jelmer@a62-251-123-16.adsl.xs4all.nl] has joined #bzr [03:26] Sure. === poolie_ [n=mbp@ppp112-44.static.internode.on.net] has joined #bzr === netjoined: irc.freenode.net -> kubrick.freenode.net === mlh [n=mlh@c211-30-211-232.belrs1.nsw.optusnet.com.au] has joined #bzr [03:47] spiv: ping - calls? === NamNguyen [n=namnt@148.177.217.131] has joined #bzr [04:21] poolie_: I see 3 failures [04:21] and one of those is due to the failure to isolate CFLAGS === igc lunch [04:26] lifeless, only 3? [04:26] hm [04:26] have you pushed to your knits branch recently? [04:26] because that's where i pulled from [04:26] poolie_: its one commit behind [04:26] http://people.ubuntu.com/%7Erobertc/pack-repository.knits/ right? [04:27] http://people.ubuntu.com/~robertc/baz2.0/repository is the canonical location [04:36] lifeless, i'll check that one then [04:41] one thing that concerns me ian, for commit performance [04:42] is that we're three times slower than hg, but I'm seeing our gzip time as dominating [04:42] at 80% of profiled time === Vernius [n=tomger@87.193.10.161] has joined #bzr === sandrot [n=sandro@c-71-199-230-127.hsd1.fl.comcast.net] has left #bzr ["Konversation] === tchan [n=tchan@lunar-linux/developer/tchan] has joined #bzr [04:52] lifeless: Potentially, you want to store uncompressed knit records, and then gzip the whole container. [04:52] Maybe faster, probably better compression. [04:52] abentley: I'd love to know precisely what git's packing algorithm is [04:53] I think I'm saying 'there is something wrong' when hg's commit is faster and our time is in gzip [04:53] not that I disagree with your point [04:58] lifeless, ok, in that branch i have only 2 failures === tonyyarusso [n=anthony@ubuntu/member/tonyyarusso] has joined #bzr [05:08] Hi, I'm not familiar with version control systems at all (yet), and I was wondering if someone could either explain or give a link to a good explanation of how bazaar compares to things like SVN, CVS, and git. [05:16] istr that bzr's wiki has a really good explanation [05:16] i think wikipedia has something too [05:16] +comparison for both [05:18] http://bazaar-vcs.org/SCMComparisons [05:19] http://en.wikipedia.org/wiki/Comparison_of_revision_control_software [05:23] http://better-scm.berlios.de/ [05:23] jeremyb: Cool, thanks [05:24] tonyyarusso, jeremyb: The better-scm site is pretty useless. I would avoid it. [05:24] hah === jeremyb is reading http://better-scm.berlios.de/to-avoid/ [05:25] not that i would ever consider using MS Visual SourceSafe anyway [05:25] I was unable to convince the author that baz and bazaar are difference VCSes. [05:25] heh [05:26] So Bazaar is listed under "Arch", completely inappropriately. [05:26] yeah, i see it doesn't have it's own listing in the sidebar [05:26] never heard of vesta before === abadger1999 [n=abadger1@65.78.187.68] has joined #bzr [05:27] "Note: related to Bazaar, is Bazaar-NG, which is written from scratch by the same parent company. It aims to offer some advantages over Bazaar, but is not an Arch implementation, nor is it compatible with Bazaar. A tool is available to convert Bazaar repositories into Bazaar-NG, but not the other way around. [05:27] Looks like git is sort of specialized and limited-use, CVS is becoming obsolete, and if I was going to learn something it should be Bazaar, Subversion, or both. Does that sound accurate? [05:27] "CVS is becoming obsolete" yes from some perspectives :) [05:28] Well, it lacks a number of features listed for other ones, and others (like Subversion) are listed as improvements on it. [05:28] git, bazaar, *and* mercurial not or :) [05:29] I know O'Reilly has a Subversion book - is there a comprehensive guide for Bazaar yet? [05:30] tonyyarusso: oh, sorry i misread. i thought that abentley provided the quote in jest. i will provide a better answer :) [05:31] CVS is becoming obsolete by most standards although is occasianally used for new projects and has some diehard fans [05:32] CVS is long since obsolete. What it is, is _known_. People have decades of history in it, and know it inside and out. That's worth something. [05:33] right [05:35] i wouldn't say git is specialized or limited use but it does have quirks and it's got some small hurdles for windows users. git and mercurial both have support for syncing with svn. git has more mature biderectional support. bzr has not quite stable support for writes to svn last i heard and i think the read support is better. afaik mercurial doesn't have any [05:36] I was not joking. He cannot get his facts straight. If you read that site, you will know less about version control than you did beforehand. [05:37] abentley: i thought that tonyyarusso's line quoting the site was you talking [05:37] superficially bzr, hg, and git all implement the same principles but there are variations === jeremyb tries to remember the good (or at least i remember people saying it was good) bzr/hg blog post === mdmkolbe [n=mdmkolbe@iub-vpn-192-54.noc.indiana.edu] has joined #bzr [05:39] abentley: well both his bazaar and bazaar-ng links redirect to bazaar-vcs.org so it shouldn't be too hard to convince him that they are the same. but convincing him that he used the wrong link might be a challenge [05:41] abentley: how recently did you try to convince him? the arch page has an almost 2 year old timestamp [05:43] I've got no interest in trying to convince him any further. He's demonstrated that he will just ignore inconvenient facts. He's not worth thinking about. [05:43] hah, that site has an empty irc channel [05:43] abentley: i was just wondering === jeremyb ponders [05:47] i was sure CVS allowed copies retaining history for the original and the new file. (people file bugs to get those copies done for the mozilla repo all the time) his comparison says CVS doesn't support them... [05:47] I enjoy learning new systems and I've just come off of learning and using darcs at an intermship. I've learned to like the distributed model (I'm a former svn user), and am looking for a system to use on my own projects. (I'll have compile and install at as a non-root accout.) I'm consiering mercurial, bzr and git. Can anyone point to or give a good comparisen of these? [05:48] they all can be installed in your home dir === jeremyb wonders what's happening with forest (or was that hg?) [05:51] mdmkolbe: what OS? [05:51] jeremyb: both linux (as non-root) and windows/cygwin (but I administer that system so root isn't such an issue) [05:52] hrmm [05:53] git isn't supported as well on windows but i've never tried it (i think there's some performance issues too but neither of those are based on recent data) [05:54] mdmkolbe: depends how much time you have. personally i'd just try them all [05:54] on a small scale not for a real project [05:54] (i have used git and mercurial a bit not so much bzr) [05:56] jeremyb: I'm a motivated learner except that school has started and my brain is filling up to the point where I'm discovering the need to choose what I will and won't learn (which is sad, but I guess it's part of getting older.) === abadger1999 [n=abadger1@65.78.187.68] has joined #bzr === AfC [i=andrew@office.syd.operationaldynamics.com] has joined #bzr [06:08] mdmkolbe: my personal response to your question about which version control system to use is in http://research.operationaldynamics.com/blogs/andrew/software/version-control/git-is-like-cvs.html [06:10] whoa, git is like cvs? [06:10] jeremyb: CVS doesn't. Manual mucking around in the repository does. Sorta. === jeremyb reads [06:10] fullermd? [06:10] doesn't what? ohh, moves? [06:10] Yah. [06:11] fullermd: well it can record moves as well as git can [06:11] Harsh. === lifeless is both trolling and completely serious, simultaneously === jeremyb understands [06:11] food time [06:13] fullermd: well, for mozilla, it's automated to the point where you hand a script a text file with source and destination on a single line seperated by a space and it takes care of everything === mdmkolbe puts one more stroke in the tally for bzr after reading [06:13] Yeah, but what it takes care of is still a mess. And CVS doesn't know anything about it. You just sorta have the history of the file available. [06:14] What repository format does bzr use? (I ask b/c of the claims in http://keithp.com/blog/Repository_Formats_Matter.html) [06:14] mdmkolbe: a constantly improving one [06:15] mdmkolbe: And I disagree with Keith (who is, incidentally, a good friend of mine); tool usability is what matters. [06:15] mdmkolbe: and despite the rather appealing-at-first-glance notions inside Git, I have LOST DATA with Git and NEVER LOST DATA with Bazaar. [06:16] to summarize the linked article "git is good b/c each file is writting once then never touched again; hg is bad b/c it appends to the files on each commit" [06:16] AfC: heh, that kind of puts Keith's claims in perspective [06:16] mdmkolbe: we've all read it. Most of the people here are _also_ good friends with Keith. [06:17] I'm not. I'm a poor pathetic outsider, clutching at windowsills and begging for scraps of bread. === AfC goes out for coffee === fullermd hits up AfC for spare change on the way. [06:20] How well does bzr support "software archiology"? One of the troubles with darcs I found was that of trying to track down the historical context of a change (that introduced a bug I'm attempting to fix) that isn't always captured by the patch dependancy graph. [06:22] hg has a built in function to do a binary search for the bug [06:22] i don't remember who else has what [06:22] jeremyb: ?! [06:22] all have pretty good history viewing tools [06:22] mdmkolbe: ? [06:22] mdmkolbe: you know what a binary search is, right? [06:23] jeremyb: yes, but that's not something I expected from a VC system. You just point it at 'make' and your program and ask it to recompile until the search find the change causing the bug? [06:24] i've never used it === jeremyb looks [06:24] http://www.selenic.com/mercurial/wiki/index.cgi/BisectExtension [06:25] jeremyb: thx for the link [06:25] sure [06:26] darcs is a special case there, since it doesn't do historical context... [06:26] darcs drives me nuts!!! [06:27] I always say, why drive when it's close enough to walk ;) === jeremyb thinks... === jeremyb knows he's missing something... [06:35] who's brian o'sullivan? [06:36] something wrong with his repo [06:36] or at least the web frontend [06:36] http://hg.serpentine.com/mercurial/hg/book/book/convert/book/book/book/book/book/book/book/ [06:37] /bork/bork/bork? [06:37] mdmkolbe: if you haven't seen them already, http://bazaar-vcs.org/BzrWhy lists several blog posts explaining why Bazaar is better than most alternatives (in our opinion) [06:38] oh, ooops [06:38] brian o'sullivan and that repo are both hg [06:42] Nice guy, though. Wish he were on our team. [06:44] mdmkolbe, there is a bazaar bisect extension which might be more to the point [06:45] there is also iirc 'darcs trackdown' which i think was the first system to have it [06:45] poolie_: there was an IBM paper on this at LCA 2004 [06:45] describing the technique for tracking down gcc regressions automatically [06:46] based on cvs [06:46] yes [06:46] ok, so darcs may have been the first to generalize and automate it [06:46] or maybe not === mtaylor [n=mtaylor@dsl231-061-195.sea1.dsl.speakeasy.net] has joined #bzr [06:48] lifeless, btw where you wishing for a different behaviour in vim ^O? [06:48] maybe that was someone else? [06:49] dunno [06:51] anyhow, g; takes you to the place you last changed the text [06:52] yup === fullermd didn't know that. [06:52] I usually fake it with undo. [06:52] heh === jeremyb has done the faking as well [06:55] any of ya'll actually work for canonical? [06:56] who's mccormickit.com? [06:58] where is the repo for bzr? is there a web front-end? (I mean the repo for the source to bzr) [06:59] yes [06:59] I couldn't find it from the bzr website (maybe I'm just looking in the wrong place) === jeremyb is finding it [07:00] http://bazaar-vcs.org/bzr/ === jeremyb looks some more [07:02] having trouble finding a frontend hosted by the main project but i see 2 front ends for the main repo [07:02] http://codebrowse.launchpad.net/~bzr/bzr/trunk [07:02] http://goffredo-baroncelli.homelinux.net/bazaar/bazaar-NG-dev === jeremyb remembers a better frontend for git, bzr or hg but is having trouble finding it [07:05] jeremyb: yes, some of us work for canonical === jeremyb runs across https://blueprints.launchpad.net/bzr/+spec/ignore-versioned-files [07:10] https://code.launchpad.net/~bzr/bzr/trunk is the launchpad mirror of bzr.dev [07:11] http://codebrowse.launchpad.net/~bzr/bzr/trunk [07:11] is a web ui to browse it [07:11] does bzr diff require a checkout? [07:12] haha [07:12] thumper: you already have a copy locally. [07:12] jeremyb: no, I don't [07:12] I have a branch [07:13] perhaps I should have said WorkingTree [07:14] lifeless: how come I can't do "bzr diff -r-3..-1" on a branch without a working tree? [07:14] thumper: https://bugs.launchpad.net/bzr/+bug/6700 [07:14] Launchpad bug 6700 in bzr "bzr diff -r 10..20 http://foo" unsupported" [High,Confirmed] [07:14] spiv: so a working tree is needed? [07:15] arse === jdong_ [n=jdong@ubuntu/member/jdong] has joined #bzr === lifeless_ [n=robertc@ppp245-86.static.internode.on.net] has joined #bzr [07:27] 15:20 < lifeless> thumper: patches gratefully arsed [07:27] 15:21 < lifeless> igc: ^ remember this bug ? :) [07:27] 15:22 < lifeless> ok, thats 9ish hours, I'm calling it a day. [07:27] 15:22 < lifeless> igc: poolie and I think a gzipless repo might be an interesting test, so I'm going to overhaul the knitversionedfile code some more tomorrow === lifeless_ is now known as lifeless [07:28] lifeless: yes, haven't forgotten it :-) [07:29] lifeless: :) unfortunately I have other priorities right now [07:29] lifeless: yes, an interesting test indeed [07:30] thumper: FWIW, lifeless gave me that bug on my first day at Canonical. :-( It's still on my list but behind performance work [07:32] igc: as long as it isn't forgotten :) === poolie_ [n=mbp@ppp112-44.static.internode.on.net] has joined #bzr [07:32] thumper: no risk of that :-) === jml [n=jml@ppp121-44-221-92.lns1.hba1.internode.on.net] has joined #bzr === jml [n=jml@ppp121-44-221-92.lns1.hba1.internode.on.net] has joined #bzr === oldmanstan [n=glesica@128.177.28.13] has joined #bzr === duckx [n=Duck@tox.dyndns.org] has joined #bzr [08:14] thx all for your help === mdmkolbe [n=mdmkolbe@iub-vpn-192-54.noc.indiana.edu] has left #bzr [] === mvo [n=egon@p54A6799E.dip.t-dialin.net] has joined #bzr === cnus8n [n=cnu@59.92.88.244] has joined #bzr === AfC [i=andrew@office.syd.operationaldynamics.com] has joined #bzr === dato [n=adeodato@84.120.252.58.dyn.user.ono.com] has joined #bzr === allenap [n=allenap@212.233.37.68] has joined #bzr === Lo-lan-do [n=roland@mirenboite.placard.fr.eu.org] has joined #bzr [09:30] Eeek. What does "Not running as bzrlib.plugins.gtk, things may break." mean? [09:30] [bzr 0.90.0, bzr-gtk 0.90.0] [09:31] ... and indeed, `bzr viz` crashes. [09:31] AfC: that the bzr-gtk plugin is not installed in a directory named just "gtk" [09:32] Yes it is... er, no its not. Typo on my part. Shit. [09:33] Called it "bzr" not "gtk". That was stupid... [09:33] (in ~/.bazaar/plugins) [09:33] dato: thanks [09:33] np === markvandenborre [n=mark@ubuntu/member/markvandenborre] has joined #bzr === tolonuga [n=aj@217.72.114.248] has joined #bzr [10:01] can anyone edit http://doc.bazaar-vcs.org/bzr.dev/server.htm and replace ":1234" with ":4155"? thanks. === dato [n=adeodato@84.120.252.58.dyn.user.ono.com] has joined #bzr === sverrej [n=sverrej@tul-1x-dhcp018.studby.uio.no] has joined #bzr [10:20] tolonuga: looks like it's generated from this file: http://codebrowse.launchpad.net/~bzr/bzr/trunk/annotate/pqm%40pqm.ubuntu.com-20070825182243-a3w20rpadbfz8euc?file_id=server.txt-20060913044801-h939fvbwzz39gf7g-1 [10:21] tolonuga: so, anyone that can checkin there... [10:24] ok, thanks. unfortunatly I can't checkin, I'm only a stupid user looking at docs and finding tiny issues. will open a bug if noone responds here, so the issue is not forgotten. [10:36] tolonuga: you could send a bundle to the mailing list, that's the usual way for things like this === sverrej_ [n=sverrej@tul-1x-dhcp019.studby.uio.no] has joined #bzr === aadis [n=aaditya@122.167.209.222] has joined #bzr === jrydberg__ [n=Johan@c80-216-246-123.bredband.comhem.se] has joined #bzr === igc dinner [10:59] how can I create a mail in bundle format from a local commit? preferable something I can cut&paste into my mail app - I don't want bzr to send email itself. [11:00] bundle will spit out a bundle on stdout; you can redirect that into a file, then attach it. [11:01] ah, thanks! === gabe_ [n=gabriel@91.84.56.254] has joined #bzr === gabe_ [n=gabriel@91.84.56.254] has joined #bzr === oldmanstan is now known as oldmanstan|away === sverrej [n=sverrej@pat-tdc.opera.com] has joined #bzr === g0ph3r [n=g0ph3r@p57A0B832.dip0.t-ipconnect.de] has joined #bzr === NamNguyen [n=namnt@cm246.delta196.maxonline.com.sg] has joined #bzr === bac [n=bac@canonical/launchpad/bac] has joined #bzr [12:39] I'm looking into using bzr to manage a few django (web framework) projects I am working on together with a friend [12:40] I would regularly be working offline (on the train) [12:41] night all [12:41] up-to-date code would be needed on each of our machines, plus an external webserver [12:41] igc: Night! Thanks for the merges. :) [12:41] what kind of workflow would you recommend? [12:43] markvandenborre: You could just use a centralised workflow, because you can commit locally when working offline... [12:43] ok, will be investigating that path [12:44] Odd_Bloke, thx a lot! [12:44] markvandenborre: That's not necessarily the only/best one to use though. [12:44] But it would work. [12:44] Odd_Bloke, I figured I would really need a feature like local commits because of my long train commutes [12:45] Odd_Bloke, you think that would be the easiest way to get started with bzr? [12:46] markvandenborre: If it makes sense in your situation, then do it. :p [12:46] :) === jelmer [n=jelmer@a62-251-123-16.adsl.xs4all.nl] has joined #bzr [01:09] is it bad policy to setup a central repository for web projects on a production webserver? [01:10] it's not a leaky php server, and only running sshd and apache, but still... [01:11] I can imagine it's not a good thing to have both on the same server, even if it's very well managed [01:11] any thoughts? === sabdfl [i=sabdfl@ubuntu/member/pdpc.silver.sabdfl] has joined #bzr [01:18] would it be better to put the bzr repository on a physically separate machine? [01:19] lifeless: I'm uploading 0.90-1 to debian. I guess some ubuntu person will have to make sure it makes through UVF. [01:24] markvandenborre: That sounds like a site policy question. bzr certainly wouldn't care. It's not hard to move stuff around later if you change your mind... [01:25] fullermd, yes, it is a site policy question... trying to be careful about setting things up with minimal overhead, but still safe [01:26] fullermd, your remark about easy of moving is definitely interesting! [01:26] thx! [01:26] As a handwavy position statement, I tend to think that if a server gets cracked, the VCS history is probably one of the least interesting things on it... [01:27] you're probably right about that [01:27] (situations change cases, of course, but as a general rule) [01:27] I'm all about putting all your eggs in one basket, and watching that basket like a hawk ;) [01:27] now on a machine without php, with only 80 and 22 open, that might be a sound policy [01:28] you're probably right that I'm too paranoid [01:29] On the flip side, if there's no particular reason _not_ to have the central repo on the server server, there's also probably no particular reason _to_ have it there. [01:31] fullermd, it's a bit stupid to put up a separate (virtual) machine just for bzr [01:33] Probably, yeah. === ipkiss_ [i=ipkiss@nat/ecp/x-5fa7e69cfe18bb65] has joined #bzr [01:39] hi, is there any link to a tutorial on setting up a bazaar with webdav? === Zindar [n=erik@stockholm.ardendo.se] has joined #bzr === laga [n=laga@mythwiki.de] has joined #bzr [01:50] hey guys. i've just done a "bzr revert" - how can i revert the revert itself? [01:50] eg undo it? === ddaa [n=david@canonical/launchpad/ddaa] has joined #bzr [02:04] Odd_Bloke, in the situation that I just described (2 developers, web development, frequent offline commits), is there also a comfortable way to do without a central repository? === jelmer [n=jelmer@a62-251-123-16.adsl.xs4all.nl] has joined #bzr === niemeyer [n=niemeyer@200-103-134-216.ctame705.dsl.brasiltelecom.net.br] has joined #bzr === mw|out [n=mw@189.146.15.187] has joined #bzr === mvo [n=egon@p54A6799E.dip.t-dialin.net] has joined #bzr [02:17] laga: just revert to the most recent commit [02:17] markvandenborre: you can use push/pull [02:17] markvandenborre: i.e. a decentralised system [02:18] gabe_: i made a change, reverted said change and now i want to go to the state before the revert [02:19] if you don't have a commit of that change then you can't [02:19] unless you manually redo it === gldnspud [n=gldnspud@72.171.93.139] has joined #bzr === singy [n=singy@125.33.123.84] has joined #bzr [02:22] lifeless: are you working on getting bzr 0.90 into gutsy? [02:25] gabe_, thx [02:26] gabe_: thanks. [02:26] gabe_, how would I then be able to sync stuff with the other guy when I am at a remote site? [02:26] gabe_: lucky me - it was not a crucial change :) [02:26] markvandenborre: np you can read all about pull push and merge on the documentation part of the bazaar site === Zindar [n=erik@stockholm.ardendo.se] has joined #bzr === tchan [n=tchan@lunar-linux/developer/tchan] has joined #bzr [02:32] yer [02:33] markvandenborre: to sync stuff with a remote computer you would need access to it via the internet. I personally have ssh setup. In this case you can push or pull bzr repositories using sftp [02:34] does the other guy have ssh running? === laga [n=laga@mythwiki.de] has left #bzr [] [02:34] gabe_, yes, but his provider blocks every port below 1024 [02:34] well either get him to run ssh daemon on a high port [02:34] Well. There are two distinct questions here... [02:35] or try http or the built in bzr server on a high port === mdmkolbe [n=mdmkolbe@iub-vpn-192-54.noc.indiana.edu] has joined #bzr [02:35] One is "do you work centralized [i.e., on a shared branch] or decentralized [on individual branches you merge back and forth] ". [02:35] but you would also need port forwarding if he is beind a NAT or firewall [02:35] The other is "If (b), how do you access each other's branches" [02:36] markvandenborre: in this case I think it is easiest to have a central server that you can both push or pull from [02:36] You can go (b) decentralized, with no shared trunk, but still use a central server to reach each other's branches. [02:36] so he can put his changes on the server and you can pull them to yur comptuer [02:36] then you don't need to worry about firewall, NAT, and blocked ports [02:37] fullermd: that's more or less what we do === bac [n=bac@canonical/launchpad/bac] has joined #bzr === xxxxx1 [n=xxxxx1@146037.fln.virtua.com.br] has joined #bzr [02:40] In bzr what is the correct way to construct a self contained set of patches to be sent upstream? (e.g. darcs send --output foo.patch-bundle) [02:41] mdmkolbe: `bzr send -o foo.patch-bundle` should work [02:41] mdmkolbe: if your bzr is a bit old and does not have send, use `bzr bundle >foo.patch` === bwinton [n=bwinton@mail.phantomfiber.com] has joined #bzr [02:42] For values of "a bit old" that mean "some ancient version released more than 18 hours ago"... [02:42] fullermd: oh, 0.18 didn't have it? [02:42] data: there is no "bzr send" in my version ... ok bundle-revisions works [02:42] thx [02:42] Nah, the send stuff is new in 0.90. [02:43] mdmkolbe: it should be smart at guessing what to diff against, but you can specify the location of the branch you branched from as an argument === sabdfl [i=sabdfl@ubuntu/member/pdpc.silver.sabdfl] has joined #bzr === mw|out is now known as mw [02:45] dato: if it guesses wrong will that be detected at patch application time? (e.g. take A and make branch B from it; commit a change to B; branch C from B; commit a change to C that depends on changes made in B; make a patch that should have been between C and A but I did it wrong and it's actually from C to B and try to apply that to A). [02:48] mdmkolbe: it will be detected because it will fail to apply. and note that, while "a change to C that depends on changes made in B" makes sense in the darcs world, in bzr if you branch from B, revisions in C will *always* depend on revisions in B even if the changes are in different files [02:48] (so it is normally recommended that you branch from A instead of B if you know the changes are independent) === bac [n=bac@canonical/launchpad/bac] has joined #bzr [02:50] dato: thx, the "note that..." part actually helps my understanding of the bzr model quite a lot. === nx [n=hartke@nordcom-adsl-71-148.zfn.uni-bremen.de] has joined #bzr [02:51] :) === jamesh [n=james@canonical/launchpad/jamesh] has joined #bzr === sabdfl [i=sabdfl@ubuntu/member/pdpc.silver.sabdfl] has joined #bzr === Zindar_ [n=erik@stockholm.ardendo.se] has joined #bzr === jml [n=jml@ppp121-44-221-92.lns1.hba1.internode.on.net] has joined #bzr === ddaa [n=david@canonical/launchpad/ddaa] has joined #bzr === jdong_ is now known as jdong === mr_daemon [n=gauthier@pf.quebecloisirs.com] has joined #bzr [04:00] Hello! === Zindar [n=erik@stockholm.ardendo.se] has joined #bzr [04:01] I just got into bazaar, and I quite like it so far. I might event switch from svn, actually. However I can't get sftp:// or bzr+ssh:// to work with the Windows client... I used the standalone installer... [04:02] This is basically what happens: bzr: ERROR: paramiko.SFTPError: Garbage packet received [04:03] Can you stfp or ssh in to the same server from your Windows box? [04:03] Yes, it works fine. [04:03] I can checkout, get, pull and push to that server with a Linux or OS X client [04:03] Did you google "paramiko.SFTPError: Garbage packet received"? [04:04] I must admit I didn't because I just noticed the error above the stack trace as I came on here. So, to google it is. [04:04] (It looks like it's a bug in the version of Paramiko that ships with the Windows installer... Which version of bzr are you using again?) [04:04] https://lists.ubuntu.com/archives/bazaar/2007q2/024210.html === ubotu [n=ubotu@ubuntu/bot/ubotu] has joined #bzr [04:06] I'm using stable, which is 0.18 [04:07] Hmm... (I think that's what I'm using as well, but I might have upgraded to 0.90...) [04:07] (Oops., coffee time. Back in a few.) [04:08] Yeah, I'm overdue for a break as well. Thanks for you assistance, too :) [04:08] My pleasure! Hopefully someone can help you out a little more... [04:08] What's the difference between sftp:// and bzr+ssh://? [04:09] (I mean, the user-visible difference, I don't much care about the internals :-) [04:09] One uses SFTP, the other uses ssh to spawn a bzr process on the remote machine... [04:09] One uses sftp, the other uses bzr over ssh ;) [04:09] Dang. I dunno, then. [04:15] Well, when I try bzr+ssh the error is a tad more explicit, it prints out the output from the ssh server. [04:16] bzr: ERROR: Generic bzr smart protocol error: bad response ("user@host's password: \r") [04:17] Maybe it only works with ssh keys? [04:17] (Feel free to ignore me, I haven't touched Windows in years) [04:17] Could be. Let me try, I'll just pop a public key in with putty then try again. === asabil [n=asabil@62.70.2.252] has joined #bzr [04:17] haha, that's fine. I'm more of a unix guy stuck on windows right now, so I'm just trying to cope. [04:17] hi all [04:18] is there any way to be able to checkout on repositories ? (not branches) [04:18] No. [04:19] so that it would be possible to checkout the root of the repository and get all the projects (that's what svn users are used to apprently) [04:19] fullermd: what would you suggest then ? [04:19] creating one huge branch ? === sabdfl [i=sabdfl@ubuntu/member/pdpc.silver.sabdfl] has joined #bzr [04:20] Multiple branches linked with the subtree thingy? [04:21] oO, how do you link branches ? [04:21] any doc ? [04:21] Eek, no... I suggest managing user expectations. With a blunt object ;) [04:21] Haha, doc. [04:21] Well, first I think you finish implementing subtrees... [04:22] ??? [04:22] asabil: it's easy to write a small script that downloads all existing branches in a repository, and there is already code (in bzrtools) to update all of them with one command. [04:23] ok dato, the thing is just that I have to deal with windows developers, and I need to make it as stupid-proof as possible [04:23] thanks [04:23] Okay I just tried with public/private keypair, and it seems paramiko is ignoring the ssh agent and still asks for a password... [04:23] well, then you'd probably want for that small script to be a command in bzrtools, but it does not exist yet. [04:24] does anyone know how bundlebuggy work? [04:24] abentley does. [04:24] he sure does, but he's not around [04:25] does pqm allow me to review patches before merging them? [04:26] there is so little docs on either of them [04:28] I believe it does, since people on the bzr list talk about merging patches manually... [04:29] bwinton, i might have made myself unclear but by reviewing i was refering to a similar approach as bundlebuggy [04:29] For instance... [04:29] i.e. it's gotta be approved before being merged [04:29] pqm merges when you send it. You review before that. [04:29] OKAY nevermind me. Actually bzr 0.18 on windows, the self-contained bundle, works with sftp -- but you have to use ssh keypairs. [04:29] that's what i understand from the description [04:30] Somehow the password prompt makes paramiko choke. [04:30] fullermd, do you know if bundlebuggy talks to pqm to initiate the merge after a merge request is approved? [04:30] AFAIK, bb and pqm don't have anything at all to do with each other. [04:31] bb just grabs patches off the ML and keeps track of who's voted what on them. [04:31] then how is patch merged? [04:31] One of the developers mails it to pqm. [04:31] by forwarding? [04:32] I think most of 'em use a bzr plugin. === Vernius [n=tomger@87.193.10.161] has left #bzr [] [04:32] I don't think you can forward a patch to pqm, you send it a command and a branch location to merge from. [04:34] does that mean 1. the developer merges the patch himself, 2. he publishes that branch, 3. pqm then merges from it? [04:34] Yah. [04:34] woot, quite some work there [04:35] pqm could have just read a merge directive [04:35] Well, in much the sense that bzr could have just run server-side hooks via the smart server... === mthaddon [n=mthaddon@canonical/launchpad/mthaddon] has joined #bzr === orospakr [n=orospakr@132.213.238.4] has joined #bzr [04:36] what kind of hook? i only know about post_commit hook [04:37] Any hook. It was an abstract comparison. [04:37] oh, alright [04:37] Either one is just a SMOP. Nobody's done the P. [04:37] (at least, I don't think anyone has) [04:37] Wait -- bazaar has post_commit hooks too? Okay, I'm definitely sold. [04:38] mr_daemon, er, what VCS doesn't have post_commit hook? [04:38] i'm curious [04:39] Well, I was just spoiled by how easy it was to write a post commit hook for subversion. [04:42] But actually -- Darcs doesn't. [04:42] Which was the only other VCS I actually sort-of liked. [04:42] Well, before bzr that is. [04:43] Does RCS have hooks? :-) [04:45] I think RCS _is_ a hook :p [04:45] Good point. === sabdfl [i=sabdfl@ubuntu/member/pdpc.silver.sabdfl] has joined #bzr [05:04] NamNguyen: hi [05:05] you there ? [05:08] can anybody help me ? [05:08] i ll tell me present status first [05:08] Maybe. What's your problem? [05:08] i have checkedout the source on .16 and .17 machine [05:08] same source [05:09] first i edited the test.html file on .16 machine and then on .17 [05:09] and then i done commit and update [05:09] first on .16 and then on .17 [05:10] while doing on .17 it was giving some errors...due to conflicts. [05:10] so how to resolve such conflicts ? or is there any other method to handle such situation ? [05:10] bwinton: now your turn. [05:11] Googling for "bzr how to resolve conflicts" gives me the following urls: [05:11] http://muffinresearch.co.uk/archives/2007/06/05/dealing-with-conflicts-in-bazaar-version-control/ [05:11] http://bazaar-vcs.org/Tutorials/CentralizedWorkflow#id16 [05:11] bwinton: okay thank you [05:11] Are either of those helpful? [05:11] i ll check and get back to you [05:12] (OOps, that second one should have been http://bazaar-vcs.org/Tutorials/CentralizedWorkflow#merging-changes-back instead...) [05:14] okay wait === J-Unit [n=jdong@wireless-154.media.mit.edu] has joined #bzr === J-Unit is now known as jdong_ === p4tux [n=p4tux@189.169.75.18] has joined #bzr [05:18] bwinton: that somewhat manual process... [05:19] how can we avoid for conflicts ? [05:19] bwinton: because, if group like us working on same project means, conflicts ll take place every hour. [05:20] so i want to avoid such situations. [05:21] kanhaiya_kk: conflicts only arise when two people modify the same line in incompatible ways. that should be less frequent that you paint. [05:21] dato: okay [05:22] if 2 developers edit the same file, but not the same lines, then conflict ll not arise na ? [05:22] kanhaiya_kk: no, it won't [05:23] okay good [05:23] i ll test it...wait === cprov is now known as cprov-lunch === bwinton [n=bwinton@mail.phantomfiber.com] has joined #bzr [05:30] Cursed IRC client... Did I miss anything? [05:30] 17:23 i ll test it...wait [05:30] that was the last line [05:30] 'k. Cool, thanks! === madduck [n=madduck@debian/developer/madduck] has joined #bzr [05:31] (Say, does anyone know if there's a way to get ubotu to msg me the last n lines? So that I don't have to ask next time?) [05:32] dato: thanks...it is working fine === madduck [n=madduck@debian/developer/madduck] has left #bzr [] === p4tux [n=p4tux@189.169.75.18] has joined #bzr === beuno [n=beuno@44-111-231-201.fibertel.com.ar] has joined #bzr === ness [n=ness@i59F71DD9.versanet.de] has joined #bzr [05:57] Hi, I want to factor out some functions of one source file into a new one. Can I somehow make bzr sorta retain the version history of these functions (for merging)? === bwinton [n=bwinton@mail.phantomfiber.com] has joined #bzr [06:02] This is getting kind of tiresome... === aadis [n=aaditya@122.167.214.15] has joined #bzr === mlh [n=mlh@c211-30-211-232.belrs1.nsw.optusnet.com.au] has joined #bzr === abadger1999 [n=abadger1@65.78.187.68] has joined #bzr [06:25] so i'm talking about bzr at pyconuk in a couple of weeks [06:25] my slides are at http://python.net/crew/mwh/pyconuk07_bzr.pdf [06:25] comments welcome :) [06:29] ness: no, sorry that is not possible. [06:29] mwh: "Bazaar aims to be safe, friendly, free and fast" In that order? [06:29] james_w: ok === ness [n=ness@i59F71DD9.versanet.de] has left #bzr [] [06:29] bwinton: it's what bazaar-vcs.org _used_ to say on it's front page [06:30] i dont quite get the idea of "aims to be free" [06:30] it's either free, or non-free [06:30] mwh: On "Working With Others", you might want to mention that push doesn't update the remote server. i.e. the files won't be there. === sabdf1 [i=sabdfl@nat/canonical/x-564b0742f9415386] has joined #bzr [06:32] bwinton: hmm [06:32] mwh: Colour in your pictures would be nice, if its easy to do. If not, they're fine... [06:32] (I mention the push-not-update because it bit me when I started, and has bitten at least three other people that I've seen...) [06:32] i was engaged in extreme rushing for a deadline with the pictures, but it got pushed back [06:32] darn, bundle buggy requires procmail [06:33] it would be good to make them a bit prettier, indeed [06:34] i'll mention what push does out loud, i think, i don't want to clutter the file [06:34] file -> slide [06:34] mwh: Cool. In the some pictures, should rev B be "B+i" or "B+1", and if it's "B+i", should the "i" be an "n", and should it look more like the server (with the multiple revs stacked)? === oldmanstan|away is now known as oldmanstan [06:34] bwinton: heh, the B+i think is a hack because i didn't want to get into talking about how revisions are numbered in bzr [06:35] Okay, but I think you can sweep it all under the rug, and just call it "B"... No, wait... [06:36] and perhaps trying to indicate machines on the diagrams is a bit unfair [06:36] How about A (living on the server), B (on your machine), and C (on his machine)? [06:36] they should probably be branches [06:36] Then you can have B+1, C+1, B+2... [06:36] bwinton: yeah, that works [06:36] I think the separate machines are a good idea... [06:37] It drives home the "You don't need the server" feature. [06:37] If you could put the other two machines inside a picture of an airplane, that would be cool, but completely excessive. ;) [06:38] hehe === asak [n=alexis@201-27-61-63.dsl.telesp.net.br] has joined #bzr [06:38] Also, back near the first slide, "Distributed means there is no privileged central location" perhaps should be "Distributed means there doesn't have to be a privileged central location", since in the workflows, you say "Centralized all data lives on a single server, like Subversion", where there is obviously a (socially-)privileged central location. [06:40] In "Better Centralization", s/emacs/notepad/ ;) [06:40] bwinton: but implementation-wise, that central copy is equal to all others. [06:40] And I think that's the important part. [06:40] Nf: Kind of, but G*d help you if you release off of the non-central copy... [06:41] Like I said, it's socially (not technically) privileged. [06:41] why? In fact, releasing off of a non-central branch might be a good idea. [06:41] so your central version can be a "dev". [06:41] I agree with bwinton; it's worth pointing out that it's not *necessarily* centralized [06:41] and your non-central one a "stable". === NfNit|oop is now known as NfNitLoop [06:42] Nf: then I would argue that you've actually gotten the notions of "central" and "non-central" backwards. ;) [06:42] I have talked with many people who didn't want to go with bzr because they thought they couldn't have a central branch. [06:42] Nf: It's a terminology issue at that point, I believe. [06:43] radix: Oh? Hmm, I guess in that case it does merit pointing that out. [06:43] But it wasn't log into my reading about bzr that I found the page on workflows and that all got cleared up. [06:44] mwh: In "Better Centralization", I might change the background colour of "co", and then later on in "Working Distributedly", use a new background colour for "branch", to highlight the major user-level difference between the two... [06:44] mwh: Basically answer the question "Why do changes stay local in one case, but not the other?". === mwh catches up on comments [06:47] bwinton: maybe i should have the centralized workflow use vim and the distributed use emacs :) [06:47] (and then mention that emacs is obviously superior) [06:48] dato: thanks for the quick upload. [06:48] Heh. :) Anyone who can't code in "cat > filename"/"copy con filename" doesn't deserve the label "Programmer". [06:49] bwinton: at a higher level, do you think it's a reasonable selection and ordering of topics? [06:49] Let me check in a second... [06:49] I'm almost at the end. [06:50] it's probably too much, it's only a 30 minute talk [06:51] Maybe not... People tend to talk fairly quickly... [06:51] At least, I tend to talk fairly quickly... :) [06:53] The pictures are 14 of the slides, and those should go by really fast. [06:53] certainly [06:53] it's 40 slides in keynote [06:54] If you're running short, you could drop the Launchpad portion. [06:54] That's odd, it says 49 in the pdf. [06:55] Actually, why is the Launchpad stuff in there? [06:56] well, partly because my job is working on launchpad/bazaar integration :) [06:56] the reason that the pdf has more pages is that keynote makes a slide per 'build step' of each slide [06:57] Ahhh... Makes sense. === cprov-lunch is now known as cprov [06:59] It seems good to me, if you can fit it all in. It's hard to say more without knowing the what the audience is going to be like... [06:59] james_w: np [06:59] it's the first time this conference has happened, so noone really does :) [07:00] If it's all people who have seen bzr (i.e. me), you could skip some of the earlier stuff, and concentrate on the launchpad bits. If it's people who haven't heard of a DVCS, then the earlier stuff would be more useful. [07:00] Maybe ask at the start, and flip past the appropriate slides, then. [07:00] i think i want the talk to be about 40% advertisement for dvcs, 40% advert for bzr and 20% on launchpad/bzr [07:00] bwinton: yeah [07:00] So you don't plan on giving it 110%, then? ;) [07:01] bwinton: i'm not expecting most people to have used a dvcs [07:02] I wouldn't have either, but there was Linus' talk at Google on Git... I hear that's been pretty popular... [07:02] So even if they haven't used a dvcs, they might have heard about them. [07:02] there some mercurial screencast on google video also [07:03] Yeah, I saw that one as well... Bryan O'Sullivan (I think) is a pretty good speaker. === luks [i=lukas@unaffiliated/luks] has joined #bzr === asabil [n=asabil@062016191213.customer.alfanett.no] has joined #bzr === cypherbios [n=cyr@ubuntu/member/cypherbios] has joined #bzr === Janzert [n=Brian@75-134-223-54.dhcp.trcy.mi.charter.com] has joined #bzr === jrydberg_ [n=Johan@c80-216-246-123.bredband.comhem.se] has joined #bzr === jdong_ [n=jdong@ubuntu/member/jdong] has joined #bzr === aadis [n=aaditya@122.167.214.15] has joined #bzr === jdong_ is now known as jdong === ipkiss_ is now known as ipkiss === TFKyle [i=kyle@71-17-16-130.regn.hsdb.sasknet.sk.ca] has joined #bzr === xxxxx1 is now known as deadwill === bac [n=bac@canonical/launchpad/bac] has joined #bzr === ddaa [n=david@canonical/launchpad/ddaa] has joined #bzr === hstuart [n=hstuart@0x503e9913.virnxx12.adsl-dhcp.tele.dk] has joined #bzr === matkor [n=matkor@83.230.19.175] has joined #bzr === Lo-lan-do [n=roland@mirenboite.placard.fr.eu.org] has joined #bzr [08:40] Hi !. Can I update many working trees at once ? like bzr update this that and/that/dir/too ? [08:59] matkor: Uninteresting trivia, but if you're on unix with bash, you can probably get away with doing this: [08:59] for i in this that and/that/dir/too ; pushd $i && bzr update && popd ; done === mwhudson [n=mwh@62-31-157-102.cable.ubr01.azte.blueyonder.co.uk] has joined #bzr === mwh [n=mwh@62-31-157-102.cable.ubr01.azte.blueyonder.co.uk] has joined #bzr [09:31] If mr_daemon: I would have to give password each time when using sftp transports [09:31] matkor, That is true, but you could also use private/public keypairs, feed them into ssh-agent beforehand, and enjoy the blissful automated action of this. [09:32] This is clumsy, but the only quick way i could think of =/ [09:33] mr_daemon: OK. thank you very much [09:34] If all remote repos are on the same host, there's a trick that allows SSH to reuse an existing connection. [09:34] ControlMaster or something. [09:34] I don't know if it re-asks for passwords, though. [09:37] new version of my slides: http://python.net/crew/mwh/pyconuk07_bzr.pdf === Gwaihir [n=Gwaihir@ubuntu/member/gwaihir] has joined #bzr [09:41] mwh: Ooh, pretty. :) === sabdfl [n=sabdfl@ubuntu/member/pdpc.silver.sabdfl] has joined #bzr [09:46] mwh: I finally figured out what was bugging me with A+i/A+2i... It seems like he's progressing twice as fast as you are! What do you think about changing it to A+i and A+i2? [09:47] it's _supposed_ to be an allusion to complex numbers :) [09:47] Yeah, i kind of got that, but he's still going from i to twice i in the time that it takes me to go from 2 to 3... :) [09:47] (It's certainly complex. ;) ) [09:49] mw, few quick comments: on page 2 it seems odd to add (technically speaking) from slide 2 to slide 3 when there are releaved points below that; p. 33: you can work on a train? perhaps revise to: you can work while travelling?; p. 41: consider different bullets for different levels, e.g. boxes for the second level (also other slides); the quality of your logo is much too low, it'll look severely pixelated when projected [09:49] mwh, even [09:49] mwh, also it annoys me that the sans-serif font in your drawings writes 1 as I [09:49] bwinton: i'm ditching the A+i vs A+1 stuff [09:49] it's just confusing [09:50] That's probably for the best... What are you going to replace it with? [09:51] hstuart: I was going to suggest he change "on a train", to "on a plane, train, or automobile", because who doesn't like a good Steve Martin/John Candy movie? [09:53] heh [09:53] (With the caveat that if you're the one driving any of the previous, perhaps you shouldn't be coding...) [09:55] wrong mw :) [09:55] mwh: I think both should read A+1 [09:55] or s/should/could/ :) [09:56] dato: err [09:56] dato: no thanks :) [09:56] well, sooner or later people will have to deal with that [09:56] mw, I blame tab completion :D [09:57] gives you a nice opportunity to say "the revno does not uniqly represent a revision" or something like that [09:57] That's why I like to go with unique prefixes for my name. ;) [09:57] new version uploaded [09:58] with the font of just "1" carefully changed on lots of slides :) [09:58] dato: i'd rather write in a mini revid === oldmanstan [n=glesica@128.177.28.13] has left #bzr [] [09:59] mwh: your call :) [09:59] mwh, well, the rest of my concerns are still present in the new version ;) [09:59] hstuart: indeed [09:59] hstuart: i think i respectfully disagree with you on most of them [10:00] mwh, heh ok, no worries [10:01] Is the logo actually too low-res? I figured it'ld just be the SVG version, and so wouldn't matter what resolution it's projected at... [10:01] bwinton, you can try to zoom in. Looks like an embedded png [10:01] I guess at 300% I can see the pixels... [10:01] it's a png [10:02] but most projectors are 1024x768 at best [10:03] *shrug* I might just be overly picky with such things [10:03] Hm. Is this a Bazaar presentation, or just a pretext to plug Launchpad? [10:04] Lld: A bit of both, I believe... [10:04] i would like to embed the svg, somehow i doubt keynote supports that [10:04] To quote """[13:00] mwh: i think i want the talk to be about 40% advertisement for dvcs, 40% advert for bzr and 20% on launchpad/bzr""" [10:04] Lo-lan-do: would "is that a chip i see on your shoulder?" be an overly unfair response to that? [10:05] I don't know. I've heard the idiom, but I have no clue as to what it means, I'm afraid :-) [10:05] (Yay for being French) [10:05] Lo-lan-do: of course it's not "just a pretext to plug launchpad" [10:06] mwh: Would http://www.xml.com/pub/a/2004/01/07/keynote.html be of any use to you? [10:06] (Hmm, apparently not.) [10:07] bwinton: probably not, and certainly not given that i have another talk to write for the same conference :-) [10:34] Okay, I'm off. Have a fun evening, everyone! === bwinton [n=bwinton@mail.phantomfiber.com] has left #bzr [] === Demitar [n=demitar@c-212-031-190-120.cust.broadway.se] has joined #bzr === sverrej [n=sverrej@tul-1x-dhcp018.studby.uio.no] has joined #bzr === sverrej_ [n=sverrej@tul-1x-dhcp016.studby.uio.no] has joined #bzr [10:59] mwh: very minor (i.e. just ignore me) nit/bug in the talk, pg. 37 first link reads +login but tries to link to +register [10:59] Janzert: thanks [10:59] hooray keynote [11:10] morning [11:12] morning [11:26] abentley: ping [11:26] pong [11:26] abentley: We're doing a license audit of Fedora packages and I noticed that trac+bzr doesn't have a GPL version in any of the source files. [11:27] Because of the wierd wording of the GPLv2 we're being told to mark that as "any version of the GPL" [11:27] Is that what you intend? Or GPLv2? Or GPLv2+? [11:28] I'm not the sole author of trac+bzr. [11:28] I'd certainly place my code as GPL2+ [11:29] Yeah... I gather that anyone of you (the authors) can choose the GPL version as it's currently under any version that the receiver of the code chooses. === poolie [n=mbp@ppp112-44.static.internode.on.net] has joined #bzr === aadis [n=aaditya@122.167.214.15] has joined #bzr [11:31] Would you be upset if I list it as GPL+ (Meaning GPL any version)? I can certainly do that until someone decides they are authorized to add a version to a source file. [11:32] I just like to ping someone about this when I see a COPYING file that's GPLv2 but the lack of version-in-code means we consider it GPL+. [11:33] abadger1999: This means also GPL1, I supposed? [11:33] Yeah. [11:34] That would bother me a bit. Clearly the authors intended 2, and possibly 2+. [11:34] Exactly my problem :-( [11:35] so the issue is this clause [11:35] To me, it is clear that it was intended to be distributed under 2, and any other version is not clear. [11:35] If the Program does not specify a version number of [11:35] this License, you may choose any version ever published by the Free Software [11:36] Foundation. [11:36] if the readme or *something* does not says 'Version 2 GPL or later, see COPYING for the licence' [11:36] then that clause makes it the recipients choice. [11:37] abadger1999: I'd strongly argue that a README or something else is sufficient, not a per-file heading (to satisfy the clause - because the clause talks PROGRAM) [11:38] lifeless: Sure. I'll take that. Although, license in the source is definitely preferable (as it's unambiguous at that point) [11:38] abentley: and easy fix is for you set version 2, because you are *an* author, you can just say 'I chose version 2+ for my modifications, which is compatible with the licence' [11:39] We don't have a version specified anywhere that I can tell. [11:39] bzr+trac just doesn't have a GPL version anywhere except the COPYING file. [11:40] lifeless: +1 That would make the work as a whole GPLv2+ which makes the license clear. [11:40] Okay, I will specify 2+ for my version of trac+bzr. [11:41] Do you want a source code change before you apply that? [11:41] abentley: It would be great for the notice to show up in the files I pull from your repo. [11:44] good morning [11:45] mornink [11:48] lifeless, i'm going to separate out a branch for you that adds to the pack repository the ability to store and get texts by hash [11:49] poolie: ok [11:49] I saw some commits in that direction; [11:49] i thought it'd be better to review them separately first [11:50] abadger1999: Okay, revno 181 has GPL 2+ in the README and the main source file. [11:50] is it the sha of the representation in the repo or the sha of the reconstituted text [11:50] i think it's a good way to try out the splitting even if we don't finally want them addressed that way [11:50] will they be delta compressed [11:50] lifeless, at the moment they are not compressed [11:50] so they're the same [11:50] abentley: Thank you much. Helps me keep the lawyers happy while doing what I think the developers intend :-) [11:50] neither dictionary compressed or delta compressed [11:50] (not because I care about the answers, but I want the interface to be clear about what it is delivering) [11:50] hello abadger [11:51] poolie: greetings [11:51] poolie: I'm doing a knit format bump to make it more flexible and the index optional. [11:51] oh, you're not the badger i thought you were :) [11:51] but hello anyhow [11:51] hes a badger not b badger :) [11:52] anyhow the interface would be defined as the hash of the reconstituted text [11:52] you may have also seen i was making a base class with some of the repeated code between the two knit formats [11:52] two knit formats ? [11:53] i mean, two knit-in-pack repository classes [11:53] :-) I was notified that my lawsuit was going well the other day and had to call Texas collect to clarify that I'm a different badger. [11:53] oh; uhm; I'd rather not do that, because of the unclarity about the subtrees stuff [11:54] Moving things into PackCollection is how I planned to reduce the duplication [11:55] what unclarity? [11:56] I believe some of the subtrees policy is expressed by what class; some by attributes, some by code [11:56] so a base class will bring in multiple inheritance [11:57] abadger1999: So what's the status of trac+bzr? Is it in fedora already, or in the next release? [11:58] abentley: It's in Fedora already. Let me lookup which versions its built for [11:59] abentley: Fedora 6,7, devel (will be 8) and RHEL-5 It's the trac-bazaar-plugin package. [11:59] yes, it did bring in mixin style MI [12:00] i'm not a fan of MI in general but it's better than copy and paste [12:00] abadger1999: So I could say "since Fedora Core 6"? [12:00] I guess; I worry it will just stick around, what I had hope to achieve was just a few delegated methods [12:00] Yep. That would be accurate. [12:00] which while technically copy n paste is hardly so [12:01] what I'd really like to achieve is a single class that can be parameterised by the format to enable/disable subtrees