/srv/irclogs.ubuntu.com/2010/02/11/#bzr.txt

james_wexporting from the content of the branch doesn't provide you that, so merge-upstream uses pristine-tar to make it possible00:00
GaryvdMjames_w: Oh - ok00:00
AfCWeird. bzr branch lp:ubuntu/<package> downloads *tarballs*?00:00
AfCThey're versioned! What the hell?00:02
GaryvdMjames_w: Thanks for the help.00:03
GaryvdMbeta-ppa now building new bzr-svn00:03
AfCjames_w: so, er, I must admit I'm surprised to see you tracking binary tarballs with bazaar, instead of sources. Doesn't that defeat the whole point?00:04
james_wAfC: we aren't00:05
AfCjames_w: of branches to be shared between distros?00:05
james_wyou may have picked a package where the packager decided that tarballs is what they wish to put in their source packages00:05
AfCjames_w: um00:06
AfCjames_w: so it's freetype [->libfreetype6]00:06
AfCjames_w: and it says00:06
AfCCommitter: Bazaar Package Importer <james.westby@ubuntu.com>00:06
AfCeach time it merges a series of tarballs, and then replaces them00:07
AfCThat you?00:07
james_wyes, so you chose one such package00:07
james_wit's a script run by me00:07
AfCI guess I don't understand why there are any such packages.00:08
spivBecause we didn't invent packaging branches years ago ;)00:08
AfCI really thought I'd be getting a branch full of sources, not full of tarballs.00:08
AfCspiv: right, but someone did invent the idea of using Bazaar to manipulate Debian packages in the not to recent past. You remember, when Bazaar was started, right?00:09
james_wO HAI, I see you have packaging that is designed to work with tarballs, I'm going to automatically rewrite it to work with unpacked tarballs so that you get a nice surprise next time you look at it!00:09
AfCspiv: My understanding [clearly wrong] was that the whole point was to have a branch of upstream that you would then apply revisions to to make a debian package.00:09
spivAfC: If I'm understanding correctly, in this case the 'source' package contains a tarball.  The bzr import of that is just reflecting that reality.00:09
=== webchick|afk is now known as webchick
AfCspiv: ah00:10
AfCspiv: I see00:10
AfCspiv, james_w: I didn't know such things existed, actually.00:11
AfCI'm from the Gentoo world, where the first thing that happens with a released tarball is that it is unpacked, so that people can then diff and patch against it.00:11
RAOFIt's probably because they wanted to merge the three separate .tar.bz2's into a single source package.00:11
RAOFThat would now be supported with the new 3.0 deb-src format, but that's very new.00:12
AfCAnyway, I guess this isn't what I was hoping for. My understanding from years ago was that we would have bzr revisions showing the packaging changes to a baseline of (upstream's) sources [which would be either upstream vcs or upstream tarball unpacked[00:12
GaryvdMbla: Rejected: bzr-svn_1.0.2-2~bazaar1~karmic1.dsc: format '3.0 (quilt)' is not permitted in karmic.00:13
pooliehello igc00:13
spivAfC: and packages like this are why we didn't already have those bzr revisions years ago ;)00:13
james_wAfC: you do for the majority of package00:14
AfCSo can you suggest a package that does behave properly (so I can compare, and not go away with the wrong idea)?00:14
james_wbzr?00:17
GaryvdMjames_w: There must be non bzr related packages for which we have a  branch that shares the history with upstream?00:19
james_wthere aren't many at the moment00:22
james_wwe are focusing on getting every package available in some form first, then looking to improve the history of ones where we can00:22
GaryvdMjames_w: lp:ubuntu/qbzr dose not share its history. Can I fix that?00:28
james_wGaryvdM: yes and no00:28
james_wit's straightforward to join the history, but the file-ids also differ, so when you do everything in the tree conflicts00:29
james_wthere isn't really a neat way to deal with that right now00:29
GaryvdMjames_w: So I can't give launchpad an instruction to can that branch, and start fresh using file00:31
james_wnot easily00:31
GaryvdM... file-ids from branch x00:31
GaryvdMWill that become easier in the future?00:32
james_wyes00:35
GaryvdMjames_w: :-)00:35
mkanatI ran into that problem a few times in the past, too.00:36
mkanatAnd yeah, hopefully it will become easy (read: possible for mere mortals) in the future. :-)00:37
pooliespiv, is the news auto-merger installed in pqm now?01:08
jelmerGaryvdM, re01:08
pooliehi jelmer01:08
GaryvdMHi jelmer.01:08
jelmerGaryvdM, you need a new entry for the ppa anyway because of the version string01:08
jelmerGaryvdM, but generally you would keep the debian entries as well01:09
jelmerhi poolie01:09
jelmerpoolie, does the pqm run 2.1 yet?01:09
spivpoolie: I don't know, but it would be nice to have :)01:10
GaryvdMjelmer: Oh ok - need to re do them because I messed up the debian/control files. :-(01:10
spivpoolie: it would require bzr 2.1 and a small config tweak in bazaar.conf I guess.01:11
spivpoolie: do you know if someone was already looking into arranging that, or should I file an RT?01:11
pooliei don't know that anyone else is01:11
poolieit might be nice01:11
pooliethe upgrade will probably be easier when 2.1 is packaged and available01:12
poolieat least in lucid01:12
jammorning poolie and spiv01:12
pooliehello jam, and no, it's just after midday01:12
jamI guess that's what I get for coming back late01:12
jamanyway, just stopping by to say hello, I'll probably be back with the family in a couple mins01:13
pooliek01:13
pooliethanks for the reviews01:13
spivjam: early afternoon :)01:13
spivOk, I'll wait until there's a 2.1 package then.01:18
spivDrat, I sent a branch to PQM with the commit message for a different branch (both approved for 2.1, thankfully).01:33
=== jamesh_ is now known as jamesh
spivI'm definitely looking forward to a command that take an lp merge proposal and send it to PQM with the source branch, target branch and commit message in that proposal.01:34
KilrooI'm mostly looking forward to the fix for bug 109114.01:40
ubottuLaunchpad bug 109114 in bzr "[master] bzr holds whole files in memory; raises MemoryError on large files" [Medium,Triaged] https://launchpad.net/bugs/10911401:40
pooliespiv, you can ask spm to kill the job01:42
spivHmm, that's a thought01:42
spivspm: ping?  Would you mind killing my "now playing" job on bzr's pqm?01:42
pooliegood thing the tests aren't too fast ;)01:43
GaryvdMNight all02:07
lifelessKilroo: noone is working on that at the moment.02:19
KilrooI had gathered that.02:19
KilrooFact remains, it's the only thing not directly concerning either bzr-eclipse or bzr-svn that is having a negative effect on me. And the problems with them I can work around.02:20
lifelessKilroo: do you have multi-GB files?02:20
KilrooYes.02:20
KilrooNot by choice, but until they stop piling projects on me long enough for me to propose a solid plan for moving to a more reasonable versioning plan, I have to work with the subversion repositories we have.02:21
KilrooTwo of those I can't pull the revision where they added the whole blasted main site at once. And one that otherwise ought to be pretty clean I can't work with because my supervisor had to get a file to an accessible location while he was at a convention and the only way he could think of to do it at the time was to commit a 1.5gb zip archive to a subversion repository.02:23
KilrooI'm not even sure exactly how he accomplished it or why.02:24
KilrooI'm actually kind of hoping that the hassle of purging it from the history of the repository helps my case for redoing our system.02:24
lifeless:)02:27
RenatoSilvaIs there how to merge only certain revisions?03:46
RAOFYou mean to cherry pick?  You pass -rfrom..to03:50
RAOFThis won't keep the log history though.03:51
RenatoSilvawhat does it mean keep log history? that's the intention03:52
RAOFIt squashes down to a single commit, which contains the diff.03:53
RenatoSilvaI have uncommitted a few revisions, so the old history in the feature branch became outdated and pointless03:53
RenatoSilvasingle commit? but I said certain revision*S*03:53
* RenatoSilva is using rebase03:53
RAOFYes.  It'll take the changes from certain revisions and apply them as a diff.03:54
RAOFAs far as I'm aware there's no way to (easily) take a sequence of commits for which the first commit does not have its parent in the branch and merge them as a series of commits.03:54
RenatoSilva You pass -rfrom..to to what?03:55
RenatoSilvabzr merge -r -1 didn't work, the other revs are there03:56
spivRenatoSilva: -rSTART_REV..END_REV03:56
spivRenatoSilva: it's a range03:56
lifelessjelmer: don't suppose you want to package a newer bzr-search? we're getting  lots of dups for fixed bugs03:56
RenatoSilvaspiv: ah ok, but bzr merge d -r -2..-1 gives no pending merge in bzr qlog03:58
RenatoSilvaspiv: maybe the conflicts? lms03:59
spivRenatoSilva: if you're trying to merge the changes of just one revision, try -c REV rather than -r.03:59
spivRenatoSilva: just because it's more convenient03:59
spivRenatoSilva: but if merge of -2..-1 gives "Nothing to do.", then I that revision is already part of the branch04:01
RenatoSilvaspiv: ok, but will it also --forget-merges automatically like in -r?04:01
* RenatoSilva trying04:01
spivRenatoSilva: yes04:01
lifelessRenatoSilva: if -2 isn't already merged, in your example, then there won't be pending merges.04:01
lifelessbecause you are doing a cherrypick, it lives outside the merge graph.04:01
RenatoSilvacherrypick? anyway, I have checked, it does forget the merge in both cases, this seems fine as I would --forget them anyway04:04
* RenatoSilva realizes how uncommit may be annoying sometimes04:04
spiv"cherrypick" basically means "take just part of a branch's history, not the full branch"04:05
spivi.e. what you're doing here.04:06
RenatoSilvaso, I will make a hack (fb = feature branch): cp -r trunk fb_new; cd fb_new; bzr merge ../fb -c -1; bzr commit -m "Same message."; rm -r ../fb04:09
* igc lunch04:09
RenatoSilvait's like a rebase :)04:09
spivRenatoSilva: in the sense that the original history is generally no longer part of the new history, yes.04:10
RenatoSilvaspiv: did I told you about the bzr search bug? I realized that it's all about inspecting bzr log -p, so I wrote a tool for that. I'm pretty satisfied.04:15
RenatoSilvaspiv: usage is something like bzr log -p | greprev why_this_method_was_deleted, I used it today, very nice04:16
RenatoSilva* helpful04:16
lifelessRenatoSilva: about bzr-search04:17
lifelessRenatoSilva: it doesn't do log -p internally, it prebuilds indices to answer questions much faster than log -p04:17
lifelessRenatoSilva: so I'm glad you're happy, and the bug is there in case someone chooses to implement it.04:18
RenatoSilvalifeless: I understand that bzr-search may be much more faster specially for big trees, but I'm pretty satisfied, specially because I can use a free regex, and because I get the revnos not ids04:18
RenatoSilvalifeless: I think implementing that bug would be just about replacing non-friendly the rev ids with the numbers.04:19
lifelessRenatoSilva: well the unique thing I got out of your comments was seeing a diff04:19
RenatoSilva(of course there are the search string issue, but that's registered at another bug as you have reported there) (I just did not get the new title 'show hits as diffs')04:20
lifelessI'm fairly sure there is a bug, or TODO at least, to show numbers (but that is also pending a revno oracle, something bzr branches need in general)04:20
lifelessRenatoSilva: your script shows a diff doesn't it ?04:20
RenatoSilvalifeless: it gives you a clue. It shows the line of the rev's diff containing a match, and the file name, and the rev number. With this last, you bzr qlog and look at that rev to get more details (specially, read the commit comment)04:22
RenatoSilvarevno oracle? you mean you cant just pick up the revno? ok04:23
lifelessthats correct, calculating revnos means accessing all the information for the branch, and is often quite slow04:23
spivRenatoSilva: ah cool, I'm glad that you found a way to do what you wanted :)04:24
RenatoSilvaall info == loop the commits? oO04:24
lifelessRenatoSilva: I'm fine with showing a diff, I'm just noting that bzr-search does not show a diff, and you want it to.04:24
RenatoSilvaI thought revnos were stored as commit metadata, along with the long ids04:25
lifelessnope04:26
lifelessthey are dynamic and can potentially change completely04:26
RenatoSilvalifeless: iirc it does the same, it shows the line of the diff containing the match, the problem is that the output is a bit weird (just a matter of formatting), and mainly, that we don't have the revnos04:26
lifelesse.g. 'uncommit', 'push --overwrite' do this04:26
lifelessRenatoSilva: no, bzr-search does *not* show a diff04:26
RenatoSilvalifeless: ah ok I didn't know that04:26
RenatoSilvalifeless: not the entire diff04:27
lifelessnot a diff at all, it doesn't access the old version of the file.04:27
RenatoSilvalifeless: weird, I was pretty sure I got some matches like +  sadasdaad  match04:27
RenatoSilvalifeless: I linked an example in the bug, let me check04:28
lifelessit shows the first line in the new version of the file that matches any search term searched for04:28
RenatoSilvahttp://pastie.org/815629.txt04:29
lifelessyes, not diffs04:30
lifelessjust lines extracted from the files04:30
RenatoSilvathey're all from current revision for all files?04:30
RenatoSilvaor from old revisions? maybe I misunderstood this comment? "bzr search searches the diff between revisions already."04:31
lifelesswhat it searches and what it shows are separate04:31
lifelessit builds an index from the file diffs. the index points at (revision, file)04:32
lifelessit shows by reading in (revision, file) and looking in that for what you searched for04:32
RenatoSilvahence it shows matches in old file versions?04:33
lifelessyes04:34
lifelessthe revision is printed at the left of the output04:34
spivlifeless: there's possibly a valid bug here along the lines of "document what bzr-search indexes in a way that end users will comprehend"?04:34
lifelessspiv: perhaps. Or make it more powerful so it doesn't matter.04:34
spivor perhaps just s/comprehend/discover/ ;)04:34
spivlifeless: right04:34
spivlifeless: but in the meantime while it's not quite as awesome as google, document it ;P04:35
lifelessspiv: I mean, this conversation is about it a) not searching via literal strings (a subset of full regex) and b) the output being fugly04:35
lifelesss/conversation/bug report/04:35
spiv(I'm not trying to imply anything much about the priority of documenting the status quo vs. improving it)04:36
spivFWIW, I generally consider bug reports to be conversations  :)04:36
lifelessvs the conversation on IRC :)04:36
RenatoSilvalifeless: well I'm very sorry but I can't really understand you pretty well. It simply seems to me that, if there was a revno rather than that rev id (and besides the output being a bit weird), it would give me the info I want. If not, then I'm sorry04:37
lifelessRenatoSilva: it can currently show a line that was not altered by the commit04:38
RenatoSilvalifeless: I'm jsut lost with that bug at the moment. I have no idea what 'hits as diffs' mean :(04:38
lifelessit means show the results as diffs04:38
lifelessnot as summaries from the committed documents04:38
lifelessI don't know how to phrase that differently I guess.04:38
lifelessa hit is a search hit, its something returned from your search.04:38
lifelessa diff is a description of a change between two things04:38
lifelessbzr-search currently shows hits as summaries *of the new things*, not as *a difference between things*04:39
RenatoSilvalifeless: ok just know that I'm confused, and I'll probably leave that bug, I'm sorry :(04:39
lifelessI'm satisfied that I know what you want.04:40
lifelessAnd I've described it in a way that I and other bzr-search devs will understand.04:40
lifelessI think you'd need to read the code to understand whats going on ><04:40
RenatoSilvalifeless: so if one wants more details in the future from the bug reporter, I'll not be there because I don't get the bug idea anymore :(04:40
RenatoSilvalifeless: ok ok thanks, it's just to let you know in case if you find it weird that I unsubscribe or so04:41
lifelessthats fine04:41
lifelessyou've communicated what you wanted well using the filter script you wrote04:41
RenatoSilvaok04:42
RenatoSilvathank you very much guys04:45
pooliespiv is https://bugs.edge.launchpad.net/bzr/+bug/421845 really high?05:09
ubottuUbuntu bug 421845 in bzr "bzr check fails on valid stacked repository isolated from fallbacks." [Medium,Confirmed]05:09
poolieactually nm, i already downgraded it05:10
poolierevert that if you disagree05:10
spivpoolie: hmm05:14
spivpoolie: I don'05:14
spivI don't feel strongly about it, but I tend to think that bugs that stop 'bzr check' from being a reliable way to determine the health of a repo are serious.05:14
spivBut at the same time, it is a bit of a niche situation.05:15
poolieok05:16
pooliei'm doing a bit of a roundup of bugs with patches05:16
poolieyou could turn yours into a known failure05:16
pooliebut...05:16
pooliethat doesn't actually fix it05:16
poolieso it's probably not worthwhile05:16
spivBut it would shift it off the "bugs with patches" queue ;)05:17
poolie:)05:18
pooliespiv do you think the malloc patch is safe for 2.0?05:19
spivI think so, but it might be nice to give it some time in trunk first, just in case.05:19
poolieok05:20
pooliethere's some potential for waste in letting things age in trunk05:24
pooliethough i also kind of like the ieda05:24
poolieidea05:24
pooliejelmer: are you awake perchance?05:39
pooliespiv, still here?07:31
vilahi all !07:43
vilawow, I was about to nudge core devs to land their approved patches and... https://code.edge.launchpad.net/bzr/+activereviews is almost empty, yeah for telepathy !07:44
pooliehi vila07:47
poolieyeah!07:47
poolieand, i think07:47
poolieless +patches bugs than when we started07:47
pooliemaybe no +high ones?07:47
vilaI haven't looked at +patches yet, but +workinprogress is reasonably short too07:48
pooliethose aren't real urls07:50
poolieyet07:50
pooliethey should be07:50
vilapoolie: sure, but we understand each other here07:50
poolieyes07:51
lifelessjelmer: ping07:58
lifelesspoolie: actually, there is a +patches one now Ithink07:58
lifelessit was announced at portland07:58
lifelessmaybe its only for ubuntu, in which case a nudge to Jorge might be useful07:59
poolienot deployed yet i believe07:59
pooliecontinuous deployments come on down07:59
* igc dinner08:01
pooliek, i need to finish https://bugs.edge.launchpad.net/bzr/+bug/368931 then stop08:08
ubottuUbuntu bug 368931 in bzr "Rename may fail when file and directory have the same name differing by case" [High,In progress]08:08
vilapoolie, lifeless : I replied on  https://code.edge.launchpad.net/~vila/bzr/move-test-servers/+merge/18960 , we can discuss it here and now if you will08:18
vilaspiv, igc, jam, everybody who is interested too ^08:19
vilamwhudson: ping08:20
poolievila, can you summarize where it's actually up to?08:25
pooliei'm broadly + on just merging it before perfecting it08:25
spivhey vila08:26
vilapoolie: test servers are out of the bzrlib.transport hierarchy, tests are passing08:26
spivDoes that include MemoryServer?08:26
vilaspiv: hey happy father ! :D08:27
spivIt would be a shame to move that twice, and thus cause Launchpad to have to update their code to match twice.08:27
vilaspiv: yes, but not ChrootServer and PathFilteringServer which *are* used are true servers (MemoryServer isn't)08:27
spivMemoryServer is a real server.08:27
pooliethey do use MemoryServer08:28
pooliein lib/lp/codehosting/vfs/branchfs.py08:28
vilapoolie: outside of tests ?08:29
spivYes.08:29
vilahmm08:29
poolieit seems strange but they do call it08:29
poolievila istm that if you import transport.memory it is reasonable to get MemoryServer too08:29
pooliewe mostly want to avoid it for real protocols08:30
vilapoolie: that was the root cause of needing testools when using sftp...08:30
vilalet me try08:30
pooliememoryserver was?08:30
vilapoolie: no, leaving a test server in the bzrlib.transport hierarchy08:31
poolieright08:31
spivMemoryServer doesn't have much risk of depending on external dependencies.08:31
pooliei think we should move that one08:31
poolieright08:32
poolieand also, if you are using a memorytransport you must necessarily also use an in process memory server08:32
vilapoolie: nice catch, let me look at the fallouts08:34
pooliewell it was spiv really08:48
pooliei would not have guessed lp used it08:48
vilaspiv: nice catch to you then ;)08:49
vilaspiv: By the way, Marie an I noticed that your Vincent's mother is called Mary while her (Marie's) father is called Vincent, which kind of make sense since we leave roughly at the other side of the planet... but I wonder how *they* will name their children (except I think I just don't want to know, that's far too close to playing with the quantum universe equilibrium)) )) (just to be sure)08:51
poolievila, can you send a pp mail before you go?08:52
fullermdPah, lousy quantumn universe equilibrium.  What'd it ever do for me?08:52
vilapoolie: Some sort of summary you mean ?08:53
vilapoolie: or a 'I'm done, next is poolie' kind of ?08:53
lifelessvila: I've made my case for names on the bug, whatever poolie goes with is pragmatically fine.08:54
vilalifeless: ok08:54
lifelessvila: (But I'm not convinced by .git and .ftp being siblings :))08:54
vilawell, I'm not convinced we need to reserve for .git until we implement it ;)08:55
lifelesswe have .smart.server08:55
bialixheya all08:55
lifelessI'd rather see .git.server08:55
bialixhi lifeless08:55
lifelessand similar for CVS etc, than have it adjavent to the VFS servers08:55
lifelesshi bialix08:55
bialixlifeless: IIUC you're admin of bzr ML08:55
lifelessbialix: one of manyt08:55
bialixI have problems posting to ML via gmane08:55
lifelessbialix: hmm08:55
bialixat least it was true yesterday08:56
lifelesswe're not that sort of admin really. what sort of symptoms do you see?08:56
lifeless(we only have web UI clicky clicky admin access)08:56
bialixyesterday my mails were not reach ML.08:56
poolievila: "I'm done, we got lots of things finished, please keep the balls in the air"08:56
vilapoolie: k08:57
bialixokay, it seems jam fixed something yesterday when I'm whinning about this08:57
pooliebialix: your mails are not in the clicky admin interface :-(08:57
poolieunless they now got through08:57
bialixhi poolie, vila08:57
poolievila, say something inspiring/exciting08:57
vilapoolie: :D08:57
poolieit is really good that we're getting on top of these things :)08:57
vilabialix: hello spammer08:57
* vila hides08:57
bialixok, today is better day, at least couple of my answers reached ML actually08:57
bialixlifeless: poolie: sorry for disturb, I hope now it's sorted08:58
poolienp08:58
poolielet us know08:58
poolieif you have troubles08:58
bialixvila: :-D08:58
pooliei should really go08:58
* bialix likes jokes of vila, no need to hide08:59
gerard_hey09:10
vilahi gerard_09:10
bialixigc: ping?09:13
=== mrevell is now known as mrevell-lunch
=== mrevell-lunch is now known as mrevell
Taknice lp/bzr article on ars14:06
vilaTak: url ?14:10
rubbshttp://arstechnica.com/business/2010/02/an-introduction-to-collaborative-development-with-launchpad.ars14:12
vilahmm, fresh :D14:12
vilarubbs, Tak : thanks14:13
rubbsnp14:13
rubbsI haven't read it all, but it seems pretty good14:14
bialixhi abentley, today I've encountered strange problem with shelving part of hunk with the editor14:15
bialixbug https://bugs.launchpad.net/bugs/52046114:15
ubottuUbuntu bug 520461 in bzr "problem of partially shelve changes from 1 hunk with editor" [Low,Confirmed]14:15
bialixabentley: am I'm doing something really wrong this is just unsupported use case?14:15
bialixabentley: am I'm doing something really wrong *or* this is just unsupported use case?14:16
bialixrubbs: there is qbzr! :-)14:16
vilabialix: have a break, read the above url, there talking about you :D14:16
vilarats, too slow14:16
bialixvila: I saw the pictures14:17
abentleybialix, I don't understand.14:17
jambialix: I pushed your emails through the admin, yes they were trapped as potential spam14:17
jammorning vila14:17
abentleybialix, you are actually editing a patch?14:17
bialixabentley: what exactly14:17
vilamorning jam !14:17
bialixabentley: yes14:17
bialixmorning jam! thanks!14:17
rubbsthat article links to "quickly" i didn't know that existed. That's pretty nice.14:18
bialixabentley: if you will look on my files in the zip you can see the end result of new file which I've edited and saved14:18
bialixI've tried several attempts with no luck14:19
abentleybialix, it doesn't sound like an unsupported use case.  As long as you're saving the new version, not the old version.14:19
abentleybialix, I don't really have time to investigate right now.14:20
bialixthe old version is read-only, I can't edit it14:20
bialixok14:20
Takhahaha - "Please stop working on this. You could be taking the jobs of programmers by offering this for free."14:27
rubbsTak: where is that from?14:32
Takoh, it's one of the comments on the article: http://arstechnica.com/business/2010/02/an-introduction-to-collaborative-development-with-launchpad.ars/3?comments=1&comment_id=15600843304114:32
rubbsah... obviously a troll14:34
thread_auHi there, I'm going to struggle to make my question concise, but I'll have a go...14:51
jcastrolifeless, ends up the db changes needed for +patches won't land until 1 March.14:51
thread_aui have a no-tree repository, which I'm endeavoring to use via light-weight checkouts when necessary.14:51
thread_auhowever, 1 or two folders that I would consider "branches" (have the .bzr directory in them, and happily support checking out, with revisions then showing up in bzr-explorer) don't seem to want to merge14:52
thread_aubzr: ERROR: No WorkingTree exists for "file:///H:/My%20Documents/Projects/FreescaleMPCCA/trunk/.bzr/checkout/".14:54
thread_auI feel I haven't given quite enough information to make a proper question but I'm not sure what to give...14:54
rubbsI don't know if I can help solve, but I can help clarify for others here. (help get to the bottom of the problem).14:56
thread_ausure thing14:57
maxbthread_au: When in doubt, pastebin a copy/paste of a terminal window showing exact commands that you ran and what they printed14:57
rubbsso you are using bzr-explorer with two tree less branches you wish to merge.14:57
thread_auI'm mainly using tortoise-bzr with bzr-explorer just to keep an eye on what it considers in the shared repo14:57
rubbsat the time of the merge are their working trees present?14:59
thread_auonly in the checkout15:00
=== salgado is now known as salgado-lunch
thread_au(trunk at this point contains no revisions however)15:00
thread_auwell, it has one now, as I added one in case that was the problem15:01
thread_auI have one treeless repo, within which I created a folder "trunk", which I ran "init" on. Then used "branch" to create a branch called "beginning".  To perform work I created a lightweight checkout from beginning, which seems to commit fine. bzr-explorer reports that there are "changes not in parent branch" (as expected)15:01
thread_auin my head I should then run "merge" from trunk folder to propagate teh changes there.15:02
fullermdYou run 'merge' from inside the/a working tree for the branch you want to merge into.15:02
thread_auso lightweight checkout from trunk15:02
thread_auand then merge to there?15:02
thread_ausounds reasonable15:03
thread_auit seems i was led astray by a bugreport i was just reading if that's the case15:04
fullermdBeing as how merge sets up information to be committed, it would be difficult to do it without a WT  ;)15:04
thread_aubut bzr is magic! :P15:04
thread_au(I was reading this https://bugs.launchpad.net/bzr/+bug/91614)15:04
ubottuUbuntu bug 91614 in bzr "Error messages should not include internal filenames below bzrdir" [Wishlist,Confirmed]15:04
thread_auwhich seemed to say that trees were not necessary, but that was for a pull15:05
thread_aunice bot function btw15:05
fullermdRight, pull just moves existing revisions around, so there's no need for a tree.15:06
fullermdMerge set up pending info to be committed, so that has to go SOMEwhere.15:06
thread_au(just squirrelling away...)15:11
guilhembijam: thanks a lot for your answers re: annotate, re:push/pull/1.9/1.14, lots of food for thought!15:20
thread_authanks fullermd and rubbs15:32
thread_authe merge worked (well... attempted) which gave me more stuff to figure out that i have been working15:32
thread_auand the command line feels a lot tighter I think now I'm using it15:32
rubbsthread_au: glad you found help. sorry I couldn't help more myself.15:33
thread_auyou asked the right question actually15:34
thread_auregarding trees15:34
rubbsmeh, dumb luck on my part ;)15:34
thread_auso much terminology to get my head around15:34
rubbsit's hard at first, but working through it for a few weeks will really help.15:34
rubbsand once you get it, it's almost like a light turns on. it becomes much more easy after that15:35
thread_austuff like "push vs send" and "pull vs update"15:35
thread_au(I think i have pull vs update sorted :)15:35
thread_auat the moment, trying to figure how push/submit/send/parent branches are meant to be set up/related15:35
rubbsyeah, those are hard, because the differentiation isn't within the term itself, which I think makes it the hardest.15:35
thread_auand why I couldn't merge to trunk without putting in -r0..-115:37
rubbspush is to copy the whole history to the target location. Parent is the branch which you branched from. submit I'm not too sure to be honest, and send I believe is a way to send patch info through email.15:37
thread_auwhich I didn't quite understand.15:37
rubbsmmm... not sure on the merge thing.15:37
thread_auso far so good15:37
thread_auI'm used to manpages and such so I'll get there15:37
thread_aualthough...15:37
thread_au"man" doesn't work here on windows :-/15:37
thread_auso off to the browser it is15:38
rubbshaha. try bzr help15:38
rubbsor bzr help topics15:38
thread_auadditionally...15:38
rubbsthat got me through a lot15:38
thread_auare these terms bzr specific?15:38
rubbssome, but most are DVCS specific15:38
thread_aubecause I haven't really tried other systems and I'm not sure if that's why it's pretty uphill15:38
rubbsso many terms will work in Git and in Hg.15:38
fullermdIf you had to put in -r0..-1, it's because the branches didn't share any common ancestry at all.15:38
jamguilhembi: yeah, sorry the answer wasn't better for you15:38
fullermd(and while there are many times you'd want to do that, you'd probably know it if you did)15:38
thread_aufullermd: this is what I guessed based on the error message, although 'b' was branched from 'a', and I wanted to merge back...15:39
thread_auI guess the issue was 'a' was empty when i branched off15:39
thread_auand then one empty file was added to 'a'15:39
thread_auwhich may have made them appear like there was no (real) ancestry.15:40
fullermdWell, it causes that appearance because that's the case   :)15:40
fullermdThere's no meaning to "ancestry" aside from "what revisions are present".  Two branches sharing no revisions share no ancestry.15:40
thread_auAlright15:50
thread_aui really should go to bed, thanks to those who had helped15:50
thread_auit was a bit of a panic as It hought I mostly had grasped the concept of DCVS but then things started behaving not hwo I expected15:50
thread_auin any case, I'll likely see one or more of you again - I get the feeling learning this properly will be like getting the hang of gentoo was a while back15:51
thread_auwhich means the "give and learn" of IRC will be more than useful15:51
=== deryck is now known as deryck[lunch]
guilhembijam: I'd like to prepare a MySQL repository converted to 2a, for sharing with my colleagues, so it's important that I don't give them something bad; I have bzr.dev of Feb 4th, is that good enough for generating the repo ?16:05
guilhembiI just would like to make sure that it does not contain an important bug...16:05
guilhembijam: and also, after a computer poweroff/poweron, can I safely delete "obsolete_packs/*" (to not send them useless files)?16:06
jamguilhembi: after a 'sync' it is safe to delete obsolete_packs16:07
jamgenerally probably after a few seconds it would be safe16:07
jamthe key is that *bzr* can't really know when the os finishes writing to disk16:07
jamin case there is a power outage, etc.16:07
jamguilhembi: bzr.dev from Feb4 should be fine16:07
guilhembijam: ok, so as a clean shutdown includes a sync, I am safe with deleting...16:08
jamyeah16:08
guilhembijam: thanks a lot.16:08
jamalso, watch out for '.bzr/repository.backup' and 'backup.bzr'16:08
=== salgado-lunch is now known as salgado
* guilhembi checks16:09
guilhembijam: regarding the impossible-to-fix annotate slowdown, I don't know what to do. Speed is the main reason for upgrading the 100 guys, and the speed gain is not so clear due to this annotate thing. I'm looking for something compelling to announce... is there some other command than "bzr log" which gets a speedup with 2a? some other command than "bzr annotate" which gets a slowdown?16:17
jambzr log -v16:17
jamwent from hours to minutes on bzr.dev16:17
guilhembiok (but almost nobody uses it)16:17
guilhembiahah16:17
jamdu -ksh .bzr16:17
jamwent from 600+MB to 200MB16:17
guilhembiyes, observed this16:17
jamso initial branch should be ~3x faster16:17
jampush + pull are faster similarly, though not always universally16:18
guilhembijam: eof?16:18
jamguilhembi: you mean eol handling, or am I done talking?16:20
guilhembijam: done talking :-)16:20
jamsorry, I've got a couple of conversations going on16:20
guilhembijam: don't worry, this isn't urgent. I didn't mean to be pressing.16:21
guilhembibbl16:22
=== deryck[lunch] is now known as deryck
* bialix wonders what is the site arstechnica.com17:25
rubbsbialix: at tech news site that covers lots of topics having to do with Sci/tech.17:26
rubbsa tech*17:26
bialixthx17:27
jamrubbs, bialix: Interestingly their "About Us" link at the bottom of the page is a 404...17:27
bialixjam: yep, I saw this too, hence my question17:27
pooliehello jam, bialix17:27
jamhi poolie17:27
jamtaking a light nap again :)17:28
poolie:)17:28
bialixhey poolie, your night is over?17:29
poolieunfortunately so :)17:30
bialix:-)17:30
pooliei was in london last week so i'm waking up early17:30
jamits what, 5am there?17:30
bialix5pm17:31
jamin Sydney it is ~5am17:31
poolie4:3017:31
poolieam17:31
bialixah, I've talked about London17:31
jamwhich is why poolie is sad17:31
bialixso, 2.1?17:34
bialixis there some blockers?17:35
pooliegood question17:35
pooliei don't think so17:35
pooliewe should do it17:35
jamI was meaning to ask around today17:36
jamI haven't seen bzr-explorer 1.0 final17:36
jamvs beta17:36
bialixI can pack the one.17:36
bialixjust today I've synch'ed translations17:36
bialixmaybe we need final word from igc17:37
bialixbut there is no major changes in explorer trunk since Ian called it rc117:38
bialixjam: I would say: I can pack 1.0rc117:39
* bialix has to go17:41
pooliethat sounds ok to me too17:49
pooliejam, did we ship rc1 in the last bzr rc?17:50
jamno17:50
jamI didn't do an rc3 last week because of the car stuff17:50
jamI was just going to do a final, but I can do something different if you prefer17:50
pooliewell, i'm just a bit concerned that ian has put in a large change in explorer17:54
pooliebut maybe we should just ship it, and if it is broken it's on his head17:54
pooliejam, thanks for all the bug triage18:05
jamI've actually found it pretty interesting18:05
jamI'm going through the "new" bugs18:05
pooliei see :)18:05
pooliei wish i'd set up a graph18:05
pooliebut it's not too late18:06
jamwell, if lp apis could tell you the date when something happened18:06
jamI got through what... 30 new bugs18:06
jamstill have 194 to go :)18:06
* jam goes and forages for food18:12
* jelmer hopes Dmitrijs isn't going to invite every bug he's ever communicated with to join LinkedIn...18:17
poolieurk18:28
fullermdSo informal, too.  It should be "Mr. Bug".18:28
mkanatlol18:29
jamjelmer: probably just the ones that get marked Invalid18:33
jamwe should be warned :)18:33
jamspeaking of which, how the heck did "Carson Coker" get his ad through to bazaar@?18:34
jammaybe an accidental "accept" ?18:34
pooliemaybe18:35
=== radoe_ is now known as radoe
pooliejam i didn't see any mail from him but maybe my spam filter caught it18:43
poolieso we have 9 bugs currently inprogress18:45
=== Pilky_ is now known as Pilky
bjphow do i globally disable loggerhead as a plugin?19:07
gerard_hey19:12
pooliehi gerard_19:15
pooliebjp: just move it out of the plugins directory19:15
bjppoolie: where is the global directory?19:20
jampoolie: https://bugs.edge.launchpad.net/bzr/+bugs?search=Search&field.status=In+Progress has 6019:20
pooliesorry, i meant to say 9 fixcommitted19:20
pooliewhich should be even closer to being ready19:20
jamwhich I also don't think is particularly accurate19:20
pooliebjp, how did you install it?19:20
pooliebjp, maybe i should also ask, why do you want to disable it?19:20
bjpit's giving me this error whenever i try to push/pull from the server: Unable to load plugin 'loggerhead'. It requested API version (1, 17, 0) of module <module 'bzrlib' from '/usr/lib/python2.6/dist-packages ...19:21
maxbWhere is loggerhead installed? Is it systemwide or someone's home directory?19:22
pooliebjp,and you have a later bzr on the server?19:23
bjpwell, i just recently installed it into /opt/loggerhead19:23
bjpyea, 2.119:23
bjpfrom bzr branch19:23
pooliejam, for interest, https://bugs.edge.launchpad.net/launchpad-foundations/+bug/52062519:24
maxb"<module 'bzrlib' from '/usr/lib/python2.6/dist-packages" does not sound like 2.1 from a bzr branch to me19:24
ubottuUbuntu bug 520625 in launchpad-foundations "please block bulk mail (quasi spam) from linkedin" [Undecided,New]19:24
bjpi mean loggerhead is from bzr branch19:24
pooliemax i think that's where bzr is19:24
pooliebjp you need to either upgrade or uninstall it19:24
bjpwhich?19:25
bjpi'm using loggerhead as a stand alone server, i don't need it as a plugin19:25
maxbOh, is there a loggerhead 2.1 now? I assumed that was a bzr version19:25
bjpyea it was, i'm using bzr 2.1, and loggerhead's latest bzr checkout19:25
bjpsorry i didn't post the full error, i didn't want to spam19:25
rubbsbjp: could you pastebin it?19:26
bjpsure19:26
rubbs!pastebin19:26
ubottuFor posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.19:26
bjphttp://pastebin.com/m76ad401519:27
maxbbjp: Also please confirm the bzr revno of loggerhead that you are using19:27
bjp40019:28
maxbThat error you paste should not be possible19:28
bjpi figured i could just remove it from the plugins dir, but i'm not sure where global plugins are19:28
maxbIs it possible you also have an older loggerhead installed?19:29
bjpnot possible??19:29
bjpmaybe... :)19:29
maxbSorry, not possible with loggerhead r40019:29
bjpi installed the latest one in an isolated environment19:29
maxbI suggest 'locate loggerhead/__init__.py'19:30
bjpi ddin't even look to see if there was another one19:30
bjpoh there was one in the package manager19:30
bjpthat fixed it :)19:30
lifelessjcastro: :(19:33
pooliehi lifeless19:43
fullermdpoolie: Err?  bug 130783 isn't "fix released" AFAIK...   the generated files are still there.19:46
ubottuLaunchpad bug 130783 in bzr "`make clean` should clean up after pyrex" [Low,Fix released] https://launchpad.net/bugs/13078319:46
pooliethe .so files?19:46
fullermdNo, the .c files.19:46
poolieyes but that wasn't actually his complaint19:49
fullermdWell, it was [part of] mine, and it was my bug   :)19:49
poolieok19:50
fullermdThe .so bit was taken care of looks like a few months after the bug was filed.  I'd still like to whack the .c's though.19:53
fullermde.g., when I upgrade pyrex or python or the like.19:54
jcastrolifeless, poolie: http://arstechnica.com/business/2010/02/an-introduction-to-collaborative-development-with-launchpad.ars20:02
jcastroif someone could answer the guy's question about netbeans bzr that would be great.20:03
pooliefullermd: i  reopened it20:06
pooliejcastro: there is no netbeans integration atm afaik20:07
jcastropoolie, ah bummer, I found some stuff on searches but it looks old and out of date.20:08
jcastropoolie, mostly I just wanted to make sure you guys were aware of the discussion, seems like the article is very popular right now20:08
pooliethanks20:09
pooliei only glanced at it but will read it now20:09
fullermdHm.  Is anybody else actually using cython instead of pyrex?20:14
=== salgado is now known as salgado-afk
fullermdIt seems to blow all sorts of bright-colored chunks for me.20:15
bob2outside of bzrland?20:16
fullermdNo, with bzr.20:16
mtayloranybody around with good grokking of the interaction between bzr-builddeb and dpkg v3.0 (quilt) from a workflow perspective?20:17
lifelessgarhk20:18
mtaylorlifeless: that's how I feel!20:26
pooliejam, still around?21:08
jampoolie: yep21:08
poolieso, 2.1?21:08
jamas in, you want me to release it today?21:10
pooliewell, shall we?21:10
poolieit doesn't even specifically have to be you21:10
pooliei just want to work out where we're going21:10
jamI think it is about time to do so21:10
poolieok, so can you do it on friday, or do you want someone else to?21:34
pooliealso maybe we can get a new rm21:34
poolielifeless: i crave review of https://code.edge.launchpad.net/~mbp/bzr/368931-rename-case-2.0/+merge/1907921:34
fullermdjam: BTW, you can actually run bzr with cython?22:04
poolielifeless: is there anything specific that drupal actually want help with?22:06
pooliethat's a long thread22:06
jamfullermd: I don't think you can run all of bzr with cython, but you can compile the extensions with cython22:06
jam(and we do that automatically if pyrex isn't available)22:07
pooliefullermd: btw please don't say 'error' if you mean 'warning'22:07
fullermdWell, it compiled fine here, but it wouldn't run at all.22:07
jampoolie: your test won't run on Windows22:07
pooliethat's why i thought there would be a bug or news entry22:07
poolieah22:07
pooliejam, true22:07
pooliewell,22:07
poolieit's meant to be a per-tree test22:08
poolieso in theory it would work on some trees22:08
jampoolie: if you like, you can skip it22:08
jambut mkdir tree; touch Tree will pretty much always fail22:08
lifelesspoolie: the mails I'm forwarding are from chx; he's keen to see us provide advice on what bzr can do and how, and is drawing attention to specific points.22:08
fullermdJust wondered whether that was expected.22:08
jampoolie: I think you could use BranchBuilder instead of build_tree22:08
lifelesspoolie: emmajane or davidstrauss will have opinions too :)22:09
pooliei suspect that test file is a bit inaccurate about actually testing the right class22:09
jamas that builds using a memory tree22:09
pooliejam, sometime soon i'd like to systematically rework one test file to separate all the creation22:09
poolieinto a 'test factory'22:09
pooliebut maybe not using that name as it's odoriferous to launchpad devs22:10
jam:)22:11
pooliewinepython does actually fail on those tests22:12
pooliewhich is nice22:12
jampoolie: ideas for codename for 2.1.0?22:15
poolieum, i did have a good one22:16
poolieare you doing it now?22:17
poolieactually i'd just call it Strasbourg22:18
jamyeah, I'm writing up NEWS, etc22:22
jampoolie: should we try to do a summary of what 2.1 is vs 2.0?22:23
poolieyes22:23
pooliei think perhaps we should fold that all up into the summary paragraph of 2.122:23
poolierather than per-beta things22:23
poolieoh also22:23
pooliewe shouldn't put 'not released yet' into the headings22:23
pooliebecause it makes the html look a bit messy22:24
jampoolie: can we put it on the release date line?22:24
jam:2.1.0: (not released yet)22:24
jam?22:24
poolieyes i think that'd be good22:25
poolieafter making a memorytree, how do i add the root so that i can start adding other stuff?22:26
spivtree.add('') ?22:30
poolienup22:31
poolieuse treebuilder apparently22:31
spivI think that's what BranchBuilder attempts to do, anyway.22:31
=== webchick is now known as webchick|afk
pooliei don't actually want a branch22:37
poolieit should be enough to test this on just a tree22:37
pooliebut that may be easiest22:37
poolieblah22:47
pooliesome of the per_tree things assume it's a real working tree on disk22:47
KilrooHm. If there's a ticket that would address the ability to create a branch bound to and stacked on a subversion repository, I can't seem to find it.22:56
KilrooProbably searching for the wrong thing.22:56
lifelessKilroo: well you want cross format stacking22:59
Kilroothat or a solution to my problem with bug 109114 that doesn't amount to "using bzr to interact with this svn repo requires a 64-bit operating system."23:03
ubottuLaunchpad bug 109114 in bzr "[master] bzr holds whole files in memory; raises MemoryError on large files" [Wishlist,Triaged] https://launchpad.net/bugs/10911423:03
KilrooWell, correction. Lightweight checkouts still work.23:04
KilrooJust slowly, and they don't gain me anything. On the repositories that don't run into that problem I can use local feature branches.23:05
spivKilroo: the large files are some way back in history, IIRC?23:11
spivKilroo: the other feature that isn't implemented yet, but might help you if it was, is "shallow branches".23:11
KilrooThe one that I'm certain is actually one specific file is probably about half a dozen to ten commits back or so.23:12
KilrooThe other branches that hit the out of memory error, the revision I can't pull is well back in the history and I am not certain if there's a large file that is the culprit or if it is just the fact that a gigantic lump of filesystem was committed all at once.23:14
KilrooBut yes, if I could have a shallow bound branch, that would work too. In fact, I was pretty much thinking of a stacked bound branch as being a surface-level shallow bound branch, in terms of functionality.23:15
KilrooI honestly hope, though, that we will redo our repository arrangement at work in the near future, in a way that would make most of my problems disappear just by getting rid of all the crap that doesn't make sense.23:16
zomboranyone know of a plugin to push bzr into git repos?23:17
bob2the bzr git plugin?23:17
spivKilroo: Right, although bug 375013 probably stops stacked branches from being a solution for you atm.23:17
ubottuLaunchpad bug 375013 in rosetta "Cannot commit directly to a stacked branch" [High,Triaged] https://launchpad.net/bugs/37501323:17
zomborbob2: this says push is not supported: https://launchpad.net/bzr-git23:18
zombori want to work with github repos, but i dont want to use git23:18
bob2ok23:18
KilrooHm.23:19
KilrooYeah, looks that way.23:19
zomborive found git -> bzr but not the other way around23:19
KilrooFrom what I've read, the closest I've found to a way to use bzr to work with a git repository would be to pull stuff into bzr, work in bzr, and get everything back into git by generating patches.23:23
KilrooStill requires working with git.23:24
KilrooI've never tried even doing that though.23:24
zomborKilroo: yeah, sounds icky23:26
zombormight as well work right with git ;)23:26
Kilroospiv: Actually, I think the workflow I want to use would mean that stacked branches would work just fine, because the stacked branch would be in a treeless repository and would not receive commits directly. Without being able to test what I have in mind, I can't be sure, though.23:28
spivKilroo: well, that bug also stops you making commits to a stacked branch from a lightweight checkout of the stacked branch.23:29
KilrooThat was what I was about to say I wasn't sure of.23:29
Kilroo...23:30
KilrooWhat if you committed to a lightweight checkout of a branch bound to the stacked branch?23:30
KilrooNever mind answering that, because I'm not even sure what the heck I just said.23:30
fullermdCreating that bound branch would copy over the whole history, in which case you might as well skip the stacked middleman, and you wind up back with your original problem  :p23:30
spivfullermd: or the bound branch itself could be stacked too, which still leaves you with the original problem ;)23:31
KilrooOh.23:31
KilrooOh well.23:31
spivBasically, if it were that easy to workaround, we'd have fixed it already :/23:31
fullermdBut then you could...  you just...   well, you ca!@&$(%  Stack size exceeded (core dumped).23:32
KilrooYeah, sounds to me like we're more likely to fix things at work so that it's not an issue before a fix lands in bzr23:34
=== webchick|afk is now known as webchick

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