/srv/irclogs.ubuntu.com/2008/04/08/#bzr.txt

pooliehi00:33
jmlhi00:35
spivOh wow, libcurl doesn't understand select.00:43
spivIt thinks if a socket is in the exceptfds that it should raise an error.00:45
spivA generic "(55, 'select/poll returned error')"00:46
=== mwhudson_ is now known as mwhudson
mwhudsonhello00:46
spivHmm, and it treats poll similarly.00:46
pooliehm that kind of sucks00:48
pooliespiv, i'll call you in 12 minutes if that suits00:48
spivSure.00:49
spiv(I'm wondering why I'm seeing that error failing bzrlib.tests.test_bzrdir.ChrootedTests.test_open_containing all of a sudden)00:49
pooliemwhudson: mark just asked about loggerhead, have you been able to work on it recently?00:50
=== mw is now known as mw|out
lifelesspoolie: ping00:51
poolieoing00:51
lifelessI replied to a number of reviews; in particular the one with get_scope etc in it would like a reply back from you at your earliest convenience00:51
pooliescared him off...00:51
poolieok00:51
spivGar, it's timing related.00:56
pooliespiv: can we postpone for a bit?00:56
spivpoolie: sure00:56
pooliesomeone just called me00:56
* spiv is chasing this spurious pycurl error00:57
mwhudsonpoolie: no, not really :/01:15
lifelessspiv: error?01:15
mwhudsonpoolie: i did some work about 5 weeks ago i guess, but i kind of got stuck on how to do navigation well01:16
mwhudsonand then i got swamped by code import work01:16
spivlifeless: http://rafb.net/p/KgSYEC45.html, no changes from bzr.dev01:17
spivlifeless: something to do with how libcurl handles the 501 that SimpleHTTPServer generates when no do_POST method is defined.01:18
spivlifeless: if I do things like step through with the debugger, the error doesn't necessarily happen.01:19
spivlifeless: so at this point I'm guessing a bug in libcurl.  I'd just like to know more so I can file a useful bug report and find a reliable workaround.  (returning a 404 rather than 501, perhaps)01:20
spivI upgraded to hardy on the weekend, so maybe there's a behaviour difference vs. gutsy ehre.01:21
lifelesshmm01:22
lifelessI'm on hardy; never seen that01:22
spivYeah.  There's something fishy.01:23
spivlifeless: fwiw, here's the relevant strace snippet: http://rafb.net/p/rjF7pW86.html .  Straight after that it starts reading .py source files to generate the traceback for the exception that was raised.01:28
lifelessI don't see a socket error there01:29
spivIndeed.01:30
spivJust a closed connection.01:30
=== hexmode` is now known as hexmode
kgoetzhi all. i was wondering if bzr could be set to pipe help into the system pager to stop it scrolling02:02
kgoetzalso, is it posable to merge branches with no shared history?02:05
bob2what's your goal in the second question?  to e.g. create a tree with ./liba and ./libb where they were in the past two seperate branches?02:08
kgoetztwo seperate versioned directories called 'perlscripts', started on seperatee systems with mostly seperate files. i was hoping to merge them and keep the revision history02:08
bob2I believe 'bzr join' will do that (maybe with some history-preserving mass mvs before hand) but not sure how supported that is02:10
kgoetzthanks,i'll have a look at it. the history isnt to important, just 'nice to have'02:12
kgoetzmmm. looks like bzr join wont do it. never mind. thanks for the help :)02:16
bob2hm,it won't?02:16
kgoetzby my reading they have to have been split from the same tree at some point02:19
bob2I think the bit about branch is a bit confusing02:20
bob2and just means that you branched something into a subdir02:20
pooliekgoetz: there's no builtin option for it but it would be useful02:22
kgoetzpoolie: pity theres no option, i'd certainly find it handy :) is it worth doing a wishlist bug?02:24
pooliekgoetz: just check first there is not already one02:25
kgoetzpoolie: sure :)02:25
bob2hm, of the above, what does bzr join not do?  seemed to let me join two independent branches and then move the files into the one dir02:27
lifelesskgoetz: merge --force will do it for you02:31
lifelesspoolie: ^ no special option needed :)02:31
lifelesss/special/new02:31
kgoetzwhats the 'merge base revision'?02:34
lifelesskgoetz: merge -r 0..-1 otherbranch02:35
kgoetzneat.02:36
poolielifeless, kgoetz: oh i meant for paging help02:38
kgoetzthe dangers of askin multiple questions ;)02:40
* kgoetz checks bts for a pages bug02:40
lifelesskgoetz: any reason '| less' isn't good enough ?02:41
kgoetzlifeless: only that i'm looking at lots of help at the moment, so |less ing a lot is tedious02:43
lifelessI tend to shift-up02:43
lifelessto read stuff that scrolls02:43
kgoetzi tend to use screen, where shift-up doesnt work02:44
lifelessdoes for me :P02:44
lifelesstho if I switch windows I need to use the screen paging facility02:45
kgoetzarent you a lucky boy :p02:45
lifelessctrl-a [ pgup :)02:45
* kgoetz doesnt find that less anoying (but good to know for sure)02:47
mehemiahhey, how does one change the format of a repo?02:55
spivbzr upgrade02:55
mehemiahthanks, i couldn't find that  on any of the pages that concerned formats02:56
mehemiahthe online documentation and documentation needs to be improved emencly, Looks like I finally got an excuse to join this project.02:59
* mehemiah creates a launchpad account02:59
pooliemehemiah: welcome03:01
pooliewhy not send mail to bazaar@lists.ubuntu.com pointing out some improvements03:01
mehemiahthat works03:07
poolielifeless: hey03:10
pooliei guess the thing about lock warnings or tests being "sufficient" or not is that, um, it seems like trying to prove a negative03:11
pooliei can tell you for sure it will still be possible to get warnings with all the tests passing03:11
ubotuNew bug: #213718 in bzr "bzr could put help into pager" [Undecided,New] https://launchpad.net/bugs/21371803:26
lifelesspoolie: Phone perhaps03:27
bratscheI'm getting crashers with 1.3.1rc1 (in Hardy) when I'm trying to commit to a server using 0.90.  It gives me a big stack trace followed by: AssertionError: 840 != 84103:33
bratscheWhere 840 is my current revno.03:33
bratscheDoes anyone know if that's a known issue?03:33
bratscheIt only seems to affect bzr+ssh:// transport.  When I switch sftp:// it is fixed.03:34
jelmerbratsche: I've seen it before, but not quite sure what causes it03:34
mehemiahso then it's a hash check error?03:36
lifelessbratsche: I believe that is a fixed bug in newer bzr's, you should upgrade the server.03:41
bratschelifeless: Cool, thanks.  I'll pester Ubuntu people to update before Hardy comes out.03:41
lifelessbratsche: what server is it ?03:43
bratschelifeless: 0.90 which I think is maybe the version shipped in Feisty.03:43
lifelessI meant what machine ;) if its Ubuntu related I may be able to poke someone03:44
lifelessthere is a repository with builds of 1.3 etc for feisty or whatever Ubuntu version they are running03:45
bratschelifeless: No, it's a server at the company I work at.  We're still using 0.90 until all the engineers have upgraded.03:45
lifelessah03:50
lifelessyou do know you can upgrade the server earlier than the clients ?03:50
bratscheUhh.. I did not.03:51
bratscheIt doesn't really matter that much to me now, I changed all my scripts to use sftp:// transport instead of bzr+ssh:// now.03:51
jameshbratsche: you can also use the BZR_REMOTE_PATH environment variable to run a different bzr executable on the remote end03:53
jameshe.g. BZR_REMOTE_PATH=/path/to/bzr bzr push bzr+ssh://server/...03:53
bratscheThanks james03:58
bratscheh03:58
lifelessbratsche: generally you should run the latest bzr server version, all clients can use any version04:32
lifelessbratsche: we add new network verbs rather than changing the meaning of old ones04:33
bratschelifeless: Cool, good to know.04:34
bratschelifeless: Thanks a lot!04:34
=== mwhudson__ is now known as mwhudson
lifelessbratsche: we will probably do some bulk removal of old slow methods at some stage; we'll advertise that very clearly when we do :)04:41
lifelessanother method bytes the dust of deprecation04:43
bratscheWe'll probably never be -that- far behind you.  I think everyone at work pretty much upgrades their Ubuntu as the new releases come out.  Some of us upgrade to the betas a little sooner than some of the others. :)04:44
lifeless:P04:49
jameshbratsche: you don't have the bzr PPA in your apt sources? :)05:00
bratscheDude I don't even know what "the bzr PPA" is! :)05:01
jameshbratsche: https://launchpad.net/~bzr/+archive05:45
=== kiko is now known as kiko-zzz
jmlhi06:07
jmlI have a feature request that I'd like to sanity check.06:08
jmlafter pulling, I'd like to be able to:06:08
jml- figure out what I just pulled (log & diff)06:08
jml- 'undo' the pull06:08
jmlis that sensible? is it possible?06:09
Toksyuryeldoesn't it already support that?06:09
jmlin that case, I'm requesting instructions, not features :)06:09
* TFKyle sees a use for the former, normally just remembers where he last was and uses bzr visualize/bzr log though06:10
TFKyle(though, it does show what files have changed already when pulling iirc)06:10
ToksyuryelI imagine you'd do it the same way you do local commits06:10
jmlTFKyle: I use version control so I don't *have* to remember things.06:10
spivjml: "bzr pull -v" is part of the answer06:10
mwhudsoni think the problem is know what the branch tip was before you pulled06:10
Toksyuryeldiff the revsion numbers from before and after the pull, and uncommit the pull revno if you don't like it06:10
TFKylecould use tags liberally :D06:11
mwhudsonknowING06:11
mwhudsonthe rest is easy enough06:11
spivjml: that gives you logs06:11
jmlspiv: that's certainly better than nothing.06:11
jmlToksyuryel: how do you figure out the revno from before the pull though?06:11
spivjml: and you can easily figure out from that what the revnos to use for diff or "bzr pull -r OLD_REVNO"06:11
Toksyuryeljml: log06:12
jmlspiv: that approach certainly requires the least amount of foresight.06:12
jmlToksyuryel: you'll have to be more specific.06:12
Toksyuryeljml: just use log the same way you use it for local commits06:13
jmlToksyuryel: you mean look until I find a revision that I recognise as being from before the pull?06:13
Toksyuryelthe commit for the pull should be clearly labeled, unless you're Doing It Wrong06:13
spivjml: add a "pull=pull -v" alias to your bazaar.conf?06:13
* jml is Doing It Wrong apparently06:14
TFKyleToksyuryel: afaik pull doesn't require commits, just merge06:14
ToksyuryelTFKyle: isn't undoing it the same function though?06:14
jmlspiv: right, that lowers the foresight factor even more.06:14
spivjml: what foresight is still required?06:14
Toksyuryelas I recall any change gets logged and compressed in the store, which would include snapshots of before and after merges06:15
jmlspiv: none. :)06:15
TFKyleToksyuryel: merges yes, but I don't think pull operations06:15
spivjml: ah :)06:15
TFKyle(could be wrong though, just they aren't mentioned in bzr log/etc.)06:15
ToksyuryelTFKyle: then that should be a feature to be added, as it would help streamline things a great deal06:16
ToksyuryelI always thought pull was handled like a merge06:16
TFKyle(though, for the undo part you might actually want to use merge/commit)06:18
* Toksyuryel afk to watch a movie06:18
spivToksyuryel: pull is basically "update my local mirror of a remote branch"06:18
Toksyuryelspiv: ohhh, I see06:19
Toksyuryelthat makes sense then06:19
spivMuch like push in the other direction :)06:19
spivToksyuryel: enjoy the movie06:19
* Toksyuryel afk for reals now06:19
ubotuNew bug: #213769 in bzr "KnitCorrupt thrown when doing diff" [Undecided,New] https://launchpad.net/bugs/21376906:36
ubotuNew bug: #213771 in bzr ""not updating child fraction" filling up log file" [Undecided,New] https://launchpad.net/bugs/21377106:36
ubotuNew bug: #213792 in bzr "status display of pending merges is slower than merge" [High,Confirmed] https://launchpad.net/bugs/21379208:16
=== doko_ is now known as doko
sssslanghi, i'm a little confused. could someone tell me how to make revno like x.x instead of x? i wanna use x.x to tag little changes in my programs.09:19
Toksyuryelspiv: thanks, I did ^^09:19
Toksyuryelsssslang: revnos are just for tracking commits, you can use the "tag" function for actual releases or really anything you want09:20
Toksyuryelthe dotted format of revnos is used for tracking merges, so it would be confusing to also use it to mean "minor commit" (which is usually redunant, since most commits are minor)09:21
spivToksyuryel: :)09:21
Toksyuryelspiv: I watched "Into The Wild". It was an interesting take on the book. I thought the ending was too gruesome though :(09:22
Toksyuryelbut overall, worth watching09:22
sssslangToksyuryel: thanks. so you mean i should always use bzr ci wheather the changes are major or minor, and tag the former with bzr tag?09:24
Toksyuryelsssslang: revnos aren't version numbers, it'd helpful not to think of them as if they were09:25
spivToksyuryel: Ah, I've heard of that.  Thanks for the review!09:25
Toksyuryelsince most commits are minor, it'd be better to tag the major ones (though generally a descriptive commit message works just as well)09:26
Toksyuryelspiv: you're welcome^^09:26
sssslangToksyuryel: i see. thank you.09:27
Toksyuryelshould read the book too, if you haven't. the movie kinda glosses over some of the details, and takes a few liberties with the story.09:27
Toksyuryelwhy is the bzr website rss feed useless =/ I just wanted to track news, not every single little change to the website itself >.<09:29
ubotuNew bug: #213851 in bzr "bzr push error" [Undecided,New] https://launchpad.net/bugs/21385110:56
PengThat error is getting popular.11:01
Kamping_Kaisergrab yourself some karma ;)11:01
=== mrevell is now known as mrevell-lunch
=== mwhudson__ is now known as mwhudson
asabilhi all12:41
asabilis it technically feasible to come up with a repository/branch format that allows internal branches ?12:43
asabilin a similar manner to git ?12:44
james_wasabil: yes, it is.12:44
james_wthere is some debate about the best way of doing that, but it is possible.12:44
asabilok thanks12:47
asabildo you allow me to quote this on a mailing list ?12:47
james_wyeah, go ahead.12:47
asabilthanks12:48
asabilit seems to be one of the most wanted features among GNOME developpers12:48
=== mrevell-lunch is now known as mrevell
=== bigdo1 is now known as bigdog
Pengjelmer: Is it dangerous to use the same svn-cache with 0.4.9 and the 0.4 branch?14:14
jelmerPeng: yes14:16
PengGreat.14:16
jelmerthe 0.4 branch may put garbage in there14:16
PengIf it did screw it up, will it be obviously broken (instant traceback), or could weird subtle things happen?14:19
PengHow much of a pain would it be to just delete the whole cache, even for largish repos?14:19
jelmerdeleting the cache shouldn't be much of a problem with >= 0.4.914:20
jelmerweird subtle things could happen14:20
PengFun stuff.14:21
PengWell, I needed to garbage-collect it anyway...14:22
PengWhee, 0.4.9 tracebacked too; it just too longer.14:24
jelmerplease file a bug :-)14:30
PengErrrr, ok.14:32
ubotuNew bug: #213946 in bzr-loom "After local branch of loom I receive unusable loom" [Undecided,New] https://launchpad.net/bugs/21394614:35
PengBug 21395314:36
ubotuLaunchpad bug 213953 in bzr-svn "NoSuchRevision while importing http://svn.pyyaml.org" [Undecided,New] https://launchpad.net/bugs/21395314:36
Peng:)14:36
ubotuNew bug: #213953 in bzr-svn "NoSuchRevision while importing http://svn.pyyaml.org" [Undecided,New] https://launchpad.net/bugs/21395314:45
PengHelpful, ubotu...14:46
=== mw|out is now known as mw
=== hexmode` is now known as hexmode
mw-homesimple bzr question.  is it true to say that generally, the working copy is the repository?15:20
mw-homeIf so, how do I back up my repository?15:21
radixmw-home: no. the repository is in .bzr/repository :-)15:22
radixmw-home: generally, the way to back up bzr stuff is to push a branch somewhere.15:22
mw-homeradix: thanks.  Maybe I should schedule a daily cron job to push out my repo to another server.  Is that really the recommended way to back up>?15:28
radixmw-home: I recommend it :)15:29
mw-homeis it possible to compare the status of one branch vs another?15:33
mw-homebefore I do bzr push, I want to know what WOULD happen.15:35
radixmw-home: I'm guessing at what you want, but it may be "bzr missing"15:35
radixIt tells you which revisions your branch has that the other doesn't, and vice versa15:36
mw-homeradix: yeah, bzr missing looks right.  thanks!15:36
=== kiko-zzz is now known as kiko
jelmerPeng: funnily enough, this bug is fixed in the 0.4 branch15:41
Pengjelmer: Hah.15:42
mw-homeI'm having a hard time understanding branch in bzr vs branching in subversion.  in svn, many branches exist inside the same repo.  in bzr, it seems like each branch is a separate repo.15:44
Pengmw-home: Yeah.15:44
mw-homeso, in bzr, do people merge and destroy branches in the same way?15:44
Pengmw-home: Err.15:45
Pengmw-home: Ok?15:45
Pengmw-home: You can merge between branches (unlike svn, it actually works, but that makes cherrypicking difficult), and you can delete any rbanch you want..15:45
mw-homei think i just need to keep using bzr and over time hopefully it will become intuitive.15:47
Peng:)15:49
PengWell, it's supposed to be intuitive from the start...15:49
PengHave you been reading the docs?15:49
mw-homeyeah, been reading.  i like the different workflows.  very good.15:51
mw-homevery nice pictures too.15:51
awilkinsmw-home: You can branch with a shared repo, consumes less disk space and is a lot faster for big repos16:00
mw-homeawilkins: thanks.16:00
mw-homebzr vimdiff won't play nice with -c 876.16:00
=== thekorn_ is now known as thekorn
=== mw is now known as mw|food
abentleymw-home: Only certain commands support -c, and vimdiff is a plugin that was written long before it.  However, diff --using vimdiff ought to work with -c.18:34
mw-homeabentley: I tried bzr diff --using vimdiff. Got an error: $ bzr diff -c 512 --using vimdiff ../__init__.py19:03
mw-home=== modified file 'bazman/bazman/__init__.py'19:03
mw-homeVim: Warning: Output is not to a terminal19:03
abentleymw-home: Do you have the diffutils plugin installed?19:04
mw-homeabentley: i don't think so.19:05
mw-homediffutils isn't listed on the plugins page.19:05
abentleyAh, it's because I actually use gvimdiff.19:06
mw-homeabentley: you use --using gvimdiff?19:06
abentleyyes.19:06
mw-homeok, --using gvimdiff works fine.  Thanks!19:07
abentleyNo problem.19:07
abentleyI guess interactive console differs don't play nice with --using.  Non-interactive ones like colordiff work fine.19:07
mw-homewhat is colordiff?19:08
mw-homenever mind19:08
=== mw|food is now known as mw
Vantagehi, does bzr support bzr switch for heavyweight checkouts or is it still just for lightweight checkouts?20:19
jsledI'm in a locally-repeatable siutation where `bzr push bzr+ssh:[…]` seems to terminate with return code 0 after a few (~20) seconds on the server, but does nothing on the client for many minutes, when it eventually times out.21:23
jsledThis leave an open lock on the server side, and no actual push being accomplished.21:23
jsledHow to go about debugging?  How to get the '-v' passed to `bzr server` when its invoked on the server side?21:23
james_wjsled: do "bzr -Dhpss push bzr+ssh://" and read ~/.bzr.log afterwards, that may provide some clues21:25
james_walso ssh to the server and read ~/.bzr.log there as well21:25
james_w(by read I mean read the end).21:25
jsledThe server's ~/.bzr.log is where I'm seeing the timing and "return code 0".21:25
james_wah, there's no other message?21:26
jsledThere are some other lines about loading plugins, arguments and encoding.21:26
jsledthey look innocuous, but I can pastebin if you like.21:26
james_wyes please, there might be something.21:27
jsledhttp://pastebin.ca/97741021:27
james_wyeah, that's really helpful isn't it.21:28
james_wdoes -Dhpss on the client tell you anything?21:28
jsledThat's from running it as `bzr -Dhpss push` (with a previously-remembered path); the client side is still sitting there.21:28
james_wah, -Dhpss only affects the client.21:28
jsledNo; no extra detail ("-Dhpss"?   How should I expand/read that?  Is it a acronym or mnemonic or?)21:29
james_wwhat may work is to use BZR_REMOTE_PATH to change the arguments it is invoked with21:29
james_whowever that may just fall over and tell you it can't find "bzr -Dhpss" or something.21:29
jsledIf I do something like `BZR_REMOTE_PATH=/usr/bin/bzr serve -v`, then it ends up running {/usr/bin/bzr serve -v serve --inet […]} on the server, which fails.21:33
jsledEr.  Something like... `BZR_REMOTE_PATH="/usr/bin/bzr serve -v" bzr break-locks`21:33
james_wwhat about "BZR_REMOTE_PATH=/usr/bin/bzr -Dhpss"?21:34
jsled"return code 0" after 18.386 seconds. :(21:35
jsledAnd a client just sittin'.21:35
=== mwhudson_ is now known as mwhudson
* jsled tries BZR_REMOTE_PATH="strace bzr"...21:37
james_w:-)21:41
mwhudsonyikes21:43
jsledThe last things I see are a series (~4) of read(0, "[…]"..., ...) = 16384.  then a "read(0, ", and nothing else.21:45
jsledOn the server side, 0 is stdin (IIRC?)... so it's maybe waiting on reading pushed data from the client side?21:46
james_wyou don't have anything like a ssh proxy in the middle do you?21:46
jsledNot that I'm aware of.  There is a 15-25% packet loss near the server, but a separate interactive SSH to the same box is fine.21:47
jsledI thought it might be the EscapeChar, but I updated ~/.ssh/config for that host without change.21:47
jsledHmm.  When using bzr+ssh over a vpn rather than public internet, it looks like it's working.22:04
Stavroshello22:22
Stavrosi have set up a read-only repo and want other people to send me their patches with bzr send22:22
Stavroswhat is the best way for them to send me them on a per-feature basis?22:23
Stavrosobviously i'd think that one big send with a few commits for various features wouldn't work, since i want to pick and choose, correct?22:23
beunoStavros, that sounds a bit of a workflow problem rather than a setup problem22:24
Stavroshmm22:25
beunohow can you restrict users to specific features?22:25
Stavrosnot users, programmers22:25
Stavrosi want to screen all new features before committing them in the main repo22:25
beunounless, of course, you have a branch per feature, which might be a bit messy depending on what the project looks like22:25
Stavroshmm, yes22:25
beunoStavros, well, you have PQM that might help22:25
beunoand bundlebuggy, which might be a bit too hard to setup22:25
Stavrosit's not a big project, so i want to avoid setting up complicated stuff if i can :/22:26
Stavrosit's really mostly a matter of "how do i get someone to send me three features separately"22:26
beunoStavros, ask them to  :)22:26
beunomake them setup feature branches22:26
Stavrosah, feature branches22:26
beunowork on a feature in each branch22:26
Stavrosand then do "bzr send" from each one?22:26
beunoyeap22:26
Stavrosgood good, that's what i was thinking22:26
beunokeep a main one updated to compare to22:27
Stavrosand how do i commit these patches when i decide to?22:27
Stavrosyes22:27
beunoStavros, bzr merge file.patch22:27
lamalexCan I undo a bzr merge of a patch?22:28
beunolamalex, you can revert to a previous commit with either bzr uncommit, to erase that it ever happened22:28
Stavrosoh, thanks22:28
beunoor you can do bzr revert -r X22:28
beunoto revert to a specific revision22:28
beunoand commit that, which will leave a history of what happened22:29
Stavrosis pqm hard to set up?22:29
beunoStavros, AFAIK, yes  :)22:29
Stavrosah :/22:29
Stavrosis there a working example of it anywhere?22:29
Stavrosor a description of what it is exactly?22:29
beunoStavros, lemme look22:29
Stavrosor both? :P22:29
beunoStavros, all I can fine is: http://bazaar-vcs.org/IanClatworthy/CoreDeveloperHandbook?#an-overview-of-pqm and https://launchpad.net/pqm22:31
lifelessbeuno: pqm is not relevant here22:31
Stavroslifeless: where?22:31
lifelessStavros: I suggest 1 branch per feature; if you have features that depend on each other, use looms22:31
lifelesspqm is for enforcing merge policies22:32
Stavroslifeless: oh, that's what i'll do, i was just asking about pqm out of curiosity... what are looms?22:32
beunolifeless, right, I understood this later on in the conversation22:32
lifelessyou want to screen features yourself, so pqm is unrelated22:32
lifelessStavros: https://launchpad.net/bzr-loom22:32
Stavrosoh hmm, thanks22:33
beunoright, bundlebuggy might be more appropriate for that, but I think it doesn't fall under the "easy to setup" category either22:33
Stavroseh, how hard can it be :P22:33
Stavrosoh22:34
Stavrosquite hard, it seems :p22:34
Stavrosit's ok, i'll do this by hand then, it's just one person anyway22:34
Stavrospqm looks nice for automated testing etc22:35
Stavrosreally handy22:35
lifelessabentley: ping23:03
lifelessabentley: I'm changing knit annotation23:03
abentleylifeless: on a call23:03
lifelessabentley: ok; I'll just dump here and you can comment when you have a chance23:04
lifelessBasically I'm adding a iter_annotations to access annotation across multiple things; this seems in line with other changes23:05
lifelessThe top level questions are: do you think this is a good thing to do, and what should the signature/api be. I think that annotations are more likely to be order-sensitive than regular file texts.23:05
lifelessso I'm planning on iter_annotations(iterable of keys) -> iterable of the annotations in the order of the key iterator23:08
lifelessthe alternative I was considering was23:08
lifelessiter_annotations(iterable of keys) -> iterable of (key,  annotation) in any order - allowing memory/speed tuning within the memory23:08
lifelessa third alternative is to just keep the annotate a single text interface23:09
lifelessopinions solicited23:10
lifelessan orthogonal question is whether each individual annotation should be a list or an iterator23:10
lifelessfor now I'm intending an iterator because annotate_iter seems to be the preferred api23:11
lifelessoh, and I think the final thing is whether to yield None, or to raise RevisionNotPresent for absent keys23:12
lifelessgiven the ability to hand iterators around, I feel like yielding None23:12
abentleyI think None is usually a better answer for bulk operations.23:14
abentleyI don't see a great need for iterating many files at a time.23:14
abentleyOr even many versions of the same file.23:15
lifelessso the easier thing to do then is just to deprecate one of annotate/annotate_iter23:15
lifelesswhich would you rather keep? (I'm asking you because you've used annotate more than anyone I think)23:16
abentleyI think annotate.  Realistically, the first thing I do with annotate_iter is listify it.23:18
lifelessok23:18
lifelessone annotate_iter deprecation coming right up23:18
abentleySince annotate is currently a slow operation, it would be nice to have an interface that provided incremental updates.  But that's something for another time, I expect.23:20
lifelessabentley: done; testing23:33
lifelessabentley: I'm nearly at the end of trimming the api; yay23:33
abentleyCool.23:34
lifeless6 patches sent to BB yesterday I think23:37
abentleyYeah, the pending queue is back up to 3623:41
abentleyAfter we'd gotten it down to 25.23:41
lifelessmark hammonds document is kinda unweildy to review23:44
Stavrosis there a way to get bzr to output the patch file it would send with "bzr send"? (mail client problems)23:49
beunoStavros, bzr send -o file.patch23:49
Stavrosoh, thanks!23:50
Stavrosi can't believe i missed that23:51
lifelessor -o-23:51
Stavrosis that for stdout?23:51
lifelessyes23:55
Stavrosah, thanks23:55
lifelessyou can also use diff -r submit: to see the patch without a bundle at all23:55
Stavroshmm, i have a patchfile but "bzr merge file.patch" won't do anything23:56
Stavroswell, it does say "Nothing to do."23:56
lifelessis it a bundle (was it made with send ?))23:57
Stavrosyes23:57
lifelessthen its probably a branch you've already merged :P23:57
Stavrosoh wait23:58
Stavrosthe mail client prepended spaces to each line :/23:58
Stavrosbut now it tells me "revision 'blah' not present in 'inventory'"23:58

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