/srv/irclogs.ubuntu.com/2010/01/18/#bzr.txt

lifelessspiv: seen poolie00:11
lifelessspiv: I think its because the command  finding hooks have been cleared inappropriately00:12
lifelessspiv: and/or a chdir has been done inappropriately.00:12
spivlifeless: hmm, quite likely.00:13
spivlifeless: regarding poolie, I haven't seen/heard anything.00:14
Noldorinjelmer, hello?00:20
jelmerNoldorin, hi00:20
Noldorinhey00:21
Noldorinjelmer, any idea about that strack trace for bzr-svn?00:21
jelmerNoldorin, which stack trace?00:21
Noldorinjelmer, http://pastebin.com/m122b7c6400:22
Noldorindid you catch any of the convo with spiv ?00:22
jelmerno, I haven't00:22
Noldorinthat describes it all anyway...trying to push to an svn repo with bzr-svn00:22
Noldorinalways worked until recently :S00:22
jelmerNoldorin: have you pushed to this codeplex repository before?00:23
Noldorinjelmer, yep, worked many times00:23
Noldorinand haven't really changed the bzr repo00:23
Noldorinit might have happened when i cancelled a push to svn one time :S00:23
jelmerNoldorin: remove the 'layout = None' bit in ~/.bazaar/subversion.conf00:23
Noldorinjelmer, it has guessed-layout = None00:24
Noldorindo i want to remove that?00:24
jelmerNoldorin: can you remove that ?00:25
Noldorin(or comment it out?)00:25
Noldorinok00:25
Noldorinjelmer, ok, it's doing better now...00:26
Noldorin[-                   ]    208KB     3KB/s | analyzing repository layout:fetchi00:26
pooliehi spiv, lifeless?00:33
Noldorinjelmer, 1900KB now...seems to be going a bit long :/00:33
jelmerNoldorin, it'll do the full repository analysis again now00:34
Noldorinfair enough00:34
Noldorinjelmer, so what's thie about layout...? why do i have to remove that line from the conf file?00:35
jelmerNoldorin: it contains the guess repository layout00:36
jelmeryou had to remove it because it contained an invalid value (None)00:36
Noldorinah00:36
jelmernot sure how that got in there though00:36
Noldorinso by default there shouldn't any there...?00:36
spivpoolie: good morning00:40
jelmerNoldorin: it should be there, it should just have the right value :-)00:40
jelmerNoldorin, does it work now?00:41
Noldorinjelmer, ah fair enough...still going00:41
Noldorin3500KB now00:41
Noldorinwhat should be the right value?00:41
jelmerNoldorin: it'll be determined by bzr-svn automatically00:42
Noldorinok00:42
jelmeror you can specify one - see "bzr help svn-layout"00:42
Noldorinfair enough.00:42
Noldorinheh, just waiting still. 4MB seems like an awful lot, and it's still going ...00:42
lifelessabentley: the fix for you has landed00:45
lifelesspoolie: hi00:45
Noldorinjelmer, does this make sense that so much is being downloaded? 5.5MB now and 0/3610000:50
Noldorinit looks like it's downloading the entire revision history of codeplex, hah :P00:56
jelmerNoldorin: No idea, sorry00:59
jelmerNoldorin: it might be a codeplex issue, I've seen issues with it before00:59
Noldorinah right00:59
Noldorinhrm00:59
Noldorinno worries then. thanks anyway00:59
jelmerNoldorin: I01:12
jelmer'm happy to help debug though01:13
jelmerNoldorin: If it keeps going, you might want to try again with -Dtransport01:13
Noldorinjelmer, ok i think i'll try that then01:14
Noldorinhmmm01:14
Noldorinit shows [####################/] now01:14
Noldorindoes that mean it's almsot done?01:14
Noldorinjelmer, hmm?01:17
spivNoldorin: it means we probably made the right decision to remove the progress bar in 2.1 ;)01:18
Noldorinspiv, hehe, fair enough01:18
* Noldorin cancels it01:18
spivNoldorin: chances are it's making progress, but I couldn't say how long it would take01:19
Noldorinspiv, yeah. so i've run it with Dtransport now01:21
Noldorinwhat should i check?01:21
spivNoldorin: that'll add a lot of debug output to ~/.bzr.log01:25
Noldorinok01:25
spivNoldorin: so you can monitor that and hopefully get an idea of what it's doing01:25
Noldorin"hopefully"01:25
Noldorinmm01:25
Noldorinspiv, http://pastebin.com/m67c3cc5702:01
Noldorinthat's what .bzr.log gives02:01
Noldorinspiv, any ideas?02:20
jelmer_Noldorin, hi02:24
jelmer_Noldorin, this is indeed a codeplex issue02:24
jelmer_Noldorin, it's not behaving as a svn server should02:24
Noldorinhi jelmer_02:24
Noldorinyou read the pastebin eh?02:24
Noldorinhrmm02:24
jelmer_yeah02:24
Noldorinyay for MS again02:24
jelmer_any chance you can file a bug with them?02:24
Noldorinjelmer_, sure, if you tell me what to put in it :)02:24
Noldorinsince i don't fully understand the source of the problem02:24
jelmer_all I can say based on that pastebin is that it doesn't actually provide all data that is requested by the client when you do a log request02:25
jelmer_If you specify the line that's being repeated in .bzr.log and your repository URL I should be able to help narrow that down02:26
jelmer_I'm off again, back later02:27
Noldorinjelmer_, ok, thanks...02:27
Noldorini'll try to submit that tomorrow02:27
Noldorin(late here, so i'm off to bed)02:27
Noldorinnight02:27
spivpoolie: going to fetch mary, brb03:51
pooliek03:51
lifelesspoolie: what version of subunit were you using when you had the problem stream on friday?03:56
poolieum04:01
jelmeruhm!04:02
pooliehello :)04:02
poolieare you at lca?04:02
jelmerhi :-)04:02
jelmeryep04:02
jelmerjames_w: ping04:02
poolielifeless: i think 0.0.4-404:02
pooliebtw it has no __version__04:02
lifelesspoolie: yeah I should add one04:15
lifelesspoolie: ok, well I still have no explanation then; its missing the xfail outcomes04:15
lifelesspoolie: and I can't trigger the fault myself so far04:15
xnoxNow when I run bzr I always get the pre-commit hook running04:33
xnoxI don't believe I created any myself04:33
xnoxhow do I find out which out of my ~10 plugins is missbehaving?04:33
* xnox wants to know what's it's doing04:33
lifelessxnox: do you mean that qwhen you commit you see 'running pre commit hooks'04:34
xnoxyeap04:34
xnoxand sometimes it takes a while (on big binary blob commits)04:35
xnoxlifeless: it wasn't there before...04:35
lifelessthats bzr telling you its at that point in the commit. It doesn't really mean anything in and of itself. Each prec ommit hook run will have its label printed out separately.04:35
lifelessxnox: you can however get a list of the installed hooks.04:35
lifelessuhm04:35
xnoxoh my I do have quite a few hooks04:38
lifelessok in python04:38
lifelessimport bzrlib.plugins04:38
xnoxI think I know what it is. I've enabled bzr search / index on this repo and it's activated on tip change04:39
xnox$bzr hooks04:39
lifelessimport bzrlib.plugin04:39
xnoxshowed me =)04:39
lifelessbzrlib.plugin.load_plugins()04:39
lifelessbzrlib.branch.Branch.hooks['pre_commit']04:39
lifelessyeah, that will too :)04:39
=== abentley1 is now known as abentley
* xnox says everyone on #bzr just love to do everything with bzrlib =)04:40
lifelesshowever index is post_change_branch_tip04:40
xnoxtrue04:41
xnoxthen I'm clueless04:42
xnoxcause there are no post_commit hooks installed yet it stops there for while04:43
xnoxbzrlib.branch.Branch.hooks['pre_commit'] is just a pointer and not callable04:43
* xnox whatever is the real name for pointers in python "object in memory"?04:43
lifelessreference04:44
igchi all04:45
xnoxaha! =) thank you04:45
lifelesswhats the callbacks list though?04:45
lifelessI have to go, perhaps igc can help you :)04:45
lifelessciao04:45
=== abentley1 is now known as abentley
xnoxlifeless: it's empty via bzrlib method also04:51
xnoxcallback=[]04:51
xnox=((((04:51
xnoxmaybe another day04:51
james_whi jelmer05:27
jelmerhey James05:30
jelmerjames_w: can I upload current bzr-bd to sid?05:30
james_wsure05:30
jelmerjames_w: would you be ok with 2.2 as version number for that, or would you rather see a 2.2~ ?05:52
james_w2.2 is fine05:59
james_wjelmer^05:59
jelmerjames_w: thanks06:00
james_wno, thank you06:01
jelmerjames_w: Is there still a debian branch somewhere with the Maintainer: etc set properly?06:06
james_wthere may be one on bzr.debian.org06:07
james_wit's probably a fair way behind if it is06:07
vilahi all !07:02
james_wsalut07:03
thumperjames_w: hey07:03
james_whey thumper07:03
thumperjames_w: you coming around?07:05
james_wyeah, I'm still writing07:05
thumperjames_w: so is everyone here :)07:06
james_wyou need me soon?07:06
thumperif you are getting more done there, feel free to finish first07:06
james_wthumper: we're just ordering some pizza, I'll come over post-prandially07:11
vilaprandially: ENOTFOUND07:12
james_wvila: after eating07:13
mwhudsonisn't "prandially" basically a frenchism?07:14
vilajames_w: thanks :) I mostly deduced it from the context but my online dictionary raised the error above and I was wondering where the word was coming from..07:14
vilamwhudson: It doesn't ring any bell....07:15
james_wfrom the latin apparently07:16
vilaoh, prandial, got it07:16
vilamwhudson: so the English jumped over the French for this one :)07:17
mwhudsonah07:17
pooliehello vila, mwhudson, james_w07:26
vilahey07:26
james_whi poolie07:26
mwhudsonhello poolie07:26
=== vila changed the topic of #bzr to: Bazaar version control | try https://answers.launchpad.net/bzr for more help | http://bazaar.canonical.com/ | http://irclogs.ubuntu.com/ | Patch pilot: vila | bzr 2.1.0b4 and 2.0.3 released
spivvila: hello patch pilot :)08:05
vilaspiv: ;)08:05
spivvila: I'm about to go on leave (I'll send mail about this shortly), so you may need to take care of https://code.edge.launchpad.net/~spiv/bzr/per-file-merge-hook-491711/+merge/17279 ;)08:06
vilaspiv: before you left, I haven't yet look at your merge hook ... hehe good08:06
vilaspiv: roughly, are you confident enough to land for 2.1.0rc1 or is it something for 2.2 ?08:07
spivvila: I think it may actually be ready to land now08:07
spivAnd I think it'd be good for 2.1.0rc108:07
vilaok08:07
spivIt's fairly low risk, I think.  The bits that are likely to break are probably shallow.08:07
vilaspiv: so you can fix them in your part-time ? ;-)08:08
spive.g. maybe the news_merge plugin might accidentally cause tracebacks on some corner case, and will need to be made a little more resilient to just giving up when that case happens.08:08
spivvila: right ;)08:08
spivThe sooner it lands, the sooner any bugs will get shaken out, of course ;)08:09
spivBut it would be a useful feature to land for udd08:09
spivEspecially if someone at the sprint can write a debian/changelog merger (see my mail to the udd list)08:09
vilaspiv: Yes I read that, I'll look into it asap08:09
spivHaving glanced at it again, I think it might actually be really easy...08:10
spivI had been thinking it'd be good to do at the sprint, but maybe you'll just do it today ;)08:10
spiv(for someone other than me to do at the sprint, of course)08:10
vilaspiv: I think it's a really good target for the sprint and will spread the knowledge better.08:12
spivvila: *nod*08:12
vilaspiv: but I'll note to land it08:12
spivvila: thanks :)08:12
mwhudsonjames_w: hi08:14
pooliespiv/vila, what is?08:14
mtaylorspiv, vila: debian/changelog merger ++08:14
vilapoolie: per-file-merge-hook08:14
pooliethat sounds good08:15
poolievila, thanks for being patch pilot this week08:16
* igc dinner08:17
* beuno waves at vila 08:24
* vila waves at beuno08:24
* jelmer waves08:24
vilabeuno: you're abroad again right ?08:25
vilajelmer: You're never up that early so you're definitely abroad too :)08:25
jelmervila: I'm in NZ :_)08:25
spivmtaylor: Hopefully quite soon! :)08:25
vilabingo :)08:25
spivmtaylor: I already have a bzr NEWS file merger :)08:26
mtaylorspiv: yippee!!!08:26
mtaylorspiv: as someone who does a lot of merging between packaging backport branches, I will welcome this new feature08:26
spivBut someone else will get to write the debian/changelog one I think, I'm about to become a parent :)08:26
beunovila, no, I'm startiong early so I can finish early. I'm signing the contract to move into a new apartment08:27
mtaylorspiv: congratulations!08:27
beunoheya jelmer08:27
vilabeuno: wow, *that's* early !08:27
vilabeuno: Congrats for the new apartment ! I'm happy to hear that !08:28
beunomwhudson, if you're around, I'm curious about LH's performance since the latest patch08:28
spivmtaylor: thanks!08:28
pooliehello beuno08:28
pooliehow nice to see you08:28
mwhudsonbeuno: it's been ok08:28
beunohey hey poolie08:29
beunomwhudson, significantly more stable?  or "meh"?08:29
mwhudsonbeuno: hard to say at this stage08:30
mwhudsonbeuno: perhaps a little better08:30
pooliespiv, I am asked to approve or disapprove of your paternity08:38
pooliethat's kind of a big question :)08:38
jelmerbeuno: Yes, congrats!08:40
beunojelmer, how's LCA?08:41
jelmerbeuno: Nice :-) Preparing our talks for tomorrow's miniconf at the moment.08:41
vilaspiv: so regarding per-file-merge-hook, I think you addressed jam's remarks but I'd wait for his comments/approval before landing08:55
poolievila, tanks for the progress review08:56
vilata08:58
=== gerard_1 is now known as gerard_
mwhudsonjames_w: i'm trying to use bzr-builder and failing09:01
mwhudsonjames_w: it would be good to fix this before tomorrow :-)09:01
=== abentley1 is now known as abentley
spivvila: great, thanks :)10:21
vilaspiv: I'm reviewing right now, a couple of tweaks so far, nothing serious.10:22
vilaspiv: I really like your refactorings...10:23
spivvila: phew :)10:27
vilaspiv: done.10:35
lifeethHello folks.. I was wondering if there was a bzr utils suite that can be used without installation on windows?11:09
spivlifeeth: what do you mean by "utils suite"?11:10
lifeethI mean just the bzr.exe11:10
spivlifeeth: there are a fair few plugins available that don't need speicial installation.11:10
spivOh, hmm.11:11
spivNot sure, sorry :/11:11
lifeethOk..11:11
lifeethNeed to package it with a portable app -- so was wondering if there was just one executable that can be used11:11
flavourCool, there is a channel :)11:35
flavourApply change? [yNfq?]11:35
flavouron bzr merge -i11:35
flavourWhat is the 'f' for?11:35
flavourPlease tell me it's 'forget'11:35
flavourAs in 'don't commit this change & then don't bug me about it again'11:35
flavourI have a criss-cross merge11:36
maxbI suggest you press '?'11:37
flavourmaxb thanks11:46
flavourWhat does 'finish' mean then? Same as my hoped-fr 'forget'?11:47
flavourOr just 'stop processing more files, but process the ones already 'y''d?11:47
=== Peng___ is now known as Peng_
spivflavour: the latter, IIRC, but I can never remember...11:48
flavourSo is there any way of telling Bzr to 'never hassle me about this change again'?11:48
flavourAny other way of cleanign a criss-cross merge other than one side dleeting & repulling afresh?11:48
tumbleweedflavour: bzr revert, bzr revert --forget-merges ?11:49
flavourWell, I want to keep 2 LP branches in sync11:49
spivflavour: never in which sense?  If you do regular (non-cherrypick) merge, and resolve it and then commit it, then the next time you merge those changes will not be reconsidered.11:49
flavourSyncing often (coding for Haiti)11:49
flavourIf I do a normal merge then I will lose a whole bunch of changes11:50
flavourWhich I'll have to reapply manually11:50
spivLose in what sense?11:50
flavourWell, the incoming merge wants to revert a whole bunch of changes I just made11:50
spivWell, you can revert those files before committing.11:50
flavourSo I'd have to reapply the change again to each of the files11:50
spivi.e. "bzr merge ../other-branch; bzr revert file1 file2; bzr commit"11:51
flavourThen it'll hassle me about merging again next time I think11:51
spivNo, it won't.11:51
flavourI'll try it, thanks :)11:51
spivSo long as "bzr st" shows a pending merge.11:51
spivThen bzr will remember that you've merged in that revision (and thus all the parent revisions of that, too).11:52
spivAnd it won't try to remerge them.11:52
spivcriss-crosses can make it hard to determine which changes are already merged, but even then "bzr merge --lca" tends to do a pretty good job.11:53
tumbleweedquestion I asked on the weekend (when the channel was dead). We are doing a big code-reorganisation. Some files can be "bzr mv"ed. But there's a lot of movement of things from one file to another. No way to carry history, right?11:54
Pengtumbleweed: Right.11:56
spivtumbleweed: right, unfortunately.11:56
tumbleweedthanks11:56
Pengtumbleweed: If you're moving the majority of a file, it may make sense to "bzr mv" it then create a new file. (You can do that in the same revision. I think.)11:56
tumbleweedyeah, unfortunatly that only goes so far11:57
spiv(Although someone might in the future write a fancy tool to analyze the history later and use heuristics to track code moves across files, that doesn't exist yet.)11:57
flavourhttp://paste.pocoo.org/show/166677/11:57
flavour-lca made no difference to me unfortuantely...I tried it12:00
flavourI know clearly which files should 'win'12:00
flavourwith only minor tweak12:00
flavourBut a lot of files12:00
flavourRest of the files reverted ok, but not this one12:00
spivflavour: that "input line too long" is a weird error, I assume there's something wacky happening with your shell of environment.12:00
spivs/of/or/12:00
flavourWin32, so what do I expect? ;)12:01
spivflavour: I expect weird voodoo that I can't diagnose for you :)12:01
flavournow getting it with just bzr ver12:01
flavourLet me cycle the shell12:01
spivflavour: I'd suspect you have something that's growing an environment variable or alias every time you run 'bzr'12:02
flavouryeah, that fixed it12:02
flavourcmd window exhausted12:02
flavourLooks good...am going to docuemnt this for future & try it on some other branches I have probs with - many thanks!12:33
michaelisHi. I could use some help organizing my project. Does anyone have some time to spare?12:53
michaelisI only have a couple of questions and it will probably not take more than 5-10 minutes.12:55
Pengmichaelis: Someone might, but you'd have to ask your questions to find out. :P12:58
michaelisI was thinking a private chat session but I can post my questions here.12:59
=== mrevell is now known as mrevell-lunch
PengI, for one, don't know enough to want to talk one-on-one, but I might be able to contribute a little bit of you ask in the channel.13:05
rubbsPeng: is correct... usually it's best to ask the group. that way different people can weigh in and help out with your problems13:06
rubbsif you're worried about hogging the channel... don't worry, it's usually not that busy.13:06
PengBesides, that's what the channel is for.13:07
vilaspiv: I'm not sure I understand the meaning of "That's very much for the extra review.", is it "you're asking too much" or "you reviewed a lot" ?13:08
vilaspiv: or yet another meaning ? ;)13:08
michaelisI work in a municipality with water distribution/cleaning and we have many files that we would like to version control. It's everything from simple text documents, pdf's to PLC programs. Since there are many facilities and every facility has its own set of documents, every facility, according to me, is organized as a shared repository. Thereafter every specific set of directory, such as e.g....13:10
michaelis...PLC programs, are organized as a shared repository beneath the previous one. Finally, every PLC program in the facility is a branch with a working tree. Could this work?13:10
michaelisThe most simple thing would be if you could checkout only part of a working tree but since this isn't possible I have to come up with something else.13:12
* rubbs goes and gets some pen an paper.13:13
rubbsI am too visuall of a person... I have to draw that out.13:13
rubbsjust a sec.13:13
bialixmichaelis: what is the question?13:17
bialixmany nested repos with branches?13:17
bialixyes, this will works13:17
bialixbut what your intent?13:17
michaelisHow should I organize it in the most convenient way.13:17
bialixit depends13:17
bialixconvenient for what?13:18
rubbsmichaelis: is this what you are thinking?13:18
rubbshttp://paste.ubuntu.com/358487/13:18
bialixdo you want to combine several branches as the complex project?13:18
rubbsmichaelis: I think that's what he means... each Facility is a project of several branches13:18
rubbser13:18
rubbsbialix: ^13:19
michaelisThats right.13:19
bialixmakes sense for me, rubbs13:19
rubbsok, so you may be looking for the SCM plugin.13:19
bialixmichaelis: where is your branches there?13:19
michaelisSince I can't checkout parts of wokring tree I have to make every specific part of the facility a branch.13:19
bialixscmproj plugin13:19
rubbsmichaelis: that's correct. you'd have to made each part a branch.13:20
bialixmichaelis: that's right, dvcs require you to think in the term of entire tree, not subdirectories13:20
michaelisAnother thing, I run bzr in a windows environment with the gui explorer.13:20
bialixmichaelis: TortoiseBzr or bzr-explorer?13:20
michaelisBzr-explorer.13:21
bialixboth are ok13:21
rubbsmmm... bialix you run the scmproj right? I'm not sure how that works with guis13:21
rubbsah... cool13:21
bialixif you will want to use scmproj you need to make some operations via console or qrun dialog13:22
bialixrubbs: there is no GUI for scmproj yet13:22
michaelisI myself am not afraid of running the shell version but it has to manageable by others.13:22
bialixmichaelis: bzr-explorer has feature of open the directory with nested branches as some sort of the project13:22
michaelisBut the others will mostly checkout and commit. Can I the use scmproj?13:23
bialixso if you open fac1 or fac2 you should see all nested branches13:23
bialixif others will work only in separate branches then scmproj will be mostly transparent for you13:24
michaelisbialix: Exactly. Now when they open fac1 they see yet another shared rep with e.g. blue prints and below that there are a set of branches for every device in that fac.13:25
bialixscmproj may help you to define directory structure for your branches (I calling them components in scmproj) and easily get entire project from the server for local work13:26
bialixalso you can commit several branches at once, or push changes of the project back to the server13:26
bialixso only 1st step (get project for local work) is important. After that your colleges may work in separate branches13:27
michaelisMy colleges main interest is to checkout one branch at a time, make modifications to it, and then commit the changes.13:28
michaelisThere hardly will be any multibranching work going on.13:29
bialixif so then do you need a requirement to recreate the structure from http://paste.ubuntu.com/358487/ somewhere locally?13:30
bialixor you just need to select the way how to keep your branches on the server?13:31
michaelisThe structure must be on the server. How my colleges organize it locally is not my problem.13:32
bialixthen you can keep all related branches (PLC programs, text, pdf) in the separate shared repositories with branches for each facility13:33
bialixis it enough for you?13:33
michaelisYes.13:33
bialixthen you don't scmproj at all13:34
bialixdon't need13:34
michaelisBut if you look in http://paste.ubuntu.com/358487/ then fac1 and PLC are shared rep according to me. PLC_prog1 and PLC_prog2 are branches.13:36
michaelisThey have to be able to checkout PLC_prog1 and PLC_prog2 seperatly.13:37
bialixyou said you don't need this structure on the server13:38
michaelisseperatly =  separately13:38
michaelisI obviously misunderstood you.13:38
bialixyou don't need fac1 and fac213:38
bialixYou need only PLC - shared repo, PLC_prog1 and prog2 as branches13:39
bialixdocs -shared repo, and nested branches13:39
bialixand so on13:39
bialixremove from the picture work and fac113:39
bialixremove them as levels13:39
bialixand you'll see both fac1 and fac2 are the same13:39
michaelisI misunderstood you. Since there are more than 200 fac here I need them to be represented as shared rep.13:40
bialixyou're on the road to troubles13:40
bialixdoes your fac have something in the common?13:40
michaelisOtherwise every branch will be called fac1 - plc_prog1, fac2 - plc_prog1 and so on. There will be more than a thousand branches in the explorer window.13:40
michaelisThey all lie in the same country... ;D13:41
bialixI suggest you keep fac1 as one unite branch then13:41
rubbsmichaelis: you could still do this... but nesting shared repos isn't going to help you much (I think)13:41
michaelisThat was the idea from the beginning and my question was if there was any other way than having fac1 as a shared rep.13:42
bialixno13:42
bialixfac1 should be a branch13:42
rubbsyou could do a shared repo at the PLC/docs/txt levels, but adding another at the fac level isn't going to help you much13:42
michaelisIndeed.13:43
bialixyou won't checkout the subdir of that branch, but that's better than thousands of branches13:43
rubbsbut if he has lots of stuff within each fac# then a big branch isn't really helpful either13:43
michaelisI have to take a 15 min tea break and talk to my colleges. I'll be back in 15.13:43
michaelisThanks for the help so far.13:44
rubbsk... I'll brainstorm a little13:44
bialixthe views maybe help?13:44
rubbsmmm... maybe. I"m wondering if pulling all that history down is going to be a problem.13:45
bialixif there is local network it won;t be a main problem13:47
rubbsdoes bzr know if a shared repo is a few dirs up? I guess I'm asking because if he creates a shared repo at /work and has folders for each facility, then he could have branches13:47
rubbsbialix: I think he said it was all over the country.13:47
Pengrubbs: Bazaar looks all the way up to the root for shared repos, and uses the first it finds.13:47
rubbscool... so what if he put just one shared repo at the top of his dir structure and divided his branches out the way he wanted13:48
rubbsthe fac# level directories don't have to be branches themselves, they are just there for organization right?13:48
* rubbs forgot that michaelis is on break.13:48
rubbsMy guess is that nesting a shared repos isn't going to save you room. i.e. a shared repo doesn't look to see if there is a shared repo above it.13:49
michaelisI'm back.14:31
michaelisThat was a long 15 minutes.14:31
rubbsha... it happens14:33
rubbsso my question is (since nesting shared-repo's isn't going to help) is there something wrong with having a shared repo at the top, and having the fac1 and PLC directories as just directories? That way you could have the projects in their own branches and use the dir structure to organize them14:34
michaelisThe problem is that when a college want's to check out blue prints for a specific object and and I want to check out a PLC-program we both end up checking out the same branch even tough this shouldn't be necessary.14:38
michaelisOr maybe I didn't understand you.14:39
michaelisThe way I see it it will have to be: fac1 - shared rep, blueprints in fac1 - shared repo, an object specific blueprint in blueprints in fac1 - branch, so that there's only the possibility of checking out blueprints concerning one object at a time.14:41
rubbsright...14:41
rubbslet me illustrate what I mean...14:42
* rubbs goes to pastebin again... just a sec.14:42
=== salgado is now known as salgado-lunch
rubbshttp://paste.ubuntu.com/358522/14:43
rubbsa little messy, but I think that should show what I meant..14:44
rubbsif you wanted to check out a txt doc from fac1 and a college wanted to checkout plc_2 from fac1 those would be separate branches14:44
rubbsbut to you, they would be organized by fac14:44
rubbsthere is no need to have a shared repo at each dir level. that wouldn't save you any space.14:45
michaelisThat is a good idea.14:45
rubbsbzr also keeps all individual information that is different in it's own branch, so you would get all the space saving of the shared repo but the flexibility of differing projects14:45
michaelisHow would this look like in bzr-explorer.14:45
rubbsbzr-explorer would not know the dir structure intelligently. It would only know about each individual branch at a time.14:46
rubbsbut each branch could be kept in it's own tab.14:47
rubbsso bzr-explorer would only know about /work/fac1/PLC/plc1 but won't know anything about /work/fac1/PLC/plc2 unless you opened a tab to that location.14:49
michaelisI don't see how I can omit the "thousand branches in explorer" problem.14:49
rubbsdo you need to have them all open all the time?14:49
michaelisFirst I create a shared repo "work".14:49
rubbsright14:49
michaelisThen I create a branch at location work/fac1/blueprints/object_blueprint14:50
rubbsright14:51
michaelisSo that object_blueprint has it's own work tree.14:51
rubbscorrect.14:51
rubbsthe idea of the shared repo isn't like a repo in svn. It's just a place that common revisions can be stored to save space...14:52
michaelisBut if I have 200 fac and 5 subdirs in each fac then I will have 1000 branches in a non hierarchical structure, or have I misunderstood something here?14:53
rubbsYou would have have some sort of heirarchy, but it would be via the system's directories.14:54
michaelisI understand.14:54
rubbsso to check out any branch, I would just have to know the dir structure.14:54
michaelisThat was my main concern. How to present the branches in a well structured order.14:55
rubbsas far as bzr is concerned, it doesn't care where the branch is, so you can organize your branches in any dir structure you want. You just have to point bzr to the branches location, and it will work14:56
michaelisI could create a shared repo for every fac and by doing so my colleges would, naturally, work with one fac at a time.14:56
rubbsare you looking at a centralized workflow then? like having only checkouts and not branches?14:56
michaelisYes I had figured that out but I was hoping to not have thousands of branches in the bzr-explorer.14:57
michaelisExplain the concept of centralized workflow to me.14:57
michaelisThe files on the server should be the latest ones and if you want to make any changes you check them out, modify them, and then commit them to the server again. That is the workflow I had in mind.14:58
michaelisSo yes, some sort of centralized workflow is needed.14:58
rubbsso like svn, centralized workflows usually mean that I'm only working with one revision on the tree. I "checkout" code and work on it and when I commit, it gets sent to that central location. It's sometimes called lock-step development. De-centralized -hybrid approach would be that there is a central branch, but I have my own branch. I do my work in my branch and when I'm ready to I merge in my changes (I can do several commits before merging)14:59
rubbsyou were looking at a central -lock-step development workflow then.15:00
michaelisYes it seems so.15:00
rubbsbzr is really designed for branching (whole history, not just one revision) and working on the branch. Then when you want, you merge your changes back into the central location.15:00
rubbsif I have a branc, and you have a branch, and we both work on the same project we can merge our changes...15:01
rubbsit allows for more concurrent development15:01
rubbsI can work on fac1 and you can too15:01
rubbsI merge my changes in..15:01
rubbsthen when you are ready you can merge yours in.15:02
michaelisI see. But what happens if we work on the same dwg file?15:02
rubbsthe beauty of it is that with the merge, we both can work on it, and not have to worry about being "out of date" every time we commit15:02
rubbsthat is where some intelligent merging is needed.15:02
rubbsso bzr will look and see that you and I worked on the same file15:02
rubbsit will then tell you that there was a conflict and ask you to resolve them.15:03
rubbs(this assumes I merged first)15:03
rubbsyou then look at the dwg file and see what the differences were.15:03
michaelisNaturally. Then we would have to solve the conflict "manually".15:03
rubbsright15:03
rubbsthis is the same with just about any VCS thought15:03
rubbsthough*15:03
rubbsAll of this stuff is possible with SVN or others, but bzr, git, and mercurial are best at merging.15:04
rubbsIt's the merging that allows for people to work at the same time on the same project.15:04
rubbsif you have your 1000's of branches organized it shouldn't matter who is using what15:05
michaelisNo of course not.15:05
rubbsjust merge in and manually take care of conflicts as they come up15:05
rubbsTo present your branch structure (organization) to your colleages, you would just have to let them know the dir structur15:05
rubbsstructure*15:06
michaelisI get the point. But it would be much easier if we could check out parts of a working tree instead of having to check out a whole branch.15:06
rubbsthen I would look at something like SVN. bzr won't be able to do that for you :(15:06
michaelisBut that isn't posibble.15:06
michaelisI understand.15:06
rubbsI'm not sure if this helps, but bzr also uses views15:07
rubbsso you would have all of your branch there, but with views it masks away things you don't care about.15:07
michaelisThat sounds interesting.15:07
rubbsso if you had the branches at the fac level, then you could create a view that hides everything except the PLC directory or something to that effect15:08
michaelisI wonder if it is possible to set views up in the bzr-explorer.15:08
rubbsI'm almost certain you can. I'd have to check.15:08
rubbsjust a sec.15:08
rubbsalso if igc is on, he's the main dev on bzr-explorer15:08
rubbsping igc15:08
michaelisHe is away.15:09
rubbsah... thanks15:09
rubbsmmm... doesn't seem to have a gui button for doing it, but I could be wrong.15:12
rubbsI'm not giving up on that yet though.15:12
michaelisYou keep on fighting! ;D15:12
=== stefanlsd_ is now known as stefanlsd
rubbsha15:13
rubbswell, I know that if you created the view, that bzr-explorer would support it. So if you masked off everything except PLC dir it would only show PLC in explorer, but I'm unsure of how to set it.15:16
rubbsit might have to be in a command line argument... but I think you can even do those within bzr-explorer15:17
michaelisI see.15:18
michaelisI have learned a lot and I will take this newly achieved knowledge and make the best of it. Thanks for the help.15:21
rubbsnp.15:21
michaelisI'll come back for more talk about views.15:21
rubbsi don't know if youw ant, but you could email igc he could help much more with bz-rexplorer15:21
rubbsgreat!15:21
michaelisMaybe I'll do so.15:22
rubbsdo you know igc's email?15:22
michaelisI thought I would get it from a simple whois but that was not the case.15:22
rubbsian.clatworthy@canonical.com15:22
michaelisDo you have it?15:22
rubbshe should be able to help ^15:22
michaelisThank you.15:23
michaelisThanks again and bye for now.15:24
rubbsbye, good luck!15:24
michaelisThank you.15:24
aquariusI have a branch of the trunk of a project. At some point in the past, a change was introduced that broke another project that uses this one. What I want to do is: run the main project test suite; if the tests fail, step back one bzr revision in the subproject, repeat.15:44
aquariushow do I do the "step back one revision" bit? :)15:44
tumbleweedbzr uncommit?15:44
tumbleweed(you'll have to follow it with a bzr revert)15:45
rubbsyou could also branch at a revision15:45
aquariusooh, so just "bzr uncommit; bzr revert",repeatedly. That's ideal.15:45
rubbsalso you could look at the bzr-bisect plugin15:45
rubbsit's built to do just exactly what you are looking for15:45
aquariusrubbs, I could do, yeah, but I don't know which revision has the problem, and looking up all the revnos is fiddly15:46
rubbsbzr bisect is supposed to emulate the git bisect functionatility15:46
rubbsaquarius: it's automatic15:46
aquariusI assumed it was. I don't really understand git bisect :)15:46
PengYou don't have to uncommit if you only want to revert the working tree...15:46
aquariusrubbs, how is it automatic?15:46
PengEven without a bisect plugin, it's easy to do a binary search yourself.15:47
aquariusrubbs, I just do bzr branch lp:project the-revision-that-broke-it and it works? :)15:47
rubbsat least I think it's automatic... the git version is.15:47
rubbsyou write a short script to run your test... have it return 0 if works and 1 if doesn't15:47
aquariuspeng, hang on, not sure I understood that15:47
rubbsit will go through your history in a binary search and find the revision in which it changed15:48
rubbsadmittely I didn't do it auto matically with bzr. just manually (I didn't have a lot of history)15:48
rubbsaquarius: he means find any revision that is working (liek the first one) and find one that isn't (like the last one)15:48
aquariusman, I'm prepared to do it the stupid drone way rather than anything clever ;)15:48
rubbsthen pick the revision that is in the middle of the two, and do the test15:49
tumbleweedaquarius: http://doc.bazaar.canonical.com/plugins/en/bisect-plugin.html15:49
rubbsif it doesn't work, it's in between the first and the middleone.15:49
aquariusyeah, I get roughly how a bisect works15:49
aquariusbut there are only, like, nine revisions I need to check. This is not the kernel we're talking about here ;)15:50
tumbleweedheh15:50
rubbseven then. a bisect is still faster.15:50
aquariusI shall bzr uncommit && bzr revert my way backwards until I work it out15:50
rubbsyou can say.. revision 12 is good, revision 19 is bad15:50
aquariusnot when you take into account that I have to work out how to do it :)15:50
rubbsit can help you find it quicly15:50
PengYou don't need to uncommit. Just "bzr revert -r 123".15:50
rubbsaquarius: fair enough. Peng is correct, you can just revert your tree, no need to uncommit15:51
PengDoing a manual binary search is really easy. If you know it's between revisions 10 and 20, revert to 15, run the test. If it succeeds, revert to 17 and try again, ...15:51
aquariusyep, and that's now precisely what I'm doing :)15:59
aquariusthanks!15:59
rubbsnp.15:59
=== salgado-lunch is now known as salgado
lornajanecan someone help me?  I'm just starting to use bzr and I'm confused!  I have changed a few files, but I don't want to commit all of them16:01
lornajanehow can I tell bzr which files should be in this commit?16:01
rubbslornajane: you can do a few things. You can do a commit and list the files.16:02
rubbsso like if you have file1 file2 and file3 and you only want to commit the first two you can do this16:03
rubbsbzr commit file1 file216:03
lornajanerubbs: that's how I would do it with svn - but it complained that I also have files that aren't added16:03
lornajanesurely that's my problem, not bzr's problem? :)16:03
rubbshave you created new files in this revision?16:04
rubbsor possibly moved one of the files?16:07
lornajanerubbs: I have created new files in my working copy and not added them yet, I don't need to include them in this commit16:12
lornajaneI guess I can just add them though16:12
rubbslornajane: no16:13
rubbsdo'nt add them16:13
rubbsyou can shelve them16:13
rubbsso do this: bzr shelve name_of_files16:13
rubbsthat will "stash them away" then do your commit... then do a bzr unshelve and they come back16:13
lornajaneoh, that's cool!16:13
lornajaneI should do that with my config files16:14
rubbsI love it... use it more than I care to admit16:14
lornajanestuff like this is why I need to get out of my svn rut :)16:14
rubbsalternatively, if you know you're never going to want to commit them, you can add them to your ignore config (bzr ignore name_of_file)16:14
rubbsalso to learn more about shelve (really cool feature IMO) just run bzr help shelve and that will tell you everything you need to know!16:15
lornajaneyes, I have bonded with bzr help - using bzr-svn because I travel so much with dodgy connection (on the train, for example) and the help has been surprisingly helpful16:16
lornajaneand the command naming is close enough to subversion that I can find things16:16
rubbsyeah... when I don't know what to search on, I just do bzr help topics and I usually find what I need16:18
gerard_anyone working on bug #395514 ? ( https://bugs.launchpad.net/bzr/+bug/395514 )16:24
ubottuUbuntu bug 395514 in bzr "bzr update with local updates and commits does an unexpected merge" [High,Confirmed]16:24
ubottuLaunchpad bug 395514 in bzr "bzr update with local updates and commits does an unexpected merge" [High,Confirmed] https://launchpad.net/bugs/39551416:24
gerard_ah, good bot16:24
alamatiHi all16:50
alamatimy native lang is not english, sorry16:51
alamatiI have problem with bzr16:51
rubbswhat is your problem?16:51
alamatiwhen I enter: bzr pull16:51
alamatialamati@ThinkPad:~/Desktop/transmission$ bzr pull16:52
alamatiUsing saved parent location: bzr+ssh://bazaar.launchpad.net/~vcs-imports/transmission/trunk/16:52
alamatiNo revisions to pull.16:52
alamatiI got that message16:52
alamatibut I sure that there are new codes16:52
PengWhat's the problem?16:52
PengOh. :D16:52
rubbscan you tell me what the output of bzr revno is?16:53
Pengalamati: How do you know there are new revisions?16:53
alamatialamati@ThinkPad:~/Projects/transmission$ bzr revno16:54
alamati845716:54
alamatibzr missing16:54
rubbshe's right, his tree is out of date16:54
alamatihow I can update?16:54
rubbstrunk is at 846516:54
alamatiyes yes16:54
Pengalamati: Try running "bzr update"16:54
PengIt *probably* won't do any damage. :D16:55
alamatialamati@ThinkPad:~/Projects/transmission$ bzr update16:55
alamatiTree is up to date at revision 8457.16:55
alamatiI trust you :D16:55
alamatihumm16:56
rubbsdoes bzr status say anything?16:56
alamatino16:56
idnaralamati: I notice you changed from ~/Desktop/transmission to ~/Projects/transmission there16:56
idnardid you move the directory, or do you have two of them?16:57
alamatiexactly right16:57
* rubbs will be right back.16:57
alamatiI move the directory16:57
idnarokay16:57
alamatiwhat do I do?16:59
idnarI'm not sure what the problem is, hopefully somebody else will have an idea17:00
alamatithanks17:00
Pengalamati: Just to be sure, does "bzr info" say it's a standalone or repository branch?17:01
rubbsalamati: did you just want to make this branch be *exactly* like the one at bzr+ssh://bazaar.launchpad.net/~vcs-imports/transmission/trunk/?17:01
rubbsoh, do what Peng says first17:02
alamatiI did17:02
alamatialamati@ThinkPad:~/Projects/transmission$ bzr update17:02
alamatiTree is up to date at revision 8457.17:02
rubbsno do bzr info17:03
alamatiyes I want to make this branch similar at official repo17:03
rubbsthat tells us things about the branch you have, not if it's up to date17:03
alamatialamati@ThinkPad:~/Projects/transmission$ bzr info17:03
alamatiStandalone tree (format: unnamed)17:03
rubbsif we can't find out what is wrong from bzr info, then I can tell you how to make it work.17:03
alamatiLocation:17:03
alamati  branch root: .17:03
alamatiRelated branches:17:03
alamati    push branch: bzr+ssh://bazaar.launchpad.net/~vcs-imports/transmission/trunk/17:03
alamati  parent branch: bzr+ssh://bazaar.launchpad.net/~vcs-imports/transmission/trunk/17:03
alamatialamati@ThinkPad:~/Projects/transmission$17:03
rubbsalamati: I can't seem to find out what is wrong with it, so we are going to try to overwrite the branch and pull the lastest from bzr... so do this: bzr pull --overwrite17:04
rubbsthis will make it *exactly* like it is on launchpad.17:05
PengWorst case, you can at least make a new temporary branch to work in: cd ~/Projects; bzr branch transmission transmission2; cd transmission2; bzr pull --remember lp:transmission17:05
alamatiOh woow17:07
rubbsbut then his tree still wouldn't reflect the trunk17:07
alamatiI can upgrade to latest revision17:07
rubbsso you figured it out? you solved your problem?17:08
alamatiyou solved my problem17:09
alamatireally thanks17:09
alamati;)17:09
PengWe did?17:09
alamatibzr pull --overwrite17:09
rubbsPeng: I think the overwrite worked17:09
rubbsalamati: I'm glad something worked out for you!17:10
alamatithis command solve17:10
PengOh, interesting. Well, I'm glad it worked. :)17:10
rubbsI still don't know why that was necessary, but we got him to where he needed to be17:10
rubbsalamati: glad to hear everything worked out17:10
alamatithanks rubbs & Peng17:10
alamatiI think that bzr is more complicated that svn17:11
rubbsalamati: it can be for a while, but once you get the hang of it, it gets better17:12
alamatiand I don't understand why we first commit and then push17:12
rubbsjust keep practicing ;)17:12
maxbI'd replace "more complicated" with "different underlying paradigm"17:12
rubbsalamati: that is because you can then do multiple commits before you push.17:12
alamatiof course17:12
rubbsalamati: it takes a little while to understand it. It took me a while.17:13
PengIt's also so you don't have to be online to commit.17:14
PengWhich doesn't sound important until your Internet connection goes down or you're on a plane. :D17:14
alamatiyes, this is nice situation17:14
intellectronicajml: around? know anything about bzr builder recipes?17:16
=== gerard_1 is now known as gerard_
bialixhi GaryvdM18:53
GaryvdMHi bialix18:53
bialixhow are you?18:53
bialixdo you have any plans re qbzr 0.18?18:53
GaryvdMGood, you?18:53
bialixmore or less18:53
GaryvdMI18:54
bialixI can wait with release till morning18:54
bialixplease, don't disconnect18:55
GaryvdMMy typing slow18:56
* bialix fears your internet18:56
GaryvdMI working on major features (find in annotate and diff, diff refactoring.)  But I have shelved those.18:57
GaryvdM*I was18:57
bialixok, I understand18:57
bialixwe need to decide what will be our policy re Lucid18:58
bialixwe made very good with 0.14 and Karmic18:58
bialixI'd like us to continue our success18:58
GaryvdMI'm now just trying to fix bugs18:58
bialixI've stumbled with code layout refactoring18:59
bialixit affects explorer18:59
bialixand I'm not sure about TBZR18:59
GaryvdMYes - I think that 0.18 should become a stable branch, like 0.1418:59
GaryvdMI want to look at:19:01
GaryvdMbug 48711519:01
ubottuLaunchpad bug 487115 in qbzr "qcommit: qt warning message in the console when files grouped into directory" [High,Confirmed] https://launchpad.net/bugs/48711519:01
bialixoh, yes19:01
bialixthis is very nasty19:01
bialixdid you read my comments?19:01
GaryvdMyes19:02
bialixit's 100% repeatable, I just don't know where to start19:02
GaryvdMbug 50598719:02
ubottuLaunchpad bug 505987 in qbzr "show_file_differences in Annotate history pane crashes" [Undecided,New] https://launchpad.net/bugs/50598719:02
GaryvdMOk - going to reboot into windows to look at 48711519:04
GaryvdMbialix: cool - I can reproduce it.19:16
=== NotADJ is now known as TheDJACR
=== luks_ is now known as luks
gerard_guys, how about this test for bug #395514? http://pastebin.ca/175644619:33
ubottuLaunchpad bug 395514 in bzr "bzr update with local updates and commits does an unexpected merge" [High,Confirmed] https://launchpad.net/bugs/39551419:33
lifelessmtaylor: yo20:06
mtaylorlifeless: yo. just uploaded20:07
mtaylorlifeless: and... tested the install and stuff :)20:07
gerard_how do I check if local commits are present?20:08
gerard_also, please look at my patch: http://pastebin.ca/175644620:08
lifelessmtaylor: 0.9.8 ?20:09
lifeless?20:10
mtaylorlifeless: yup20:10
mtaylorlifeless: well, 0.9820:10
mtaylorlifeless: but yeah20:10
=== GaryvdM_ is now known as GaryvdM
=== salgado is now known as salgado-afk
lifelessgerard_: sorry, I'm at a conference, can't really look at the patch for you. hopefully someone else will do so today sometime20:14
gerard_that's allright20:15
gerard_I'll attach it to the bug report if nobody does ;)20:15
lifelessmtaylor: looks a it better. seems wasteful for the pandora configure to do c compiler checks etc20:15
mwhudsonjames_w: ping20:16
bialixGaryvdM: gnight20:16
lifelessjames_w: bug 50932520:38
ubottuLaunchpad bug 509325 in bzr "merge & tree shape alteration hook for packaging" [Undecided,New] https://launchpad.net/bugs/50932520:38
james_whi mwhudson20:48
MTecknologyI made a change to some code, the code was changed in that time but there's shouldn't be any issues with that20:48
MTecknologyhow can I resolve this?20:48
mwhudsonjames_w: can i get your help to come up with a good example of a bzr builder recipe?20:48
james_wsure20:48
mwhudsoni can't find any packaging branches that just have the contents of the debian directory in them20:49
mwhudsonlots of branches that just contain a debian directory, but i don't think they work with builder :/20:49
mwhudsonjames_w: btw "nest foo lp:bar ." fails in a surprising way20:49
mwhudson(i didn't expect it to work, really, but it tries to lock . twice)20:50
james_wlook under lp:~ubuntu-desktop20:50
mwhudsonjames_w: for example, http://bazaar.launchpad.net/~ubuntu-desktop/notify-osd/ubuntu/files looks like a branch to use with merge, not nest20:53
mwhudsonjames_w: also http://bazaar.launchpad.net/~ubuntu-desktop/gedit/ubuntu/files etc20:54
james_wah yeah, those won't work20:56
james_wsorry, I mis-remembered20:56
james_wdo you have to show nest for packaging?20:56
mwhudsoni guess not20:56
james_wI can find one that would work, but they are rare20:58
mwhudsoni guess i'll use merge then20:58
james_wnote that you can't merge e.g. gedit either, as they don't share revision history20:58
mwhudsonright :/20:58
mwhudsoni can do bzr-git maybe20:59
mwhudsonjames_w: so, for this recipe: http://pastebin.ubuntu.com/358692/21:04
mwhudsonjames_w: to build the tree, it seems i want to do something like "bzr dailydeb --no-build example.recipe ."21:04
james_wyes21:04
mwhudsonthen cd into the built tree and run "bzr builddeb -S --native"21:05
mwhudsonthen cd ../build-area and say "see, look! a source package"21:05
james_wyes21:05
mwhudsoncool21:05
mwhudsonsigh, time to think about buying a new laptop battery21:05
james_wnote that your deb-version should have 0.4.2+ or something at the start21:06
lifeless-droidBuy with the laptop:)21:06
james_wotherwise the version number will be 239 or something, and it will take a long while for bzr-git to reach that version number21:06
mwhudsonjames_w: ah yes, the one i'm actually using has been fixed like that21:07
james_wcool21:07
mwhudson(it references local paths)21:07
lifeless-droiduse the deb version macro?21:07
mwhudsonlifeless-droid: ah right21:10
mwhudsonjames_w: "{debupstream}-{revno}+{revno:packaging}" ?21:10
mwhudsoni get confused about the rules wrt '-'21:11
james_wthat would work21:11
mwhudsonjames_w: good enoguh21:12
mwhudson1~1 < 1 < 1+1 in debian version numbers?21:13
james_wcorrect21:13
james_w1 < 1-1 < 1+121:13
mwhudsoncool21:13
mwhudsonand the first (or is it last) '-' is special?21:14
mwhudsonbut i guess for a native package like this "who cares"21:14
mwhudsontime for drinks21:14
RumblePureHow to write a new log-format that only prints commit-message?21:18
lifelessRumblePure: have a look at one of the existing ones21:47
RumblePurelifeless: None of them print _only the commit-message of a given revision.21:48
RumblePure*_only_21:48
RumblePurelifeless: I want to print the commit-message only, nothing else. This is for the purpose of a makefile.21:48
lifelessRumblePure: sure, you can do that, you'll need to look at the existing ones code to see how to do it itis all21:50
RumblePurelifeless: I've installed binary, you think the source code is there for log-formats? *non rethorical question* _)21:51
RumblePure* :)21:51
lifelessif you are on einwdows there is a zip file with all the source. Or you can look at plugins whic provide log formatters.21:52
RumblePurelifeless: I'm on ubuntu, I looked for plugins for log formats but no success.21:52
rubbsRumblePure: try this -> http://wiki.bazaar.canonical.com/BzrPlugins21:53
lifeless0http://wiki.bazaar.canonical.com/BzrPlugins21:54
lifelesslook for history exploration21:54
rubbsyou can install those plugins by putting them in your ~/.bazaar/plugins directory (you can create that dir if it doesn't exist)21:54
RumblePureHaum, this might help: "Shows most recent commit messages "21:54
rubbstry it, if it doesn't work, you may be able to hack it to your needs.21:56
NfNitLoopHrmm, odd bzr-svn issue.  I've committed a change locally.  Pushed it to my branch in svn.  and done a 'pull' from there.  But 'bzr log' still doesn't show the 'svn revno' like things below it.21:56
NfNitLoopI've seen this before, but I thought doing a 'bzr pull' had fixed it.21:56
RumblePureThx guys, I'll try it.21:59
lifelessmtaylor: please upgrade t o 2a for pandora-bild.kthnx22:15
mtaylorlifeless: mordred@camelot:~/src/pandora-build$ bzr upgrade .22:16
mtaylorbzr: ERROR: The branch format Meta directory format 1 is already at the most recent format.22:16
lifelessmtaylor: ok cool22:16
mtaylor:)22:16
lifelessmtaylor: you don't need the .22:16
lifelesslike 'ls' we default to the current working directory22:16
mtaylorcool22:17
lifelessfor everything except init-repo22:17
lifelessjames_w: ping22:21
lifelessjames_w: It would be nice if debrelease did mark-uploaded22:21
james_wI'm not sure what the difference is between that and dch -r22:23
lifelessdebrelease uploads22:24
lifelesse.g.22:24
lifelessdebrelease --dput ftp-master uploads the built package in .. with the current changelog version to ft-master22:25
james_wwell, dch -r does the tagging, so maybe that's the correct place for the d* tools22:26
lifelessdoes dch -r do 'bzr mark-uploaded' at the moment ?22:26
james_wyes22:26
lifelessok cool22:27
james_windirectly22:27
maxbindirectly?22:42
doctormoOdd problem with caling cmd_push from bzrlib's builtins... when it's being called from a process that's been run from a command line, it works, when it's called from a detached gui, it stalls, no response.22:56
doctormoAny ideas?22:56
maxbWhat's a detached gui?22:57
doctormomaxb: Not being run from a command line22:57
maxbCan you reproduce the problem in a simple script that imports bzrlib?22:58
doctormomaxb: No23:00
doctormoPerhaps it's some weird threading issue, I know that this code running through nautilus-python isn't just simple threads.23:09
Noldorinhi23:22
Noldorini'm wondering: when i branch the main branch for a release (say, 0.1.0)...23:23
doctormoIt's the only command from bzrlib that I'm calling through builtins, everything else I'm calling direct calls because I'm doing custom things. So perhaps I shouldn't use the cmd_push command in this way?23:23
Noldorinand i find bug fixes i want to make23:23
Noldorinis it wise to merge across branches?23:23
Noldorini so, should it be from 0.1.0 to main or vice versa?23:23
NfNitLoopNoldorin: merging across branches will work, but your history gets hard for a human to make much sense of. :p23:31
NfNitLoopIf you just want to merge into 0.1 and main, you can make your fix on 0.1 and merge into main.23:31
maxbNoldorin: Because of the way DVCSes track history (all ancestry or none of it), it is best practice to make bugfixes in the earliest branch they apply to and merge them forwards23:31
NfNitLoopif you have several branches ... yeah, do what maxb says.23:31
NfNitLoopso you'd make a new "bugfix branch" at a "least common denominator" location that all of your destinations have in common... make your fix, then merge it into the 3 locations.23:32
maxbYou certainly can cherrypick from trunk to a release branch, but bzr won't give you any help in tracking what has been merged that way. You'll be at the mercy of reading commit messages.23:32
Noldorinhmm23:32
NfNitLoops/3/N/ :p23:32
Noldorini see23:32
Noldorinmaxb, so merging bug fixes from a release branch to trunk is just about all i should do?23:33
Noldorin(or even need to do)23:33
NfNitLoopin this case, yep.23:33
NoldorinNfNitLoop, bug fix branch...never heard of that23:33
Noldorinok23:33
NfNitLoopNoldorin: It's a branch that contains [code from source X] plus a bugfix.23:34
NfNitLoopmakes it easy to merge in *just* The bugfix to several locations.23:34
NfNitLoopbut, if you're only fixing bugs on 1.0, then it's your bugfix branch. ;)23:35
NfNitLooper, 0.1023:35
NoldorinNfNitLoop, that's a good point23:35
Noldorinyeah, i feel any bugs that get fixed in trunk, should *never* be merged into existing branches23:35
Noldorinonly future releases23:35
maxbNoldorin: Why do you feel that? What about a bug which is fixed on trunk and then discovered to affect an earlier series?23:36
Noldorinmaxb, if the early release is flawed, then so be it. it's the natuer of development23:36
Noldorinif there's a newer release, why bother anyway?23:37
maxbWhat if there isn't a newer release yet, and won't be for a couple of months?23:37
maxbWhat if the old release series is one you've committed to long term support for?23:37
NfNitLoopWhat if you have clients who refuse to upgrade a major revision because it involves data migrations?23:37
NfNitLoop:p23:37
NfNitLoop*cough*  Not that I've EVER seen that.23:37
maxbheh. There's still some MySQL 4.0 running here23:38
fullermdThen you pretend you're MySQL and just stick incompatible changes in the middle of a minor revision.  Duh.23:38
maxblol23:38
NfNitLoophehe.23:38
NfNitLoopwhoops.  /wc is window close, not /window change.23:39
NfNitLoopIRCFAIL.23:39
maxbyay irssi23:39
fullermdYeah, /wc's are for flushing.23:40
* kfogel is away: afk for some hours; see you antipodal people later probably23:58

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