=== Kissaki is now known as Kissaki^0ff === fta_ is now known as fta [03:26] Wow. Running `bzr viz` results in Bazaar crashing with a DBus error. That's great. [03:29] meep [03:36] I didn't know bzr-gtk needed DBus to operate. {shrug} [03:37] DBusException: org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 0 [03:37] Ah [03:38] from bzrlib.plugins.gtk import seahorse [03:38] thence [03:38] crypto = dbus.Interface(bus.get_object(BUS_NAME, CRYPTO_PATH), ... [03:38] "neat" [03:38] * AfC wonders what to do about it. [03:38] If I had to guess, I'd speculate it's ongoing wreckage from the Python 2.5 to 2.6 upgrade. [03:38] but we'll see [03:46] Bug filed [03:50] AfC: dbus is considered a standard component of any desktop system [03:50] I don't think you'll get much progress trying to break that dependency unless you do it yourself [03:54] luke-jr: I wasn't implying I don't have DBus present [03:54] (I'm a GNOME hacker) [03:55] luke-jr: I was merely expressing a bit of surprise that bzr-gtk was doing something that goes down that particular rabbit hole. [03:56] shrug [03:56] as far as I'm concerned, GTK sucks and has no place on my systems, so I can't say I'm surprised [03:56] KDE 4 sucks too, so here's hoping GNOME 3 is Qt4 [03:57] * luke-jr ponders trying to make C bindings for Qt to encourage such a road. [04:04] AfC: bzr-gtk doesn't need DBus, it will use it if it's available though (to communicate with seahorse) [04:04] jelmer: sure [04:04] jelmer: that's what I'm inferring [04:05] jelmer: the stack trace is at https://bugs.launchpad.net/bzr/+bug/377476 if you're interested [04:05] Ubuntu bug 377476 in bzr "bzr visualize crashed with DBus error" [Undecided,New] [04:05] what puzzles me a bit is that after (fake) merging that branch to another the crash doesn't happen [04:06] so I'm really at a loss to say what's up. I also largely expect that it's something inconsistent and transient on my system, but again, no idea what [04:07] AfC: fwiw I can't reproduce it with either but I'm on Debian (still python2.5) [04:10] jelmer: ok [04:10] jelmer: that's useful to know. I'll assume it's something local for now [04:10] jelmer: thanks [04:11] * AfC goes to find a coffee [04:12] * jelmer goes to find more beer [07:07] Peng_: you have quite a few loggerhead branches on the go [07:08] Peng_: how many of them are aimed at being merged into trunk in the end? [07:09] mwhudson: Yeah, I know. The "cheezum" ones are the branch I run on my website, which isn't intended to be merged. [07:09] mwhudson: The others, ehh. [07:09] mwhudson: Want me to make a list? :D [07:10] well, just curious really [07:24] mwhudson: FWIW, here's a list explaining them: http://paste.pocoo.org/show/7dCXpn7r0mCOoKejNiRM/ [07:24] And I'll land that branch in a second. [07:25] Peng_: thanks [07:25] Peng_: i'd say, just fix the pep8 stuff as you go [07:30] I feel bad about spamming "bzr log -n 1" with it. [08:25] Bazaar is good with branches and tags, right, (allegedly) unlike Mercurial? [08:26] Um. [08:26] I wouldn't say one is better than the other, just different. [08:27] Mercurial versions the tags (just dumping them in a ".hgtags" file in the working tree), while Bazaar doesn't. There are advantages and disadvantages to both. [08:27] Peng_: Well, I've heard a lot that Mercurial is bad at branches and tags, and that they shouldn't be used. [08:27] Perhaps moreso with branches than tags. [08:28] Regarding branches, with both bzr and hg, people usually make a new clone for a new branch, instead of supporting git's multiple-branches-per-directory thingy. Hg has some support for that, but it's not perfect; bzr doesn't at all. [08:29] what about with regard to CVS/SVN? [08:29] Who cares about cvs and svn? :D [08:30] well, I want to replicate CVS's method... minus the politics ;) [08:30] method of branching and tagging, that is [08:30] I should probably elaborate [08:30] Ah. I have just about zero experience with CVS. [08:30] oh [08:30] well [08:31] I can explain what I want, and you can tell me if Bazaar does that [08:31] OK, probably. [08:32] FIrst off, I'll be using the centralized repository method [08:33] I want to be able to branch at a point of release (0.1.0) to continue the latest development on the main branch, while still being able to make maintenance releases on the side branch (0.1.1, etc.) [08:35] I'd also like to be able to tag each release as it happens [08:35] on whatever branch it happens on [08:38] Peng_: It seems fairly straightforward, and it's easy on CVS, because there's no distributed part to worry about. Can it work with Bazaar? [08:53] GPHemsley: Sure, or hg. That's pretty basic stff. [08:54] Peng_: Well, I'm not considering Hg for this. I'm just trying to make sure switching to Bazaar is a safe thing to do for what I want. [08:54] I'd much prefer to use Bazaar. I just want to make sure it does what I want. [08:54] Okay. It does. [08:54] Oh, and, if it matters, I'll be stuck with 1.10. [08:55] One thing to note is that cherrypciking between branches isn't very easy to do. [08:55] Meaning what? [08:55] Well, I mean, you *can* do it, but it won't reflect the history. [08:55] GPHemsley: Branch A has revisions 1, 2, and 3. Then you branch off branch B, and commit revisions 4 and 5. Then you want to merge revision 5 back into branch A. [08:56] so branch A would lose 4 and 5 history? [08:57] GPHemsley: Err, revisions 4 and 5 were supposed to be on branch B, but I guess it works either way. [08:57] right, that's what you said. I'm just trying to figure out what gets lost. [08:57] GPHemsley: Nothing is /lost/ on the original branch, but the branch you cherrypick into won't automatically get the commit message and whatnot. [08:57] Ehh, I suck at explaining things. [08:57] Anyway! What you want is possible in bzr. [08:57] heh, no problem [08:58] So, can you merge in just a single changeset? [08:58] or revision? or whatever they're called here? [08:59] GPHemsley: Yes, but it won't be as smooth as merging in everything. It's basically equivalent to doing a diff, patch and making a new commit. [09:00] right [09:00] so no worse than CVS [09:00] but better in the sense that you *don't* have to do three commands ;) [09:02] To say nothing of actually using CVS ;) [09:04] fullermd: Heh. Well, I switched from CVS to SVN, but I really don't like SVN. And I've been finding myself yearning for Bazaar commands. [09:05] So who would like to volunteer to walk me through the conversion process? :) [09:07] Oh, and I'm doing all of this on Sourceforge, BTW [09:09] fullermd: You up for the challenge? I know you've been helpful to me in the past. :) [09:16] cvs to bzr or svn to bzr? [09:17] SVN [09:17] bzr-svn. [09:17] I already did CVS to SVN a while back [09:17] link? [09:18] GPHemsley: http://bazaar-vcs.org/BzrForeignBranches/Subversion [09:18] k, thanks [09:19] So, will I have to use the version specifically for 1.10, or can I use the latest version? [09:22] GPHemsley: You'll have to use an older release of bzr-svn. [09:22] Upgrading bzr would really be better. [09:22] Do you know why that is? It seems silly. [09:22] And I can't upgrade. Like I said, I'm using SourceForge. [09:23] GPHemsley: you can use a newer bzr to do the conversion [09:23] then push it to sf just fine [09:23] mwhudson: Oh, OK, so it's for the version that I have on my computer? [09:23] right [09:23] oh, then that's easy [09:24] FYI (since I don't want my grepping to go to waste!), the last version compatible with bzr 1.10 is 0.5rc1. [09:25] heh, thanks [09:25] it's on the page, though ;) [09:26] Oooh. I skipped that section of the page. I'd put my foot in my mouth, but it isn't very clean. [09:26] heh, I wouldn't recommend that then [09:26] Oh well, it was still fun to figure out. :) [09:27] was that in the source code or something? [09:27] Yeah. [09:27] cool [09:34] Peng_: you should try washing your mouth sometime; then it will be clean [09:35] * fullermd has never done svn -> bzr. [09:35] Facing up to the time to move to svn was what made me choose bzr in the first place :p [09:36] heh [09:37] lifeless: I know. My dentist is going to murder me. Or she'll charge me a lot of money and be happy, I guess. [09:38] To say nothing of your podiatrist. [09:53] Alright, so I need subvertpy for this [09:53] I try to install with via MacPorts and it tells me it doesn't know where my svn development files are [09:53] And, well, neither do I [09:53] They might not be installed. [09:54] where do I get them? [09:56] presumably via macports [09:56] I believe we have .dmg installers for bzr which include bzr-svn though [09:57] lifeless: Kindly point [10:06] mwhudson: What format will bzr-svn use? Will it be compatible with the server's 1.10? [10:07] GPHemsley: Yes. [10:09] OK... but I'm still having trouble with subvertpy [10:09] where would the SVN development files be? [10:10] could the problem have to do with what I used to install SVN? [10:20] ugh... I can't set the environmental variable for some reason... [10:20] (I found the files) [10:20] Why does it say "bzr+ssh" but " [actually, I'd like to know why it bothers to say this at all, but whatever] [10:20] * GPHemsley wonders what AfC is talking about [10:21] GPHemsley: bzr's current iteration of text presented while network operations are underway [10:21] ah [10:23] * fullermd doesn't recall any bzrlib in the output. [10:27] AfC: It displays < and > to show if it's currently reading from or writing to the network. [10:32] Any idea why the subvertpy script is not picking up my environmental variables? [10:32] the install script, that is [10:32] (via MacPorts' port command) [10:38] Peng_: Any idea? [10:47] GPHemsley: http://bazaar-vcs.org/Download [10:47] that's what I use [10:47] bzr-svn is not included [10:48] oh, ok [10:48] Peng_: no, that '<' and '>' are separate, also appearing on the line [10:48] Which is why I'm asking [10:49] AfC: pastebin :P [10:53] The date in NEWS.html for 1.15rc1 is wrong. [10:53] Simple copy/paste error. [10:54] * davidstrauss goes to bed now. [10:57] lifeless: I'll try. [10:58] [/ ] ugh.... I can't even compile subvertpy by hand because it fails with a different error... [11:15] collect2: ld returned 1 exit status [11:15] lipo: can't open input file: /var/tmp//ccJpbdpb.out (No such file or directory) [11:15] error: command 'gcc' failed with exit status 1 [11:16] oh, hmm... [11:16] looks like there's a bigger problem [11:24] ugh, I don't know what to do [11:24] everything I try errors out one way or another === Kissaki^0ff is now known as Kissaki [11:30] any loggerheads around? [11:45] crisb: At least 0.2. Sometimes. Why? [11:48] just trying to do serve --http on the trunk - it blows up because BranchesFromTransportRoot has an arg missing, added that arg in and now it just says no such option --http! [11:49] crisb: What's the missing arg? === sabdfl1 is now known as sabdfl [11:50] crisb: Oh, I see. Hmm. [11:50] peng_: a config object. used the serve-branches code as a copy [11:50] crisb: Right. [11:51] Darn. Now not only do I have to test start-loggerhead, but plugin mode as well. [11:52] peng_: dont think LoggerheadConfig() works in this situation which is what I did [11:52] crisb: The problem is that the config object parses the command line arguments, but it doesn't know what to do with "serve --http". [11:52] ahah [11:53] So now I've accidentally broken both start-loggerhead and "serve --http". Nice! :D [11:54] ;) [11:56] shall I file it? [11:57] crisb: Sure. [12:00] peng_: number 377551 is born [12:02] crisb: Thanks. [12:07] what's the best way to detect lightweight checkouts programmatically, with maximum compatibility across bzrlib versions? is it what bzr info does? [12:17] crisb: I have a fix up in a branch at http://bzr.mattnordhoff.com/bzr/loggerhead/serve-http-config -- does it work for you? [12:22] Peng_: sorted, yep looking great. [12:22] crisb: It works? Really? Awesome. :) [12:26] ;) handy now I can package it for mandriva as a plugin [15:21] hi all. I have a question: I saw that you are developing new serialization format to replace XML called RIO. Why aren't you using something already implemented/stable/fast like google protocol buffers? [15:34] max_r: Extra dependency in Bazaar, extra build complexity (need to compile .proto files) [15:35] max_r: Also, RIO is already used in other places in Bazaar [15:35] max_r: It just wasn't fast enough yet [15:36] is there a way to "merge" a commit with the current one without doing uncommit/commit? [15:37] Laney: you can't change a commit [15:37] ok [15:38] jelmer: I see thanks === abentley1 is now known as abentley === krisfree is now known as krisfremen [18:41] hi all! lets say I want to create a new branch but bring only a single file, together with its history, is it possible? Or I have to branch the usual way and then delete the files I don't need? [18:45] alefteris: Are you on bzr 1.14? [18:45] yes [18:45] alefteris: make a new directory, move the file there, and then bzr split that directory [18:45] alefteris: This new directory should be in your existing tree [18:45] alefteris: (and added) [18:46] alefteris: That will turn the new directory into a distinct bzr tree that keeps all history for that file. [18:47] alefteris: You may want to branch before doing the moving and splitting, just to avoid messing up your current branch. [18:48] so make a new dir, add it, move the file in there, then bzr split this dir, correct? [18:48] alefteris: Yes. [18:49] davidstrauss, move the file manualy or through bzr? [18:49] alefteris: And the split dir will be its own tree/branch with all history for that file pulled in. [18:49] alefteris: through bzr [18:49] ok thanks a lot [19:07] all those different branch formats are meant to provide different options for different needs or newer ones are supposed to replace the previous ones? [19:11] davidstrauss, I get a branch format error when doing the split, whats the required format that i should upgrade to? [19:11] alefteris: you need a rich root format [19:11] 1.14? [19:11] alefteris: any rich root format will work [19:12] alefteris: bzr upgrade --1.9-rich-root [19:13] alefteris: I'm still wary of 1.14's format [19:13] alefteris: There are issues with it being fixed in 1.15+ [19:13] davidstrauss, can you tell me anything about the previous question or there is any doc, explaning the various bzr formats? [19:13] alefteris: http://doc.bazaar-vcs.org/bzr.dev/en/user-reference/bzr_man.html#upgrade [19:14] alefteris: http://doc.bazaar-vcs.org/bzr.dev/en/user-reference/bzr_man.html#split [19:14] "This command will produce a target tree in a format that supports rich roots, like 'rich-root' or 'rich-root-pack'." [19:14] davidstrauss, I mean this one: all those different branch formats are meant to provide different options for different needs or newer ones are supposed to replace the previous ones? [19:14] alefteris: The newer ones replace the older ones [19:15] alefteris: Eventually old ones are obsoleted [19:15] alefteris: The current default format is 0.92 [19:16] alefteris: Details are all here: http://doc.bazaar-vcs.org/latest/developers/development-repo.html [19:16] davidstrauss, how come then that the default format is still so old? the newer ones are not so stable/tryed yet? [19:17] alefteris: 0.92 is compatible with bzr >=0.92. Other versions require newer releases. [19:18] alefteris: We're waiting for newer releases to become more widespread before upping the default version. It's not a question of stability. [19:19] so it's basicaly in order to have branches compatible with older version of bzr in servers etc? [19:19] alefteris: yes [19:19] cool thanks a lot david for your answers :) [19:22] alefteris: sure [23:06] I do net admin for a small office of Windows users, but since I write a number of utilities in Perl/Python that use Unix-like tools, I have set up a central way of running such tools under Cygwin without having to install Cygwin on each workstation. [23:07] Question: Is there anything different in the Windows (stand-alone I suppose) Bazaar build, versus building from the tar, that would make it better than running the source Bazaar under Cygwin Python 2.5? [23:07] I'm mostly thinking of filename casing and EOL... [23:09] I'm not aware of any patches in the code [23:09] we do check platform forsome stuff, and IIRC cygwin shows up as a unix platform in python [23:09] I had problems in older Bazaar versions when, say, trying to version file sets on Windows machines when people saved with inconsistent name casing, but I think that even happened under Windows bzr stand-alone back then. [23:10] sys.platform == 'cygwin' [23:11] bzr is returning an assertion error for a file which was removed and later added again: bzr: ERROR: exceptions.AssertionError: name u'system_manager.py' already in parent [23:13] this is kinda preventing me from committing or doing anything else with my branch :( [23:14] meh, I just killed my other branch and rebranched [23:14] dlee: yes, we should handle that better now [23:15] lifeless: Wonderful! Now just deciding whether to jump to 1.14.1 or wait for 1.15. [23:33] beuno: ping [23:35] cr3: fwiw, worst case, you probably just have to kill .bzr/checkout and run "bzr checkout" again. You don't even have to lose the files in the working tree. [23:35] Peng_: cheers === Kissaki is now known as Kissaki^0ff === Kissaki^0ff is now known as Kissaki [23:50] beuno: unping. I sent an email instead. === abentley1 is now known as abentley