/srv/irclogs.ubuntu.com/2009/02/28/#bzr.txt

raskerjml Just so I have a fuller mental picture, using stacked would be useful in scenarios like a bzr server on a LAN serving repositories for a large project or a pull for an automated build system  build system00:04
=== abentley1 is now known as abentley
jml8262.921  Collapsed 1 keys into 1 requests w/ 1 file_ids w/ sizes: [1526124]00:45
jml9055.759  Collapsed 1 keys into 1 requests w/ 1 file_ids w/ sizes: [1592792]00:45
jmlthose are big numbers :(00:45
raskerjml If you have a bunch of branches in a local repository and you want to remove a branch is it sufficient to just delete that branches' directory or does something more have to be done?01:26
beunorasker, you have remove it, but the revisions will still stay in the shared repo01:26
jmlbeuno: hello01:26
beunojml, hi there01:27
raskerso I would have to do a bzr remove?01:27
beunohow's it going?01:27
beunorasker, no, it's not really something easy to do to remove revisions from a shared repo01:28
jmlbeuno: happy and slow :)01:28
jmlbeuno: you?01:28
beunojml, I have unaswered emails from you, and I'm ashamed of it01:28
beunoI'm good actually!  my brain is almost non-functional, but it's also de weekend, so it's good timing01:29
jmlbeuno: that's ok.01:29
raskerbeuno actually I just want to remove a branch that is within a repository01:29
jmlrasker: deleting the directory is fine then01:29
raskerthis doesn't mess with the repository itself (i.e unreferenced stuff left behind)?01:30
beunojml, I just realized that I've been thinking your lp-open stuff hadn't landed because bzr doesn't autocomplete it. Do you know why that is?01:31
jmlrasker: nope01:31
jmlbeuno: not a clue, I'm afraid.01:31
raskerjml beuno : thanks. This bzr stuff is wickedness01:32
jmlrasker: np.01:32
raskerjml this repository I created with all these branches is pretty big (meaning that shovelling everything in a repository has not reduced the disk storage) . Is that because each branch has a working directory?01:45
raskerjml sry I mean working tree not working directory01:46
jmlrasker: sorry, but without concrete numbers I couldn't possibly guess.01:48
jmlrasker: du -sh branch/.bzr01:48
jmlrasker: du -sh repo/.bzr01:48
jmlrasker: that should give you an idea of where the data is, aside from the working tree.01:49
fullermdOh look, sourceforge adding git support.01:58
lifelessjml: lp merge request ok?04:40
mwhudsonif i wanted to play with bzr-git, which branches of the various things should i get?04:41
jmllifeless: sure04:42
lifelessbah, push failure04:52
lifelesscan I just send a bundle yet?04:52
mwhudsonmwh@grond:git-play$ git st04:54
mwhudsongit: 'st' is not a git-command. See 'git --help'.04:54
mwhudsonBAD START04:54
lifelessno, thats about normal04:55
lifelessI've seen folk who use git all the time get such messages04:55
lifelessapparently they expect them04:56
mwhudsonno ci either04:56
jmllifeless: I think bundle sending didn't quite make it into the release, due to rollout issues04:56
jmllifeless: you can send a merge directive without a bundle04:57
jmllifeless: but I'd rather a branch.04:57
lifelessjml: yeah, I've deleted and initted and pushing again04:58
lifelesswill look at the cause on monday04:58
lifelesshttps://code.edge.launchpad.net/~lifeless/testtools/addSkipped/+merge/403104:59
lifelessja1: you don't need len05:11
lifelessjml: so, whaddya think06:26
jmllifeless: mostly looks good. some spelling tweaks06:27
jmllifeless: will reply when I have more energons.06:27
lifelessjml: if its just tweaks, merge and do?06:28
jmllifeless: sure, if you want.06:28
lifelessjml: long as self.skip, and result.addSkip aren't the things being tweaked, I don't care about the rest :)06:28
jmllifeless: yeah, it's comments and test method names and the like06:29
jmlnothing of substance :)06:29
lifelessthen I'll start using it06:29
lifelessand put a patch for bzr to meet the same contract06:29
lifelesshmm06:47
lifelessactually subunit first06:47
=== montywi|zzz is now known as montywi
=== chx is now known as chx_sleeping
bignoseI have a branch with a loom10:02
bignoseI want to export a single thread as a separate, *non*-loom branch10:02
bignoseso that I can push it to a public location for others (who may not necessarily have loom support) to work with.10:03
bignosehow can I do that?10:03
lifelessbignose: bzr init target; bzr switch thread; bzr push target10:03
lifelessbignose: and after that the last two commands only10:03
bignosedoesn't ‘bzr switch’ need to be done *inside* a branch?10:04
lifelesswhats 'a' ?10:04
bignoseyou gave me three commands; presumably I type them all in sequence (with appropriate arguments).10:06
lifelesssure, starting in your loom10:06
bignoseokay, so ‘target’ would need to be a branch location *outside* the loom then?10:07
lifelessyes10:07
bignoseI was confused because I've been trying to do this with ‘bzr branch --revision thread:foo orig/ target/’10:07
bignosedone *outside* any branch, of course10:07
lifelessthough not required, you could create the target standalone in a subdir of the loom10:07
lifelessI'm seeing some unicode glyph my terminal can't render10:08
bignoseUTF-8 FTW, baby10:08
lifelessI'm not at all sure of what â means10:08
bignoseprobably your terminal isn't set to UTF-810:08
lifelessyes, and when I track down the xlib fuckage that means I don't get utf8 when my locale *does* support it, I'll be able to read it10:08
bignoseand sadly IRC has no way of communicating what character encoding is in use10:09
bignosethe only non-ASCII characters I've used, AFAICT, are typographical quotes10:09
lifelessanyhow, I'm seeing 'okay, so XXXXXsomethinghereXXXXXX would need to be ...'10:09
lifelesswhere XXXXsomethinghereXXXXXis my terminal fail10:10
lifelessits not a big deal, but it does mean I don't know quite what you are referring to10:11
lifelessso, I'll explain more fully and hopefully that will make it clearer10:11
lifelessbzr push URL, when you are in a loom, and URL is the URL of an existing regular branch, pushes the current thread to that branch's tip10:12
bignoseI'm trying it out with the explanation so far10:12
bignoselet me report back when I see how far that gets me10:12
lifelessso the three commands were just saying 'create a branch somewhere', 'push to it from the thread you want to export'10:12
bignosethanks, that appears to have worked10:13
bignosefor the record, the issue only became apparent when I tried to *bind* to a pushed branch10:13
bignoseand it complained because it was a loom10:13
lifelessoh10:14
lifelessI don't think that would work well, no :P10:14
bignosealso, I was expecting the revision spec to be able to pull oput a specific thread when branching10:14
bignosewould that make sense, as something to add to the UI?10:14
lifeless-r thread:name is possible, but bzr branch LOOM URL creates a LOOM at URL10:14
lifelessI'm not quite sure of the best way to represent the use case, but its definitely something that would be nice to have10:15
bignoseokay, but in that example, if a thread is specified as the revision, does it make any sense to create a loom at the target instead of a single thread?10:15
lifelessbignose: possibly, possibly its in the too-much-magic category10:16
bignosestill getting my head around looms, but I'm just giving feedback on how I expect it to work given my current mental model10:16
lifelessbignose: yeah; what they need is a month or two of dedicated love10:16
lifelessbignose: how are you liking them ?10:16
bignosethey're good; they don't do what I originally expected them to do (have arbitrary interconnections between the threads)10:17
bignoseand I still have no idea when I'm supposed to use the ‘record’ command10:17
bignosebut for managing a *stack* (which isn't what I would expect a *loom* to do), they are quite handy.10:18
lifelessdid you say "record" command ?10:19
bignoseI fully appreciate that the namespace of real-world concepts is already stretched thin :-)10:19
bignoselifeless: yes10:19
lifelessok, so I saw one character ><10:19
bignoseAFK now, thanks for the help10:20
lifelessmy pleasure10:20
lifelessmwhudson: b.l.n is still 1.12 yes?10:21
lifelessjml: areound ?10:29
mwhudsonlifeless: yes10:29
mwhudsoncode.lp.net is reliable :)10:29
lifelessmwhudson: all this talk of beta and edge servers :)10:29
lifelessI think spiv and I will have some qa to do on stacking on monday10:30
mwhudsonlaunchpad fails tests with bzr.dev currently, we'll be trying to fix soon i guess10:32
lifelesscause?10:32
mwhudsonnot completely clear10:33
mwhudsontransport_server = SmartServer_for_testing10:33
mwhudsonself.make_branch('.')10:33
mwhudsonmakes a remote branch now10:33
mwhudsonthat was one10:33
lifelessalways should have10:33
lifelessits flip flopped, now its fixed with a test to test the test helper that it stays working10:34
mwhudsonand two, in fact, though that one is really our fault, code and tests not agreeing and passing by fluke10:34
mwhudsonsome other stacking stuff, having debugged yet10:34
mwhudson(failing acceptance tests are _so_ fun)10:34
mwhudsonoh no, some loom stuff10:35
lifelessits possible you're seeing stuff I'm triggering here10:35
lifelesswe should talk10:35
lifelessin the meantime10:35
lifelessWhat will it take to commit some sensible things to unittest.py10:35
mwhudsonyes10:37
mwhudsonbut not at 23:30 on a saturday :)10:37
mwhudsonum, i'm not at all connected to cpython development at the moment10:37
lifelessgood :P10:37
mwhudsonit would probably take much arguing on python-dev10:38
lifelessthere's no 'its clearly sane jfdi' clause?10:38
mwhudsoni guess i might see gvr at pycon, i can try to get some preemptive points in10:38
mwhudsoni'm not even subscribed to python-dev10:38
lifelessI'm talking simple stuff like10:38
lifelessTestResult.done() [the entire set of tests are finished with]10:39
lifelessbetter still things like the addSkip patch I've put forward to testtools10:39
lifelessI'm not fussed whether gvr agrees or not :)10:40
mwhudsonwell10:40
mwhudsoni'm not going to commit stuff without getting involved in the community again10:40
lifelessprobably wise10:41
lifelessI'm getting quite tired of carrying deltas to unittest.py10:41
mwhudsonhave you submitted patches?10:42
mwhudsonthough i wouldn't be super optimistic about getting them apploed10:43
lifelessjml has had assertRaises-returns-exception rejected10:43
mwhudsonthe cpython developers, on the whole, don't maintain large systems :/10:43
lifelessI like included batteries to be capable of carrying a charge;10:43
lifelessshipping flat batteries, not so good10:44
mwhudsonum, the stdlib is good marketing, not much more10:44
mwhudsonsee above :)10:44
lifelesswell10:47
lifelessmuch of it works well enough10:47
mwhudsonlifeless: http://pastebin.ubuntu.com/124208/ <- that's the loomish failure10:51
mwhudson(haven't debugged at all)10:51
* mwhudson zzzzzzzzzzz10:52
lifelessmwhudson: ah yes loom needs a [trivial] fix to match bzr.dev api changes10:52
lifelessdone11:03
bignoselifeless: did you observe the discussion mid-2008 regarding improvements to Python's unittest?12:18
bignoseon the python-dev forum12:18
bignosefuzzyman and I worked together for a little while putting forward some PEPs for improvement, in 3.x12:19
lifelessbignose: I'm on TIP, but not python-dev12:29
lifelessbignose: so no, I don't think I saw it12:36
=== Leonidas_ is now known as Leonidas
jelmerjml: ping13:04
shledHello there, can anybody tell me how to disable these bzr-gtk notifications popping up after I push to a repository? I am using bzr and bzr-gtk under Ubuntu Intrepid.13:04
shledsolved it myself, many thanks for your help :-/13:23
bignoselifeless: <URL: http://mail.python.org/pipermail/python-dev/2008-July/081052.html>13:47
bignoselifeless: and subsequent unittest threads in that forum13:47
=== chx_sleeping is now known as chx
=== montywi is now known as montywi|poker
=== cprov is now known as cprov-out
lifelessjml: are you subscribed to python-dev?21:35

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!