[04:56] why the same branch is 7MB fresh new from Launchpad and 30MB in the copy where I've recommitted whole branch? [04:57] I thought uncommit mean it [04:58] Uncommit doesn't delete the commit from the repository [04:58] It just changes the branch to no longer refer to it. [04:58] did 'bzr gc' ever get implemented? [04:58] annoying [04:59] how to really uncommit it? or delete from repository if you prefer [04:59] Also, you will probably find 'bzr pack --clean-obsolete-packs' reduces the size of the bzr directory (note that bzr will do that housekeeping automatically from time to time without you needing to do it manually) [05:00] does it delete uncommitted commits? [05:00] Until someone implements the hypothetical 'bzr gc' command bob2 mentions, you have to do it manually: create a new repo, and branch into that (omitting any branches and thus revisions that you don't want). [05:00] no [05:00] you can reclone if you really care [05:01] didn't someone implement gc in a plugin ? [05:01] (If you only have one branch, then this is simply 'bzr branch original-dir new-dir') [05:01] (and are using standalone branches, I should add) [05:02] well I only create branches with bzr init, does that qualify? [05:02] If you never used bzr init-repo, sure. [05:04] so it's basically bzr branch $each $each.new && rm -r $each? [05:05] right I never used bzr init-repo [05:08] btw, I was thinking of gathering together some scripts of mine which currently have their own branches, but if I use a single branch I'll lose individualized history for each script [05:08] Right. [05:08] There are ways to merge unrelated branches without losing history. [05:09] so I wondered if I could create some sort of "multi-branch", is that what repos are about? [05:09] Search the mailing list archives, IIRC the 'bzr merge-into' plugin may help [05:10] (Also "bzr merge -r0..-1 $unrelated_other" for simple cases) [05:11] No, shared repos are simply about efficiency. [05:12] (If you have N branches of a project, the vast majority of history will be exist in more than 1 branch, but if they share a repo each revision is only stored once. This unsurprisingly saves a heap of disk space and makes things faster.) [05:12] Ugh, pardon the mangled grammar :) [05:12] I think jam wrote a gc plugin. A very long time ago. Like pre-2a ago, if not earlier... [05:13] ok, but your suggestion will only work for past commits not new ones, right [05:13] You can merge multiple unrelated branches together; I do it all the time. Can't work with them independently after that though. [05:14] (well, you can, on the original unjoined bits, but post-join work is all somewhat irrevocably joined) [05:15] well, actually I can bzr [q]log filename, then I'll see individual histories separately [05:16] Yes, but I mean you can't turn that one joined branch back into N separate branches. [05:18] ok I mean about the whole idea of multi-branches, not needed at all... the only inconvenience is need to specify component in commit messages for global log not being confusing, but it's ok [05:20] either way, I think you can hack into uncommit and revert to unmerge separate branches... original commit dates could be kept with --commit-time in the new branch... [05:21] which I just found out after recommitting all my problematic branches :( [05:21] Only by backing up to before they're merged together (which kinda beats the dolphin). [05:23] btw I have recommitted some branches due to a bug between MSVCRT and MSYS, but in the meanwhile I found out what seems a bug with qlog... [05:24] commit times were being kept 1 hour forward (timezone -2) but even after fixing that (timezone -3) qlog seems to still be confused... [05:25] maybe still referencing replaced commits? I haven't found a pattern to reproduce and file a bug though === mark06 is now known as mark06-away === mark06-away is now known as mark06 === mmrazik is now known as mmrazik|afk === mmrazik|afk is now known as mmrazik [08:13] * fullermd waves at vila. [08:18] mgz! [08:18] morning [08:20] how are you today jelmer? [08:23] in need of coffee [08:23] mgz: how are you? [08:24] not quite arrived at coffee yet :) [08:26] fullermd: \o [08:26] hi jelmer, mgz ;) [08:26] hey vila! === lifeless_ is now known as lifeless [08:40] lifeless: happy EOJ ;) Have fun ! [08:47] vila: thanks === mmrazik is now known as mmrazik|lunch === mmrazik|lunch is now known as mmrazik === maxb_ is now known as Guest72551 === carif_ is now known as carif [16:02] hi! [16:02] I am unable to connect to launchpad using bzr [16:03] It shows connection reset and I wanted to know if I could ask bzr to make requests at specific ports. Any help? [16:24] SSH in my college is blocked. Can anyone suggest an alternative way to connect to Launchpad using bzr ? [16:29] Limit_: then no write access for you :-/ http should be fine to read though [17:10] vila: so I would atleast be able to fetch code?? [17:12] Limit_: yup, you need to remove your launchpad login from your config and ignore bzr telling you you've not logged into launchpad [17:13] that means removing 'launchpad_username' from bazaar.conf and deleting the launchpad.net section of authentication.conf [17:13] mgz: oh! that would atleast partly solve my problem! thanks :) [17:14] running `bzr version` will tell you where to find those [17:14] then when you branch lp:PROJECT it'll use the http link (which your college probably don't filter) [17:15] mgz: new doubt. When I try to upload code the next time, I'll have to add the launchpad_username and add info in authentication.conf, right? [17:20] Limit_: just `bzr launchpad-login YOURLPNAME` would be enough, but if this is a laptop and you're going on and off networks with ssh support that would still get annoying [17:21] what I had for a long time, was a pristine copy of trunk that was linked to the http location of the branch on launchpad [17:22] but then when I did feature branches that needed pushing rather than just pull, had my lp name in so push lp: used ssh [17:24] mgz: yes i have a laptop and that was the reason I asked you :) [17:25] interesting use case, worth a bug, this screams: configure me ! [17:25] vila: I don't understand what configuration changes would be useful in this case [17:27] a way to switch from places with ssh and the others [17:27] *ssh access [17:28] did you try asking your admins to allow ssh access by the way ? [17:29] Yes I did [17:29] They simply denied. [17:30] vila: about the configuration, we just need to write a script that swaps 2 configurations :) I have already created one for home and one for college. The script would name the required one as bazaar.conf or authentication.conf :) [17:30] they denied blocking ssh ? [17:31] no, they denied unblocking SSH [17:31] oh, as in they refused (sorry, not a native) ? [17:31] vila: Yes. we are not having SSH connection which stops me from pulling/pushing code. [17:32] Limit_: otherwise, you're right, a simple script can do. You'll have to remember modifying the two copies in sync though [17:32] vila: yes [17:33] Well, the usual solution to such blocking is "just tunnel it over ssh"... ;> [17:34] fullermd: I could tunnel SSH over HTTP but, I don't think launchpad would accept the code that is pushed over HTTP [17:35] Oh, well, you could just encode those as DNS TXT packets for the transfer. [17:38] fullermd: I am sorry I didn't get you. Can you explain DNS TXT? [17:38] * fullermd is being a little facetious ;p [17:39] Isn't there a way you can make arbitrary location aliases on a branch? There's also the bookmarks plugin. [17:40] (you'd still have to spec the location when you're on whichever network you consider the special case, but it'd save you typing out the full deals) [17:42] just having the http link as the parent worked suprisingly well for me [17:43] wasn't often I wanted to do more than pull trunk and hack locally [17:43] mgz: yes it will let me work on my code. It's just that for the time I am in college I'll have to submit patches. === deryck is now known as deryck[lunch] === deryck[lunch] is now known as deryck [21:31] in bzr explorer, is there a way to remove the [Toolbox] somehow? [21:32] i mean permanently, with configuration or something [21:33] the thing is, every time i click refresh it comes back [21:34] maybe that's not clear enough [21:34] here's what i mean: [21:35] create a branch: bzr init tmpbranch [21:35] open bzr explorer on it: bzr explorer tmpbranch [21:35] the top-right part is the "Toolbox" [21:35] it's something you hardly ever use (me, never) [21:36] you can click the [x] button, it will go away, but only until you hit refresh [21:39] a workaround that helps a bit: snap the Toolbox out of the frame, and then snap it back in -> this creates some sort of tabbed window, with the Toolbox and the Working Tree as tabs. This is better, because I can just switch to the Working Tree tab, the Toolbox will not be visible that way, and this layout is preserved even if I refresh [21:39] but i have to do this every time i launch bzr explorer [21:45] janos__: don't know off hand, but one way or another should be possible to remove it [21:49] w7z: so there is hope! [21:50] if nothing else, you can probably comment it out in the python === yofel_ is now known as yofel [21:52] w7z: probably [21:54] w7z: i need this for some non-programmer friends, it won't look very good if i have to tell them to go into the python code and comment out line X [21:55] well if there is no other way it's better than nothing [21:56] janos__: try line 205 in explorer.py [21:57] http://bazaar.launchpad.net/~bzr-explorer-dev/bzr-explorer/trunk/view/head:/lib/explorer.py#L205 [21:57] comment out that in your local copy [21:57] or poke this function: [21:57] http://bazaar.launchpad.net/~bzr-explorer-dev/bzr-explorer/trunk/view/head:/lib/explorer.py#L708 [21:58] that looks like it has preferences you can set [21:58] ok hang on [21:58] so try setting those preferences to false [22:00] thanks w7z, this is gooood! [22:01] you found the preferences and that did the right thing? [22:02] L205 just made the toolbox displayed popped out, the other one around L708 does what I want, I just set tbox_applicable = False ignoring all the ifs [22:06] w7z: i'm having the impression that i could set preferences somewhere, that way my friends don't have to edit python code [22:07] w7z: any ideas where that might be? maybe somewhere under ~/.bazaar ? [22:15] uhm, it's the DEFAULT_PREFERENCES['toolbox-on-status-view'] what i want to override to False, wonder if the setting is exposed somewhere in the UI or config file [22:24] w7z: got it! it's in ~/.bazaar/explorer/explorer.conf [22:25] i can set there the toolbox-on-* to false [22:25] thanks a lot w7z this is great! [22:26] gotta go now, bye all