/srv/irclogs.ubuntu.com/2008/05/26/#bzr.txt

mwhudsonhello00:01
beunoget_revision_graph was deprecated in 1.4, what would be best the way to do it now?  I'm using get_graph(), but it seems slower00:43
mwhudsonbeuno: how much slower?00:45
mwhudsonbeuno: i'm assuming this is for the history object creation time in loggerhead?00:45
beuno2.8sec vs 2.1sec00:45
beunoyes, in History.from_branch00:46
mwhmm, that's fairly bad00:46
mwhis that on bzr.dev ?00:47
beuno1.5 actually00:48
beunoI should probably switch to bzr.dev, but it should be faster in 1.5 too00:48
mwhi woudn't expect much difference00:51
beunoI may going about it wrong00:52
beunoI doing log._get_mainline_revs, and then graph.iter_ancestry00:53
beunomwhudson, why would loggerhead want each revisions parents to generate it's current history?00:57
beunoah, probably to show "merged from"00:58
mwhudsonbeuno: right00:58
mwhudsonbeuno: "revisions that are in the ancestry of this revid but not this other one"00:59
beunowhat it doesn't seem to do is limit to what i actually will show on screen00:59
beunoand just ask for the whole history00:59
mwhudsonbeuno: mind you, there are much better graph apis for this now, thanks to jam00:59
mwhudsonbeuno: loggerhead caches a whole heap of whole-history information when history objects are created01:00
mwhudsonbeuno: it would certainly be interesting to take an 'outside in' approach01:01
mwhudsonwhere you consider what information each view needs and what facilities now exist to get this without whole history operations01:01
mwhudsoni think computing revnos from revids would still be a sticking point01:02
beunomaybe the revisions that are going to be viewed can be retrieved and cache, if they aren't already01:02
mwhudsonit's not the revisions per se that are interesting01:03
mwhudsonit's the relationships between them01:03
beunohrm, yes01:04
beunoalright, thanks for the brainstorming, I'll start looking for a better alternative to the deprecated method, and try to leave the caching intact for now01:05
beunomwhudson, https://lists.ubuntu.com/archives/bazaar/2008q2/042306.html  seems like a probable improvement01:13
beunobut, using some of these will make loggerhead depend on bzr 1.5 >01:14
mwhudsonbeuno: well, maybe, it's a trade-off between making the history creation a bit slow and having blazing fast revid->revno mappings01:16
mwhudsonbeuno: and having slower page loads01:17
mwhudsonbeuno: a more incremental approach would be nice, and probably possible01:17
mwhudsonprobably need to be careful about memory usage &c though01:17
beunowould you rather I look into memory issues first?   This was deprecated in 1.4, so it should be there for a few more months. I can do a few tests with Genshi01:20
beuno(annotate does have deprecated methods too, btw)01:21
pooliebeuno: hello01:21
beunohey poolie  :)01:21
mwhudsonbeuno: eh, looks like get_revision_graph is gone in bzr.dev already01:26
mwhudsonbeuno: fixing this stuff seems like a good thing to do :)01:27
mwhudsonbeuno: in particular fixing annotate has been on my todo list forever01:27
mwhudsonbeuno: well, for at least 6 months :/01:27
* mwhudson goes for lunch01:28
beunomwhudson, alright, I'll stick with the deprecated methods first01:28
beunobonne appetit01:28
VighHey - anyone here available to help me with a quick problem?01:44
bob2best to just ask01:45
Vighyeah, I just wanted to make sure I wasn't the only one that isn't AFK before I did =P01:46
Vighanyway, I'm pushing a versioned project to a dumb FTP server ("dumb" because it's not running Bazaar)01:46
Vighand I wanted to know if there's a way to remotely update the FTP server's working tree01:46
Vighpushing updates the .bzr directory but not the actual files, and the way that the documentation suggests I do it is by running "bzr update" on the host of the branch, but I can't since the FTP server isn't running Bazaar01:47
bob2well, if you can ssh in, you can bzr co01:47
beunoVigh, do you want to keep the history on the other end, or just want the working tree?01:47
Vighmeh, that's the thing - there's no way I can get Bazaar running on the FTP server01:48
bob2but otherwise, no, unless you upload the checked out files  via ftp too01:48
Vighbeuno: Well, here's what I'm working on. I'm working on a web application with 3 other people, and the web app is being hosted on a webhost which provides FTP access but no SSH access01:49
VighI'm using Bazaar because we need versioning and revision control on the project01:49
beunoVigh, if you just need the working tree, there is an experimental plugin that does that01:49
beunoyou can use a random place to centralize the repo01:49
beunoand upload to the production server with the plugin01:49
beuno(it's main target actually is for web development)01:50
beunohttp://launchpad.net/bzr-upload01:50
beunoit's still in it's initial stages, but it works well enough, we use it at work pretty frequently01:50
VighHmmm....this looks perfect01:50
beuno:)01:50
VighThanks beuno!01:50
beunobugs and patches very welcome, btw01:51
* beuno curses graph.iter_ancestry01:52
VighSo I basically just run Bazaar with this plugin on one of my servers and store the repo there, then anytime one of the four of us pushes a revision to it, it will upload the modified files to the specified FTP server?01:52
beunoVigh, you don't need to run it on the server, just the client01:54
beunobzr upload location01:54
beunoand it uploads, be default, all files changed from the last revision uploaded01:54
VighOh, wow, even simpler than I though01:54
Vigh*thought01:55
beunoyes, that's what we where aiming at  :)01:55
beunomake sure merge eachothers changes before uploading, it will check on the remote server, the last revid uploaded, so you should have that in your repo01:55
VighCan I centralize the project on the FTP server and have it upload the modified files in the working tree on the same FTP host? 'Cause we're each running Bazaar and we have the centralized branch already on the FTP server and it works great, the only problem was that any new revisions only updated the .bzr directory on the FTP server, not the actual files (i.e. the working tree)01:57
beunomwhudson, changed a few things around, got the new API with the same performance as the deprecated one. I'll cleanup a bit, upload, and start working on annotate.  Dinner first though  :)01:57
VighIn other words, can we each just install this plugin and start using bzr upload without changing any configs?01:57
mwhudsonbeuno: excellent01:58
mwhudsoni would subscribe to the branch but there's not much point when the scanner01:58
mwhudson's fubarred01:58
beunoVigh, you can, but it should be to different locations. You don't need anything special to use this plugin, as it basically uploads via ftp/sftp all files changes since the last revid uploaded01:59
beunomwhudson, fubarred?01:59
mwhudsonbeuno: not working02:00
Vighbeuno: I ask because we already have the main project centralized on the FTP site and it works fine, it's just that we had to upload the modified files manually because pushing only modified the remote .bzr directory, not the remote working tree02:00
beunoVigh, yes. I usually upload the branch to a folder outside of apache's reach, so that only devs can see it, and upload files to a a public directory02:02
beunoso I keep the repo and files seperate02:02
Vighbeuno: I'd do that, but out webhost gives us very limited access to the server...no SSH access, and we can only read/write to apache's htdocs directory02:03
bob2put the branch somewhere protected by htaccess02:03
Vighat the moment, we have a /bzr directory on the host that is hidden from public view via .htaccess02:03
beunoVigh, that works too, yes02:04
VighOk, thanks again for the help02:04
beunonp02:04
VighI'll tell ya' if I have any troubles with the plugin =P02:04
beunoVigh, please do  :)02:04
* beuno goes grab some dinner02:06
pooliei'm going to do a patch for russel's nfs bug, should be trivial02:12
* igc lunch03:02
beunomwhudson, pushed the branch with some cleaning done. It now performs as well as the deprecated method does, I'll move on to annotate, and once I clean all deprecated methods, go back and start working on performance04:21
beunoI don't see a cleaner way to get the graph, although it's an improvement to my previous approach. I'll catch jam tomorrow and see if he knows a cleaner/faster way of getting it04:22
mwhudsonbeuno: i'll take a look04:23
mwhudsonbeuno: i think you typoed the branch name (logger*g*ead) :)04:26
beunoargh04:28
mwhudsonbeuno: and left a mystery "OB"04:28
beunoI forget to --remember   :p04:28
mwhudsonbut otherwise it looks good :)04:28
beunomwhudson, re-pushed and cleaned04:29
beunohrm, bzr isn't remembering the location  :/04:30
beunobtw, why is branch scanning disabled?04:31
mwhit's wedged on a large branch :/04:32
beunoah, so it's just delayed04:33
mwhyeah, it'll get unstuck at some point04:33
poolieigc, hm i'm trying to work out how to reply to http://bazaar-vcs.org/AlexanderBelchenko04:41
bob2does pqm run the tests on windows?04:45
=== samurai is now known as samiam
mwhbeuno: i can confirm that your branch has basically identical performance to what's in trunk now04:56
beunomwh, cool. One less, 2 to go04:57
mwhwhich are ... ?04:57
beunoperformance-wise, the main problems I saw, not having gone too deep, was annotate and diff04:57
beunomwh, annotate_iter is what I'm working on now04:58
mwhok, yes04:58
beunoand there is one more which I don't have handy, but it may be the same04:58
beuno(used somewhere else)04:58
beunoI've been thinking we may want to try caching the diff's as static HTML, even if we get a good enough improvement with a different templating engine04:59
beunoit will make diff views *very* cheap once they're generated05:00
mwhthere used to be something a bit similar done05:01
beunoaha, and it was removed because...?05:01
mwhbut they weren't cached as html, so you still had to pay the rendering cost05:01
mwhbeuno: used heaps of diskspace and didn't benefit much05:02
beunowell, the disk space will probably still stand, but we should render it once, and never again05:03
beunoCPU and RAM will be very happy05:03
beunoso make 2 people happy and one sad, 50% win!05:03
beunomwh, maybe we can try just storing the diff bit of the HTML, and generate the rest. That way we may save some space, and leave the rest as-is05:10
mwhbeuno: it makes some sense05:11
lifelessI have three thoughts05:14
lifelessone, I'm wasted, having travelled etc.05:14
mwhudsonhi lifeless05:14
lifelesstwo, why would loggerhead benefit from such a diff cache and not bzr core05:15
lifelessthree, why not analyse logs that we have today to gather data on whether repeated diffs happen/sizeof cache needed etc05:16
beunolifeless, hi05:16
lifelessin bzr we have found that caches need to be examined with great care to avoid $various issues05:17
lifelesshi :)05:17
beunolifeless, I may be wrong, but the diff between two specific revisions will never change, so, if we handle that carefully enough, we should be able have a plain text (html) cache of it05:18
beunoso if I have something like revid1_revid2_diff.cache05:19
beunoI can look for those first, and fall back to generating it if it's not there05:19
beunoof course, it may not be the case for many other parts of bzr, but diff and annotate I think should be possible, and extremely cheap to serve once generated05:20
beunoanalysing logs on where the current memory hog is, of course, would be of great help, but out of my hands05:21
lifelesssure; I can see that. Of course it raises the cost of generating it on MISS, and adds a requirement to manage that cache05:22
lifelessyou could also just whack a http proxy in front of loggerhead to cache specific urls05:23
lifelessanyhow, not saying its a bad idea, saying analyse!05:23
lifelessalso, I didn't say analyse logs for memory, I was saying analyse logs to see what benefit a diff cache would have05:23
lifelessif any diff gets hit only once, what benefit a cache?05:24
beunoright, if the current problem is diffs in different repos, than it won't help very much05:24
beunothe http proxy may work well-ish for LP, but doesn't seem like a good implementation for Loggerhead itself, as it would force an extra setup step for people05:25
beunoso, I agree. mwhudson, will you be able to spare some time to take a look at that?  Or is there any way I can help?05:26
lifeless[lemma - standard rule in performance tuning is be sure you have identified the problem]05:28
mwhudsoni'm working, slowly, with the sysadmins to get some decent log analysis05:28
lifelessa cache is a good answer for 'we repeat [making diffs] a lot and its the effort of repeating ourselve makes us slow]05:29
lifelesss/]$/'$05:29
mwhudsonmy limited intuition is that slapping squid in front would have a good bang/buck ratio when it comes to dealing with the problems launchpad had last week05:30
lifelessif the problem is 'making diffs is slow' adding a cache only helps to the proportion of diffs avoided05:30
beunoyes, since I don't have any performance information, yet, I went down the cache path, as it helps scale, and, worse case scenario, it's as expensive as it currently is05:30
beunomwhudson, squid will help, until we change the URLs to revnos  :)05:32
lifelessthere is a fallacy there; the worst case of a cache is not the same05:32
lifelessif you are IO bound05:32
lifelessloading dentries is not free05:32
lifelessanyhow, I'm not against a cache per se; I just want you guys to be sure.05:33
beunoyes, sane advice, thanks05:34
beunowe also need to think on other use cases, outside LP05:34
beunowhere I do think it's more probable to hit the same diff several times05:34
beunobut some performance analysis should absolutely be done, on how expensive adding a cache is05:35
lifelessa cache costs you code; it costs you a cache dir to maintain (and filesystems can have surprisingly pathological behaviour)05:36
lifelessit adds background tasks05:36
lifelessthere is also the question of where the cost is05:37
lifelessgetting two texts and diffing in bzr should be very cheap05:37
lifelessis it rendering, or blaming05:37
lifelesscould we render on the client05:37
lifelessor not blame by default05:37
lifelessif its bzr diff performance that is the issue should the cache be in bzr05:39
lifelessanother concern on caches is that they can mask actual problems05:40
lifelessby making 'op' seem cheap when its not, and this can lead to suprising results when later performance tuning. See for instance 'kndx' files.05:40
lifelesswe're still dealing with the fallout of making all operations access all history - much code started to depend on that, even when we were usually careful05:41
* igc pick up kids05:41
lifelessdo you juggle?05:42
mwhudson_well, loggerhead also suffers from the 'needs to access all history' problem05:43
lifelessI'm going to halt() for a bit; utterly stuffed and not really coherent05:45
beunolifeless, your input is very much appreciated  :)05:46
beunohow was UDS, btw?05:46
lifelessmost excellent05:47
beunochech beer?05:47
jamesh"czech"05:47
=== c1|freaky_ is now known as c1|freaky
DanielEadsThis is probably a stupid question, but I googled around for 20 minutes and couldn't find it....    How do you install someone's branch onto your system with bzr?05:49
lifelesstchau for now05:50
beunoDanielEads, you can get a copy of it with:  bzr branch remote_location05:50
DanielEadsbeuno:  Thank you  :)06:01
beunomwhudson_, do you know of any way of forcing the annotate cache to re-generate, apart from cleaning the sqlite DB manually?06:19
beunoI replaced the deprecated method, but I want to do some performance comparisons before pushing06:19
mwhudson_beuno: er06:20
mwhudson_beuno: the annotate cache is/was a bzr thing06:20
mwhudson_beuno: to do timings without loggerhead's revision cache, you can comment out the cache_path in the config file06:21
beunomwhudson_, that's what I was looking for, thanks06:21
=== ^Gonzo^ is now known as [PUPPETS]Gonzo
beunoyay!  new method is 4x faster06:23
mwhudson__beuno: :)06:32
beunomwhudson__, it seems applying the template to big files like NEWS is almost as expensive as generating the annotation itself...  changing the templating engine makes more and more sense06:42
mwhudson__beuno: you noticed :)06:43
mwhudson__though to be fair, it's not all the rendering engine's fault06:43
mwhudson__there's a lot of time spent inside the loop that's the core of annotate.kid06:45
beunomwhudson__, pushed the code for annotate. That's the last of deprecated methods I could find06:47
beunoit gets better performance in some cases, and the same in other (larger, more complex files)06:48
beunowon't make a difference, but it won't get deprecated either  :)06:48
beunoalmost 3am here, so I'm about to call it a day.  If you can't think of anything more important, my next step would be experimenting with different templating engines06:50
beunoand possibly evaluating how some of the caches are used, it seems there's room for improvement in some cases06:50
mwhudson__beuno: it's the end of my work day too, so thanks and i'll get back to you tomorrow06:52
beunomwhudson__, thanks, cya tomorrow06:53
beunoI'm off, have a good day everyone  :)07:01
=== AnMaster_ is now known as AnMaster
* igc dinner09:13
=== [CroX] is now known as CroX
=== Ng_ is now known as Ng
=== yacc__ is now known as yacc
tcaHave anyone here managed to use http://cia.vc and bzr together? I'm trying the cia client http://cia.vc/clients/bzr/cia_bzr.py, but see no message or warning, and nothing happens at cia.vc and the irc robot is silent.12:37
jameshtca: that plugin looks like it is using the old hook registration method so if you haven't updated your ~/.bazaar/locations.conf file, as the comment at the top says, it won't do anything12:40
jameshtca: https://launchpad.net/bzr-cia/ is probably more promising12:41
tcaI did modiy locations.conf. I'll try the client on launchpad now.12:43
tcaThis works. Thank you. I will notify them about this client.12:52
PieterIf I uncommit a large number of revisions, how can I get the space occupied by those revisions back?13:24
jelmertca: It's actually the same client, just that the CIA folks haven't responded my requests to update the one on their site13:26
=== mw|out is now known as mw
=== kiko_ is now known as kiko
jelmerPieter: a copy of the branch will not contain those revisions14:44
beunowhat does bzr commit --fixes actually do?15:27
gouradds some metadata for the bug-tracker?15:28
JemsquashCan someone help me getting bzr visualise to work on windows Vista? I've tried various installs and can't seem to get bzr to recognise that its installed. I've tried the pygtk windows installer and a cygwin installation but no luck.15:44
JemsquashAccording to the instructions I need to install olive using python olive-gtk. It gives an error that pygtk2 is not installed.15:46
JemsquashI can see the following apps installed in the Control Panel: Python 2.5 pycairo-1.2.6, Python 2.5 pygobject-2.12.3, Python 2.5 pygtk-2.10.1, Python 2.5.215:48
JemsquashOtherwise is there some other way to get a graphical representation of branches in a bzr repository?15:52
jelmerit may be easier to get qbzr to work on windows15:53
Jemsquashyeah I've got it working but it does not show a nice graph of the branches AFAIK.15:54
Jemsquashqbzr is quite helpfull but I'd prefer to use a pretty picture to show me what's merged where. I'm a bit of a simpleton at times :)15:57
beunojam, could you pass a merge request I just sent, through the filter?  It's 1.7mb  :)15:59
beuno(and if you have time at some point, I have a question on what the best way to get a repos's graph is)16:00
Jemsquashem, I lost you there. Through the filter?16:01
beunoJemsquash, that would be for jam  :)16:01
Peng1.7 MB?! What'd you do, rewrite bzr in Ruby?16:10
beunoPeng, LOL16:11
beunoit may be that or it may be the images for the spanish docs. Nobody will know until it goes through the filter  :)16:12
PengThat's way less interesting. :P16:16
beunowell, it could still be the ruby thing16:17
fullermdWell, maybe it's a rewrite in perl, that just LOOKS like the images for the spanish docs.16:17
beunoand with tests!  :)16:18
fullermdEverybody's all about the code being the documentation, after all...16:18
beunothat should confuse the reviewers enough16:18
jambeuno: for this one, could you push a branch to LP and just submit a plain diff? I'd rather not push 2MB to everyone on bazaar@16:41
jamI can if it is hard for you16:41
PengIt's possible to do a merge directive without a diff or bundle, right?16:41
jambeuno: btw, how do you get 2MB from editing source files?16:41
jamPeng: 'bzr send --no-bundle'16:41
jamthat sort of thing16:41
jambut you need a proper public location16:41
jambeuno: well, editing documentation, but that's still a lot of changes16:42
Pengjam: Not if it's images.16:42
beunojam, I can, but it will take a while, as I have to upload a new bzr branch to LP16:42
jamPeng: if it was bitmaps16:42
jamWhich is something we wouldn't really want to merge16:43
VighHola - beuno, you here?16:43
PengThe en quick-start-summary.* is 1 MB.16:43
PengMaybe compressing and base64ing it blew it up.16:43
jamcould be16:44
Peng1.1 MB. base64 could do that.16:44
beunoVigh, yeap yeap16:44
jamI'll let it through, I guess16:44
PengReally?16:44
beunoit's the workflow png/svg's16:44
beunojam, I *can* upload the branch, I don't want to annoy everyone  :)16:45
jambeuno: though technically, it is my day off :)16:45
jamalready sent, and I'm afk16:45
beunojam, aaaah, I did not know that, have a good holiday16:45
Vighbeuno: I just installed bzr-upload and it's _almost_ working...the initial full upload fine16:45
beunoand thanks16:45
beunoVigh, almost working is pretty good for a pre-alpha  :p16:45
Vighbut after making a new commit and trying to upload, I'm getting this error:16:45
VighFile "C:\Python25\Lib\site-packages\bzrlib\plugins\upload\__init__.py", line 98, in run16:46
Vigh    display_url = urlutils.unescape_for_display(stored_loc,16:46
VighNameError: global name 'urlutils' is not defined16:46
beunoVigh, htm, let me check16:46
beunoyou have the latest version?16:46
VighYup, just pulled this morning16:46
VighThat's the only place in the script that urlutils is actually used, so I'm tempted just to leave out the unescaping16:48
beunohrm, all tests pass16:48
Vighthe test_upload.py runs fine for me, too >.<16:49
beunoVigh, uploading a fix now, try pulling and re-uploading16:50
VighI just fixed it myself too =P16:50
VighI realized that urlutils was never actually being imported16:51
beunoyes, that would be it  :)16:51
VighAnyway, it's working wonderfully now16:51
beunocan you see if trunk fixed it properly too?  just so I can be sure16:51
Vighsure, hold on16:51
VighYup, works with the newest version16:52
VighThanks =)16:52
beunoVigh, thank you  :)16:52
* beuno adds comment to add a test for those lines16:53
beunovila, ^^  :)16:53
jamVigh: just add a "from bzrlib import urlutils at the top17:06
Vighjam: yeah, I know =)17:10
=== kiko is now known as kiko-fud
Pieterif I have a shared bzr rpo, can I just delete one of the working dirs and then get it back later?17:48
paskyHi, what are the most popular tools for history visualization in bzr? The dot-based tool in BzrTools, or something else?17:50
radixPieter: technically, all of the revisions are stored in the repository, so all the data is still. however, I don't know of any easy way to get it back out17:50
radixPieter: however, if the branch you have deleted has already been merged into another branch, then it's possible and easy to reproduce the merged/deleted branch17:50
jelmerPieter: it should be possible to delete the working tree files but leave the pointer to the revision in17:50
PieterI just think the one repo / dir thing is totally whack17:50
Pietercoming from git / hg :)17:50
radixPieter: oh, I assume you mean one of the branches, not just the working tree files17:51
jelmerPieter: the "bzr remove-tree" command will do that - you can later create it again using "bzr checkout"17:51
Pieterit'll just leave an empty dir?17:51
radixPieter: when you say "delete one of the working dirs" what exactly do you mean, please?17:51
PieterI want to get rid of the files, but keep the branch in the repo17:51
jelmerPieter: yes, an empty dir with just a .bzr directory with a couple of files in it17:51
Pieterthat also works in a shared repo?17:52
jelmerPieter: Pieter yes17:52
jelmerwhoops, one tab too much :-)17:52
Pieterok :) and if I want to delete the whole branch, and then remove any data added by that branch, in order to decrease repo size?17:52
gourPieter: what did you bring from git/hg ?17:53
PengPieter: There's no easy way to do that.17:53
jelmerPieter: repository's are append-only17:53
Pietergour: you mean, which projects?17:53
Pengjelmer: So are hg's, but mq has a "strip" command.17:54
paskyBy the way, is there any nice paper describing bzr's on-disk data structures etc?17:54
gourwhat will rm branch-dir-folder do?17:54
paskyor do I have to defer to the source code?17:54
jelmerPeng: what does that do, simply create the repository again but only with the data it actually needs?17:54
Pengpasky: Perhaps doc/developers/packrepo.txt?17:54
gourPieter: i was/am thinking you are migrating from other VCSs to bzr17:54
Pengjelmer: I dunno. I've always figured it edits the revlogs in some hacky and unreliable way. :P17:55
Pietergour: I have my own projects that mostly I am working on (in git). Someone else wants to help me out, but he prefers bzr, so I was looking if it would be good to convert it :)17:55
Pengpasky: Oh, that file doesn't have very many details.17:55
gourPieter: ahh, cool17:56
Pietergour: I just prefer git's inline branches somewhat17:57
Pieterif I have multiple git branches, do I have to supply multiple branch url's for someone to get all of them?17:57
Pieterwhen I convert them to bzr, that is17:57
* gour also wonders about bzr's best-practices when rm-ing e.g. 'feature' or 'fix' branches which are very cheap in darcs17:57
paskyPeng: *nod* :( I'm looking for something like the Mercurial OLS paper or Linus-njs dialog about git packs17:58
paskyon the other hand, there's more in there than I thought at first glance... I'll read it carefully17:59
paskyPossibly my question was lost in the other conversation, so I'll try again ;-) - what are the most popular tools for history visualization in bzr, please? The dot-based tool in BzrTools, or something else?18:10
Pieteryou're looking for something like gitk?18:11
datopasky: I think `bzr viz`, from bzr-gtk, is commonly used too18:11
PieterHow can I remove a single revision from my history (not the last revision)18:12
gourheh, cherrypicking18:13
gouruncommit -r rev18:14
lukssimple answer: you can't. otherwise you can make a new branch that ends on the revision you want to remove, and use bzr replay for the rest of the branch18:14
Pieteris replay a plugin?18:15
luksit's in the rebase plugin18:15
luksbut naturally it won't be the same branch anymore18:15
luksso merge, pull etc. from the original branch will be broken18:15
Pieteryeah, I know the risks :)18:15
paskydato: thanks - is that http://samba.org/~jelmer/bzr/bzrk.png or smt lelsE?18:32
datopasky: precisely that18:34
=== dpm_ is now known as dpm
paskydato: thanks!18:53
=== kiko-fud is now known as kiko
=== mw is now known as mw|food
RhamphoryncusWeee.. recovering a hosed repository definitely puts me in a better mood19:52
Pieterhow did your repo get hosed?19:53
Rhamphoryncushttps://bugs.launchpad.net/bzr/+bug/15043819:53
ubottuLaunchpad bug 150438 in bzr "AssertionError: Could not find target parent in wt in wt4 _process_entry" [High,Confirmed]19:53
Rhamphoryncushttps://bugs.launchpad.net/bzr/+bug/150438/comments/919:53
* Rhamphoryncus wonders if bzr will grow a "Directory not found: Fake it?" prompt ;)19:55
=== kiko is now known as kiko-afk
tca /join #commits20:39
=== mw|food is now known as mw
libwilliamA couple questions I hope someone can help me with. 1) Is there a function that returns the list of files applicable to be removed? 2) I am looking at messing with 'list_files' but by its description it makes me believe it will just list the files to stdout as opposed to 'unknown' and 'versioned' which returns the list of files.21:07
libwilliamIdeally I would like a list of just the versioned files.21:08
Odd_Blokelibwilliam: Could you reiterate (1)?  I don't quite understand what you're looking for.21:08
libwilliamok, let me rephrase21:08
libwilliamI have a GUI that will have a tree view with the list of files under version control21:08
libwilliamthe user will select which files they would like to remove21:09
libwilliamso I just need a list of files that are currently versioned21:09
libwilliamnot sure if that help clears things up any21:09
fullermdWell, `bzr ls --versioned` can do it, so you could see what that's calling behind the curtain.21:10
pfharlockbzr status?21:10
libwilliambzr status lists lots of different categories. I was looking for just versioned, I will check out the source for ls --versioned and see if I can figure out what is going on21:11
pfharlockahh, I see21:12
pfharlockhey, I have a silly question, if there are any vim users in here, I've not had much luck with bzr diff --using="vim -d" foo.file.  It works fine with gvim, but I don't always have the option of using Xwindows.  Does anyone else use vim as their diffing tool and has a solution to this problem?21:14
pfharlockalso it tends to completely foobar whatever terminal I'm using at the time to the point where it just has to be closed, which seems odd.21:16
tcaHave anyone seen this problem before: https://bugs.launchpad.net/bzr/+bug/235055 ? It looks like there is a problem with the very first revision created by baz_import (I think that was the script used to import to bzr)21:18
ubottutca: Error: Could not parse data returned by Launchpad: The read operation timed out21:18
tcaubottu: just retry the link. launchpad is a little slow now, but it is not down...21:22
ubottutca: Error: I am only a bot, please don't think I'm intelligent :)21:22
Odd_BlokeHmm, ubottu probably shouldn't direct the timeout comment to the user that pasted the bug number.21:24
Odd_Blokejames_w: o/21:24
james_whi Odd_Bloke21:25
=== mario_ is now known as pygi
=== mwhudson is now known as mwh
=== mwhudson_ is now known as mwhudson
awilkinsIs the Windows/Python installer not supported anymore?21:52
Odd_Blokeawilkins: I think it is.21:54
Odd_BlokeWhy do you ask?21:54
awilkinsJust not made an appearance in 1.5 flavour yet :-)21:54
Odd_BlokeIt's always lagged somewhat, and bialix is taking a break from Bazaar development ATM.21:55
Odd_BlokeSo he's still doing the installers, but looking for someone to take over.21:55
awilkinsIt can't be a hard build, can it?22:01
awilkinsAre the sources for the packages available?22:01
* awilkins finds the Win32ReleaseChecklist page22:03
awilkinsErm, what if the 1.5 sources won't build (the docs, in this case) ?22:18
awilkinsHeh, ignore me, turns out the HEAD version of docutils has a bug up it's ass22:20
awilkinsI don't suppose anyone would be inclined to trust me to proffer an upload of 1.5 installers for Win32 py2.5 and py2.4 ?22:34
awilkinsHmm.22:37
awilkinsDo the team have a policy of zero fails in the test suite or are a certain percentage of fails expected?22:44
lifelessawilkins: drive by comment - alexander had terrible trouble keeping win32 failures at zero; I know this frustrated him, so my guess is that 0 failures on win32 is not currently realistic.22:59
* lifeless waves and heads off22:59
awilkinsAh well... not strictly relevent since I'm just running the testsuite on my shiny new 1.5 build23:00
awilkinsI can't fix it, it's "released" code23:00
antoranzHi guys!23:26
antoranzremember me? new lines on windows? :-D23:26
antoranzI thought of a "cleaner" way to knwo what files to process, instead of having them in a file23:26
antoranzHow about using bzr's api to know which files have been aded/modified?23:27
james_wit's not about knowing what was added/modified, but what rules to apply to those files23:32
james_wgot to go, sorry.23:34
antoranzshow_tree_status?23:43
antoranzHell! I'm importing bzrlib.workingtree23:57
antoranzbut python says WorkingTree is not defined23:57
antoranzbut it's right there23:57
antoranzin /usr/lib/pycnetral/blahblah/bzrlib/workingtree.py23:58
spivantoranz: can you pastebin the exact error?23:58
antoranzsure23:59

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