/srv/irclogs.ubuntu.com/2009/06/18/#bzr.txt

pooliegood morning spiv, igc, lifeless00:11
pooliejam, are you still around?00:11
* Peng_ goes insane.00:14
mwhudsonPeng_: goes?00:17
Peng_mwhudson: Good point. But now I'm even less sane!00:22
dashisn't sanity just a one-trick pony anyway00:23
Peng_Loggerhead is refusing to serve one branch over http. :\00:23
Peng_Which is kind of annoying when I wanted to use that branch to *test* serving over HTTP. :P00:24
Laneydid bzr push --fixes disappear?00:24
pooliefullermd: what do you mean by "inability to upgrade from dev formats"?00:24
spivGood morning.00:25
Peng_Laney: --fixes is an option on commit, not push.00:25
LaneyPeng_: oh right, tahnks00:25
Laneythanks00:25
fullermdpoolie: % bzr init --development6-rich-root x ; bzr upgrade --development7-rich-root x00:32
fullermdFor any permutation of dev6, dev7, 2a in the init/upgrade.00:32
fullermdbzr: ERROR: Cannot convert to format <RepositoryFormatCHK2>.  Does not support nested trees00:32
fullermdI don't know of a filed bug on it.  It's come up here and on the ML a few times; I was under the impression that somebody was working on it.00:34
fullermdjelmer, maybe.00:34
pooliecould you search or file one please?00:35
mwhudsonpoolie, fullermd: i think that bug is fixed in bzr.dev, from things i overheard00:36
fullermdWell, the error I just posted is from trying it on my up-to-date bzr.dev...00:36
fullermd(well, OK, I'm missing jam's win32 packaging fix, but I'm guessing that doesn't solve it ;)00:37
pooliethe upgrade bug?00:37
Peng_mwhudson: ping00:37
mwhudsonPeng_: hi00:37
Peng_mwhudson: Is it just me, or is Loggerhead serving .bzr over HTTP broken?00:37
mwhudsonPeng_: no idea00:37
* mwhudson tries 00:38
Peng_bzr+http works (I just landed that), but regular old nosmart+http does not.00:38
fullermdWell, nothing in my =bazaar-bugs is jumping out at me, so I guess there isn't one filed...00:38
mwhudsonPeng_: jelmer said something about the smart server support only working for standalone repositories, i think?00:39
mwhudsonstandalone branches, sigh00:39
Peng_mwhudson: Yeah, thanks to bug #348308, but my issue is HTTP.00:39
ubottuLaunchpad bug 348308 in bzr "Smart server jail breaks bzr+http with shared repos" [High,Triaged] https://launchpad.net/bugs/34830800:39
Peng_It should be possible for Loggerhead to monkeypatch around that bug, but it's probably a bad idea.00:40
mwhudsonPeng_: yes, seems .bzr requests are 404ing00:40
Peng_mwhudson: Thanks for confirming it.00:40
mwhudsonyou know what would make loggerhead better?00:41
mwhudsontests00:41
Peng_I manually test several different things, but I never run the test suite. :P00:42
mwhudsonPeng_:00:43
mwhudsonInvalid url supplied to transport: "readonly+file:///home/mwh/canonical/repos/loggerhead/": local urls must start with file:///00:43
mwhudsonlalala00:43
Peng_I was just going to say: NotBranchError: Not a branch: "readonly+file:///trunk/.bzr/branch-format/".00:43
=== afk is now known as mthaddon
fullermdIt's also kinda annoying how upgrade moves everything into backup locations BEFORE blowing up in that case...00:44
fullermdbug 38872700:45
ubottuLaunchpad bug 388727 in bzr "upgrade fails between dev formats" [High,Confirmed] https://launchpad.net/bugs/38872700:45
Peng_mwhudson: Looks like both get_local_path and check_is_a_branch fail, in different ways. I'll file a bug.00:46
=== afk is now known as mthaddon
igc1morning00:53
=== igc1 is now known as igc
pooliehello igc00:54
igcmorning poolie00:54
* Peng_ goes /away to eat.00:55
garyvdmHi poolie.01:08
garyvdmpoolie: create_by_apply_delta is only available in CHKInventory01:08
jelmergaryvdm: You can also use Repository.add_inventory_by_delta()01:09
jelmergaryvdm: which works on all repositories01:10
* garyvdm look01:10
garyvdmHi jelmer01:10
jelmerhi Gary01:10
jelmerI ran into the same problem trying to find what function to use for bzr-svn/bzr-git01:10
garyvdmjelmer: I want to create a in memory inventory.01:11
garyvdmjelmer: won't Repository.add_inventory_by_delta add an inventory to the repository?01:12
jelmergaryvdm: yeah, it'll write out to disk01:12
garyvdmi.e. write it to disk?01:12
jelmergaryvdm: You can steal some of its logic though01:12
jelmergaryvdm: which it uses to apply deltas to non-CHKInventory's01:12
* garyvdm looks :-)01:13
garyvdmThere's Inventory.apply_delta - I need to test if that just changes the inventory in memory, or to disk.01:16
jelmergaryvdm: it changes in memory01:16
garyvdmjelmer: even WorkingTree.inventory?01:17
jelmergaryvdm: yeah, but you'd probably don't want to change that directly since WorkingTree would just return its own copy01:17
jelmergaryvdm: WorkingTree.inventory.apply_delta() will not directly write out to disk, but will probably cause strnage behaviour01:18
garyvdmjelmer: is there a way to create my own copy of the inventory?01:18
jelmergaryvdm: you can make an in-memory copy of WorkingTree.inventory though, and apply the delta to that01:18
lifelessgaryvdm: in general no.01:18
lifelessgaryvdm: you shouldn't be working with Inventory01:18
lifelesss/working with/mutating or modifying/01:19
garyvdmlifeless: Hi01:19
lifelessthe only objects that should modify inventories are implementations of Repository or Tree01:19
Peng_...I just pulled down 1 revision of bzr.dev. It took 100 seconds, nearly all of which was bzr-search indexing. o_O01:19
garyvdmlifeless: even a in-memory copy?01:19
Peng_Sorry, _two_ revisions of bzr.dev.01:19
lifelessgaryvdm: an in memory copy of a working tree inventory is shared with the tree and will be saved when write lock is released01:20
lifelessgaryvdm: it is the trees /internal/ state01:20
lifelessgaryvdm: so no, you should *never* modify an inventory unless your code is part of the implementationof the appropriate Tree or Repository subclasss.01:20
Peng_...Wait a minute, why did Loggerhead work? Shouldn't the ProgressBarStack thing have broken it?01:21
garyvdmlifeless: Is there not a way to create a copy that does not affect the internal state?01:21
lifelessgaryvdm: there is but its slow and expensive01:22
lifelessgaryvdm: and as previously noted Inventory can't represent the concepts you want like unversioned or ignored files.01:23
garyvdmlifeless: ok.01:23
garyvdmlifeless: btw - I was wrong about iter_changes returning ignored files. It does.01:23
lifeless:)01:24
garyvdmThat makes things easier for me :-)01:24
lifelessjml: perhaps this channel works for you?...01:27
garyvdmlifeless: would it be safe to set a new instance var on a inventory item? e.g. tree.inventory[fileid].status = "modified"01:27
lifelessthey use slots; it won't work.01:29
garyvdmok01:29
lifelessjelmer: what does alioth need01:33
lifelessjelmer: in more precise terms than 'another config file'01:33
pooliejml, as you probably saw, there are some new bugs targeted to 1.1601:38
Peng_Pulling another revision of bzr.dev took 45 seconds. Again, almost all bzr-search. :\01:47
Peng_Are bzr.dev's search indices supposed to be 61 MB?01:48
dashindexing is hard01:48
Peng_18 MB is just from the last 2 days.01:49
Peng_lifeless: ping ^01:49
lifelessPeng_: yes01:50
lifelessPeng_: can it be shrunk? yes. There are several things that can be done. The index contents can be revisited now we have faster facilities for 'what path is this fileid.revisionid at'.01:51
lifelessWe got to bit indices rather than int indices01:51
lifelesswe can filter extremely common terms[though this is not necessarily a win]01:51
Peng_I don't really mind the index size. What I mind is that 1/3 of it is from the last 2 days, and indexing during pull is taking 40-45 seconds per revision of bzr.dev.01:52
Peng_Maybe it autopacked?01:52
lifelessPeng_: so it autopacks01:52
lifelessI really doubt that 1/3 is new from 2 days of changes01:53
lifelessfurther, indexing requires extracting much data and we're not in bbc yet.01:53
Peng_Yeah, you're right. I just checked the obsolete directory. ~4.3 MB from the last week.01:53
Peng_No crisis, then, I guess. :)01:54
* Peng_ /away!01:56
thumperdo we have a way yet to say "Don't stack" even if the remote server suggests a branch to stack on?02:04
lifelessno02:04
thumperarse02:04
lifelessnot exactly a common use casse02:05
lifelessif the server is misconfigured, fix it :)02:05
thumperthe server isn't misconfigured02:05
thumpersometimes we want to say this02:05
lifelesssure; like I said its not _common_.02:05
jelmerlifeless: somethin that can run as a system service basically02:10
lifelessjelmer: BZR_HOME=/etc/bazaar02:10
jelmerlifeless: something sustainable, not a quick hack02:11
lifelessjelmer: that is sustainable02:11
jelmerlifeless: at the very least it would be nice if that was more easily accessible, e.g. serve-branches --config=foo would do BZR_HOME=foo under the covers02:13
lifelessjelmer: that would be problematic for me02:13
lifelessbecause it makes BZR_HOME=foo server-branches --config=foo less clear02:13
jelmerlifeless: also, it's a bit redundant to have every variable in a configuration file prefixed with "http_"02:14
lifelessjelmer: that seems unnecessary and likely inaccurate - public_url's etc should be from the stock bzr information02:16
jelmerlifeless: loggerhead prefixes all its variables with http_ in ~/.bazaar/bazaar.conf at the moment02:17
jelmerlifeless: this specifically is about those variables, not about whatever would usually live in .bzr/branch/branch.conf02:19
lifelessjelmer: well, up to beuno etc. I don't think a specific config file is a good idea though.02:20
lifelessBecause using the stock stuff lets you use locations.conf to configure different loggerhead servers02:20
lifelessand if a global config is needed, well there is a bug open on bzr to support /etc configuration already.02:20
jelmerlifeless: I don't see how locations.conf is related here, this isn't about branch-specific settings02:20
lifelessI definitely think BZR_HOME will work reliably for alioth02:21
jmlpoolie, yeah, I haven't had a chance to look at them yet today, but I will02:23
lifelessjml: testresources: review requested.02:24
jmlpoolie, I haven't had a chance to do anything other than _react_02:24
jmllifeless, yeah, I saw the email and flagged it for answer.02:24
jmlwith luck & a spare energon cube I'll get it done tonight.02:24
poolieall jml, you don't need to look at them now, just making you aware02:26
jmlpoolie, cool :)02:27
jelmerlifeless: alioth wants a backport package with init script etc they can use, but I'd like to see loggerhead settle on something first so I don't have to worry about providing an upgrade path in two months02:27
AfCI see a lot of conversations in Git projects (cairo being the present instance) saying things like "rebase your work to current master" as a long lived branch gets closer to being considered for acceptance into the project.02:27
AfCIsn't that just "hey, merge current 'mainline' into your branch, please"? Followed by healthy use of things like `bzr diff -r ancestor:....../mainline` ?02:28
lifelessjelmer: I don't see why BZR_HOME would stop working.02:29
lifelessAfC: in bzr we would just merge yes. because that preserves prior testing etc.02:29
AfClifeless: (not to mention not creating new revisions that say exactly the same thing). Ok, that's what I thought.02:30
lifelessAfC: rebasing deletes test results :). If it wasn't long lived, and would just a short lived private branch rebase would matter a lot less.02:30
AfClifeless: is it because of their "I want to see individual patches building towards a result which are the only thing I'm [to be] looking at" culture?02:31
lifelessyes02:31
AfChm02:31
lifelesswhich is the history presentation aspect of the RFC I put together02:31
lifelessand it *is* easier to review a series of small patches than a single monolith02:32
AfCSo, while I'm over that, I do wonder what on earth we can do to make Bazaar acceptable to that desired workflow [without needing rebase]02:32
AfClifeless: granted02:32
lifelesslooms02:32
AfChm. Yeah, I guess02:32
lifelessthats what they are designed for02:32
AfCah02:32
lifelessimplementation bugs and polish aside02:32
lifelessI do think we need rebase as a core polished utility02:33
lifelessbut we need to have versioned versions of the same tools for when people are collaborating02:33
AfClifeless: so taking a slightly different gloss on this, if individual patch or revision {1,more} cherry picking worked in some way that explicitly and strongly said "this «new» revision came from and essentially is _that_ revision"02:34
AfClifeless: then rebasing (hypothetically using that) would be a lot less evil to us.02:34
AfCs/us/our viewpoint/02:34
AfC[right?]02:34
AfCI realize that "what tree state did you test" is very important... but if we can have a dotted line between "what I'm merging" and "what actually was tested by its author" maybe things would be ok02:36
AfCdunno02:36
lifelessAfC: I think such cherrypicking would be necessary but not sufficient02:36
lifelessmerge is the key02:36
AfC[I do know that I don't think I'm going to be able to work on any Git based projects ... the DVCS culture I've been taught here is too different from what goes on there]02:36
AfClifeless: (well, cherrypick as in `bzr merge ../other_branch/.../filename`02:37
AfCcherrypick is another brutal overload around here02:37
lifelessAfC: merging *after* the cherrypick for people that had merged the original revision02:37
AfCup there with history editing ^W commit message fixing02:37
jelmerlifeless: If loggerhead started reading settings from some other file, I wouldn't necessarily expect it to also check http_* in BZR_HOME/bazaar.conf02:37
lifelessmwhudson: ^ can you reassure jelmer02:37
AfClifeless: yeah, after02:37
AfClifeless: that really is the key, isn't it02:38
lifelessits easy to cherrypick02:38
lifelessits relatively easy to record that you did02:38
mwhudsonlifeless: this hasn't been my work, i have no real opinions02:38
AfClifeless: (I would be impressed if I didn't have to because the tool & it's UIs did said recording for me)02:38
jelmerlifeless: Or to put it in a different way, I wouldn't expect apache to read settings from /root/.apache.conf either by default02:38
lifelessits still freaking-hard to merge the cherrypicked thing accurately without security issues or spurious conflicts02:38
mwhudsonthough i prefer reading http_* options from a bazaar.conf to inventing our own formats and locations02:39
jelmerlifeless: and not have an easily disocverable way to override that02:39
lifelessmwhudson: has there been a release of loggerhead that does02:39
AfClifeless: so I gather.02:39
mwhudsonlifeless: no02:39
AfCRight. Lunch time rush at this cafe. Time to move.02:39
* mwhudson is not paying attention here any more, sorry02:39
mwhudsonsend me email if you want a conversation on this02:40
Peng_When pulling, what happens after post_change_branch_tip hooks fire? In other words, if the hook throws an exception, what didn't happen? E.g., it looks like the branch updated correctly, but not the working tree.02:50
* Peng_ randomly goes /away again.02:50
lifelessright02:51
lifelessupdate to recover02:51
RenatoSilvaif I clone a branch, and that branch is updated after I did a few commits on the clone, what should I do to merge the clone with that branch?03:10
garyvdmRenatoSilva: Clone? did you do a checkout, or branch?03:12
garyvdmRenatoSilva: if you create a checkout, you can do bzr update. If you did a branch, you can do bzr merge.03:16
RenatoSilvaby clone I mean bzr branch03:16
lifelessRenatoSilva: you can bzr pull, if no changes were made to the origin branch in the interim, or you can (bzr merge; bzr commit)03:19
RenatoSilvaimagine the original branch is at rev 40, then I copy it and commit 5 revisions (my local branch is now rev 45), but in the meatimeremote branch was updated and is now in rev 43. A merge between the branches woulnd't get confused?03:19
lifelessnot at all03:19
lifelessits what bzr merge is meant to be used for03:20
RenatoSilvayeah I can do a bzr pull, but what happens if I don't?03:20
RenatoSilvabzr merge will pull the changes before merging?03:20
spivYou can't do bzr pull (try it), it will tell you it's can't pull because the branches have diverged.03:21
spivSo you need to bzr merge, because you changes to merge.  It won't get confused, because bzr is not CVS :)03:22
krisfremenlol03:22
spivs/you changes/you have changes/03:22
RenatoSilvaspiv: ok03:27
* igc lunch and medical appointment - bbl03:56
RenatoSilvacan multiple tags point to the same version?04:00
lifelessyes. technically to a revisionid04:05
=== timchen1` is now known as nasloc__
garyvdmlifeless: how come item.revision for a item from a WorkingTree.inventory is allways none?04:11
garyvdmCould it not tell you the revision from the basis tree?04:12
spivjml: I'm working on https://bugs.edge.launchpad.net/bzr/+bug/388675, do you want this fix in 1.16?04:19
ubottuLaunchpad bug 388675 in bzr "automatic stacking format upgrade doesn't work over the smart server" [High,In progress]04:19
spivjml: I have the issue diagnosed and a quick fix, just making proper patch with tests etc now.04:19
ablmf1I typed "bzr branch lp:oah/gst-plugins-base", it starts to download, but it only download a directory containing ".bzr", nothing else.  Where is the code?04:24
lifelessgaryvdm: the working inventory doesn't have that data04:28
garyvdm:-(04:28
garyvdmI'll just have to hide the revision columns when showing the wt.04:28
lifelessgaryvdm: the basis inventory does (but we're looking at getting rid of most of the basis inventory stored in the tree because we don't need to look at it very often, its largely dead weight)04:28
ablmf1[###########/        ] http >   2638KB     3KB/s | Copying content texts:Copied04:29
ablmf1It looks like it have download a lot things04:29
lifelessablmf1: it's building a local bzzr branch. Once it has the history it will build the working tree04:29
ablmf1lifeless: Should I wait till all the progress bar reach the end04:31
ablmf1or should I give up now?04:31
lifelessablmf1: wait04:31
lifelessablmf1: its all working normally04:32
Peng_ablmf1: Why do you want to give up?04:32
ablmf1Peng_ : because it has been downloading for 20 m but only give me a .bzr ...  Quite slow to access lp from here04:33
lifelessablmf1: it *only* does a .bzr until right at the very end04:35
lifelessablmf1: thats normal.04:35
RenatoSilvaablmf1: the .blz contains the whole history04:35
Peng_Hmm, that branch is like 25-30 MB.04:35
RenatoSilvas/blz/.bzr04:35
ablmf1Is there any quicker way?04:36
lifelessablmf1: if you're using http, you probably have a broken http proxy, based on the discussion from yesterday.04:36
ablmf1lifeless: No.  I am the one discussing proxy with you yesterday.04:37
ablmf1Toady I stayed at home for downloading the source code I need04:37
lifelessablmf1: do you mean yes?04:37
lifelessoh, ok.04:37
lifelessso anyhow04:37
lifelessover http bzr has to do many readv operations04:38
lifelessit shouldn't be *that* slow04:38
ablmf1svn has a "svn export" command which do not download the history04:39
ablmf1does bzr have one?04:39
RenatoSilvaIt would be nice to download branches as zip files04:39
lifelessRenatoSilva: loggerhead can do that; its just not enabled on launchpads logerhead04:39
lifelessablmf1: bzr has one, but it works by downloading the history04:39
RenatoSilvalifeless: good to know04:39
lifelessablmf1: (svn doesn't download history *ever* anyway, svn export isn't as different as you might think)04:40
RenatoSilvaWell, I just merged a directive to a branch, and it opened a file with the commit messages of the patch now that I'm trying to commit the directive changes04:40
RenatoSilva-- This line and the following will be ignored --, what should I do? The command is waiting for the text editor.04:41
lifelessYou should type in a commit message above the line04:41
lifelesswhatever you want to say about the merge.04:41
RenatoSilvawas this caused by an empty bzr commit as I did?04:41
lifelessno04:42
lifelessits normal04:42
RenatoSilvaif I did, it would be 2 commit messages then?04:42
RenatoSilvaif I put a message I mean04:42
dash 04:43
garage_sebi messed up, but i dont know how much damage i caused04:43
ablmf1[###########\        ] http >   6861KB     6KB/s | Copying content texts:Copied04:43
garage_sebi have a server with a shared repo with a bunch of related branches in it04:43
ablmf1It looks like it has download 6MB04:43
ablmf1But I only find 200kb in the working directory04:44
garage_sebon a development machine i have another shared repo with copies of those "central" branches, plus a bunch of local branches branched from them04:44
garage_sebmy mistake was:04:44
garage_sebi accidentally pushed one of the development branches from the devel machine to the *repo* dir on the central server without specifying a target branch dir04:45
lifelessRenatoSilva: huh? You'll only get one commit message.04:45
lifelessRenatoSilva: I don't really understand what you're asking.04:45
lifelessablmf1: you could try stracing the process to see what is happening04:46
lifelessablmf1: as for how much is in the working directory, there are buffers on whats written to disk and so on; I assure you if you let it finish it will have achieved what you want.04:46
RenatoSilvalifeless: bzr commit -m "message 1", then shows text file, then I type in the file "message 2"04:47
garyvdmRenatoSilva: You may find it easier to use bzr qcommit - This shows a gui for commit04:47
wgrantgarage_seb: I don't think that should break anything. Has it?04:47
RenatoSilvalifeless: the merge will contain all directive commits? Is it smart enough?04:48
lifelessRenatoSilva: it should not have popped up an editor if you used -m04:48
RenatoSilvalifeless: oh, so...was this caused by an empty bzr commit as I did?04:48
RenatoSilvalifeless: the answer is yes04:48
RenatoSilvayou had said no and I get confused :)04:49
lifelessempty can mean 'no message' or 'no changes', I thought you meant the latter.04:49
RenatoSilvalifeless: ok sorry, my mistake then :)04:49
RenatoSilvait all makes sense now :)04:49
lifelesscool04:49
RenatoSilvabtw, it will never allow empty message?04:50
lifelessI don't think so04:50
RenatoSilvabzr: ERROR: empty commit message specified04:50
RenatoSilvaafter I just closed the file04:50
lifelessthats right04:51
lifelessif you're doing a merge04:51
lifelesswrite a message describing what you are merging. You can skip the details as they will still be present in the commits you are merging.04:51
RenatoSilvaok, then it will deny only for merges04:51
spivablmf1: also, there's some overhead in figuring out what content to transfer before it actually transfers the content.04:51
spivablmf1: especially over a dumb transport like http04:52
spivablmf1: so you may well find that the final size on disk is noticeably smaller than the total network traffic.04:52
lifelessspiv: with readv batching it should be 1-2% no more04:53
lifelessfor an initial branch04:53
garyvdmlifeless, poolie, jelmer: Thanks for the advice. I have achieved what I wanted to (a browse tree widget, that shows unversioned files and change status)04:54
RenatoSilvaI think as they're little changes, it makes more sense to aplly them manually, because I just have to reason to give a bout the merge. The reason is just because they were 2 commits at work, and I couldn't push them there :)04:54
lifelessRenatoSilva: if you haven't made local changes you can just pull from the directive04:54
RenatoSilvas/to reason/no reason04:54
lifelessrather than merging04:54
RenatoSilvahumm, nice!04:54
garyvdmlifeless, poolie, jelmer: If you are intrested in what I have done, the code it here: http://bazaar.launchpad.net/~garyvdm/qbzr/trees/annotate/head:/lib/treewidget.py04:55
RenatoSilvahow do I undo the merge?04:55
RenatoSilvabzr revert?04:55
lifelessRenatoSilva: yes04:55
lifeless'bzr revert'04:55
RenatoSilvaok04:55
RenatoSilvabzr: ERROR: These branches have diverged. Use the missing command to see how. Use the merge command to reconcile them.04:59
lifelessso you do need to merge04:59
RenatoSilvabzr missing > Using saved parent location: bzr+ssh://bazaar.launchpad.net/~renatosilva/bzr-email/mail-customization/ Branches are up to date.zr+ssh >      0KB     0KB/s |04:59
lifelessI would just merge them with -m "Small fixes from work" or some such04:59
RenatoSilvaok but I'm trying to learn :)05:00
RenatoSilvaHummm let me see...05:00
RenatoSilvaThe work branch is a branch from bzr-mail!05:00
RenatoSilvaMy branch here is the mail-customization05:01
RenatoSilvaYou can skip the details as they will still be present in the commits you are merging. --> actually they're not there :(05:04
RenatoSilvaAfter my last commit comment from lp, the next one is from the merge.05:04
lifelessRenatoSilva: run bzr log -n005:05
RenatoSilvait is in rev 41 in lp, there were 2 revs in the merge, but when I commited I'd expect the local branch go to rev 4305:06
garyvdmRenatoSilva: try running qlog05:06
garyvdmerr - bzr qlog05:06
lifelessRenatoSilva: have you tried running log -n005:07
garyvdmYou should be able to expand rev 41 - under it you will see the revisions that you merged.05:07
seb_lifeless, any words of wisdom on the situation i reported above, in a previous incarnation when i was known as garage_seb?05:08
RenatoSilvabzr log -r40..05:08
lifelessRenatoSilva: with "-n0"05:08
lifelessso "bzr log -n0 -r40..05:08
lifeless"05:08
spivseb_: did you see wgrant's question?05:09
seb_oops no that must have been while my dsl modem blinked out :-(05:09
lifelessseb_: nothing should be broken05:10
spivseb_: < wgrant> garage_seb: I don't think that should break anything. Has it?05:10
seb_oh good :-)05:10
seb_things seem to be working just fine05:10
lifelessseb_: if you want to get rid of the branch you pushed, you can remove the .bzr/branch directory it will have created05:10
seb_heh, i just did that and things *still* seem fine05:10
RenatoSilvahttp://pastie.org/515988, http://pastie.org/51599005:10
lifeless[but be sure to leave .bzr/repository alone, as that is your shared repo :P]05:10
seb_ok thanks guys :-)05:11
seb_yes i didnt remove that one05:11
lifelessRenatoSilva: right, in 515990 you can see the messages05:11
RenatoSilvalifeless: so, the merge revisions become sub-revisions?05:12
spivjml, mwhudson (and anyone else interested): https://code.edge.launchpad.net/~spiv/bzr/default-stacking-again/+merge/7601 fixes that stacking bug.05:12
mwhudsonspiv: is it client side or server side?05:13
lifelessRenatoSilva: yes, thats a reasonable way to think about it05:13
lifelessmwhudson: client05:13
mwhudsoncool05:13
RenatoSilvalifeless: ok thanks05:13
lifelessthis is one of the key, critical diferences vs CVS05:13
jmlspiv, thanks, I'll take a look at it.05:14
spivmwhudson: client05:14
spivOh, I'm too slow today :)05:15
RenatoSilvapushed \o/05:15
garyvdmRenatoSilva: have you tried bzr qlog?05:15
RenatoSilvagaryvdm: yes05:15
garyvdmRenatoSilva: And? did it help?05:16
jmlspiv, thanks I'll take a look at it.05:16
jmlspiv, sorry for the lag -- I needed to have a lunch break afk :)05:16
spivjml: I understand :)05:16
RenatoSilvagaryvdm: now yes, I didn't note the "+"05:16
spivjml: I'm actually planning on doing the same shortly :)05:16
RenatoSilvagaryvdm: nice view, thanks! btw, Qt for windows?05:17
garyvdmRenatoSilva: qt is multi-platform05:17
garyvdmRenatoSilva: used by KDE05:17
RenatoSilvagaryvdm: oh I didn't know that, the widgets look pretty native05:18
RenatoSilvagaryvdm: it's embedded in bzr installer?05:19
garyvdmRenatoSilva: yes05:19
RenatoSilvagaryvdm: ok, thank you!05:19
garyvdm /quit zzzzz05:26
=== _thumper_ is now known as thumper
mwhudsonspiv: thanks for fixing that bug so quickly :)05:29
spivmwhudson: once I untangled the particular confusions it wasn't too hard.05:30
* spiv -> lunch05:36
RenatoSilvaDoes TortoiseBzr use Qt?05:40
RenatoSilvaI'm afraidn to install it, because TortoiseCVS was not working well05:47
poolielifeless, spiv, the bug editing collisions were i think bug 2845906:47
ubottuLaunchpad bug 28459 in malone "Handle mid-air collisions in bug reports" [Low,Triaged] https://launchpad.net/bugs/2845906:47
lifelesspoolie: our one wasn't, unless you'd had the bug open for 30 minutes or so... I guess that is possible ;)07:04
lifelesspoolie: still, its a nice low bug number ;)07:06
vilahi all07:07
pooliei did have it open07:22
pooliebecause, probably someone started talking to me07:22
pooliealso i was wondering what the magic number at the start was07:23
pooliehello vila07:23
poolielifeless, re bug 308403,07:23
ubottuLaunchpad bug 308403 in bzr "bzr add should optionally fail if explicitly named files are ignored" [Medium,Confirmed] https://launchpad.net/bugs/30840307:23
pooliedo you in pracitice commonly add files matching ignore patterns?07:23
vilahi poolie07:23
lifelesspoolie: Its not that I commonly do it; its a design principle I have.07:24
lifelesspoolie: which is that its better to do whats asked and make reverting mistakes easy.07:24
lifelesspoolie: and we already have that.07:24
lifelesspoolie: I don't object to bzr add having a --strict mode or something for people that prefer to have the command fail.07:27
pooliemm maybe there should be a global --strict07:28
lifelessStopping on many little things and forcing things to be re-run is just irritating in my experience. Clippy leads down that road ;)07:29
jmlsome people like being irritated.07:29
jmlperverse creatures that they are07:29
lifelessjml: Whats better for most of our users is the question.07:30
jmllifeless, I thought we were talking about an option?07:31
lifelessjml: Yes but: a) An option has its own overhead. b) options have defaults so they need to be chosen.07:31
poolieso specifically i want some satisfactory solution to bug 32276707:35
ubottuBug 322767 on http://launchpad.net/bugs/322767 is private07:35
pooliewhich complains about people adding conflict files07:35
lifeless.BASE/.OTHER/.THIS07:36
poolieblocking adds of ignored files is a somewhat indirect way to stop it07:36
poolieyes, and .moved07:37
lifelessso07:37
lifelessdoesn't commit abort on conflicts?07:37
poolieyes, of course07:37
lifelessand doesn't resolve delete those files?07:37
poolieit's kind of user error07:37
pooliepeople are apparently just banging harder on it to resolve the conflicts07:37
lifelesswell, specifically, I'm confused about *how they manage it*07:37
pooliebecause, i guess, they're confused07:37
pooliehow they manage to do it?07:37
lifelessright07:37
lifelessrunning bzr resolve should delete those files; commit won't work until they have resolved, and then the files should be absent.07:38
lifelessSo my first instinct is 'what bug in the resolve->commit cycle is permitting this to happen'07:38
poolieso07:38
pooliethey may do 'bzr add foo.c.OTHER'; bzr resolve ;bzr commit07:38
pooliebut why wouldn't resolve delete them?07:39
lifelessexactly.07:39
jmllifeless, on https://bugs.edge.launchpad.net/bzr/+bug/388727 you suggest that it's not critical for 1.16 because it dev6->2a works, but later it's revealed that it doesn't work. Does that mean it probably should be critical about it?07:40
ubottuLaunchpad bug 388727 in bzr "upgrade fails between dev formats" [High,Confirmed]07:40
jmls/about it/for 1.16/07:40
lifelessjml: depends on whether we plan to delete dev6 during 1.17's cycle.07:41
lifelessif so we really have to fix the upgrade for 1.1607:41
lifelessif not, it would be good but isn't life-ending if we don't, IMO.07:41
=== mthaddon is now known as afk
jmldo we plan to delete dev6 during 1.17?07:41
lifelessI think it is reasonably important to make dev6->2a upgrade ok.07:41
jmlpoolie, thoughts?07:41
pooliejml, i'd be most concerned to know whether it's because of an actual inconsistency in the format07:42
poolieas the patch seemed to indicate07:42
lifelessit is07:42
lifelessa bug, from when we disabled 'subtrees' for the format07:42
poolieso is it correct that 2a doesn't have the subtree flag set?07:43
lifelessyes07:43
lifelessthe check in CHKFormat* for subtree during is_compatible orwhatever the method is called, is the bug07:44
pooliewhat i'm really getting at is, does this reflect any problems in 2a or code that will still be active there07:44
poolieor only for the dev formats?07:44
lifelessdev and 2a07:44
lifelessEOD time; {actually late, startedearly}07:45
lifelessring me if you need me07:45
jmllifeless, ciao07:45
poolielifeless: so why07:46
pooliedo you say this matters only if we're going to delete dev6 in the 1.17 cycle?07:46
bizarrefishhi07:46
bizarrefishi have a problem - whenever i do a "push" to a master repository(over sftp), having committed changes, the entire repository is transferred and it takes AGES.07:47
bizarrefishwhy can't bzr just push the files that the server DOESNT have?07:47
jmlspiv, your patch @ https://code.edge.launchpad.net/~spiv/bzr/default-stacking-again/+merge/7601 -- the tests it adds are just the test_bzrdir ones?07:48
jmlbizarrefish, actually, bzr can be quite good at just pushing things the other side doesn't have07:49
bizarrefishjml: how do i tell it to do that, then?07:49
bizarrefish:-/07:49
jmlbizarrefish, how exactly do you have things set up?07:49
bizarrefishjml: i have a master repository, from which i have branches on different machines07:50
bizarrefishwhen each machine's repository is modified, i need to be able to push the changes to the master07:50
jmlbizarrefish, it sounds like there might be other factors at play, but bzr+ssh is a lot faster than sftp -- particularly with bzr 1.15 or 1.1607:50
jmlbizarrefish, "bzr push sftp://server/master-branch" ?07:51
bizarrefishjml: yeah, that's what i'm doing07:51
bizarrefishthe branches were created with: bzr branch sftp://server/master-branch07:51
bizarrefishand the pushes take place as you have stated07:51
jmlbizarrefish, is it possible for you to try bzr+ssh?07:52
jmlbizarrefish, you just need to have bzr installed on the server -- the more recent the better.07:52
bizarrefishjml: i suppose so, unfortunately the master repo is held on a machine with 32MB of RAM and no swap :-/07:52
jmlI see :)07:52
bizarrefishand svn+ssh didn't take too kindly to being run in such a machine :)07:52
jmlbizarrefish, don't run bzr+ssh then07:52
bizarrefishkkl07:53
bizarrefish*k07:53
jmlbizarrefish, what makes you think it's sending the whole thing?07:53
bizarrefishjml: oh...hang on, it seems to be because the branches have diverged07:54
bizarrefish:-/07:55
jmlbizarrefish, that makes sense07:55
jmlbizarrefish, you need to merge your changes in, rather than simply pushing07:55
bizarrefishjml: yeah, that would normally have preceeded the push07:55
jmlok cool.07:56
bizarrefishthe sync sequence: add -> commit -> merge -> commit -> push -> have a nice day07:56
spivjml: yes07:56
spivjml: it's a pretty simple patch, despite LP's attempts to make it look more complicated :P07:57
jmlspiv, right.07:57
jmlspiv, the reason for the confusion is that lp:bzr is a mirrored branch07:57
jmland can be as much as six hours out of date.07:57
spivRight.  And I made my branch off current bzr.dev.07:58
jmlof course, bzr's pqm could easily trigger a mirror on commit.07:58
mwhudsonclearly mirrored branches are only for hippies07:58
jmlor there could be a post-commit hook07:58
bizarrefishwhat is the difference between doing a bzr update and a bzr merge07:58
bizarrefish?07:58
mwhudsonwe really should write a post commit hook that launchpadlibs up a requestMirror07:59
mwhudsonbizarrefish: quite a lot07:59
jmlmwhudson, yes.07:59
mwhudsonbizarrefish: though because you say 'up' i guess you're using checkouts?07:59
jmlmwhudson, my plan at EuroPython is to write awesome launchpadlib/bazaar things07:59
bizarrefishmwhudson: no, a branch08:00
jmlor to make it falling-off-a-log easy to write such.08:00
bizarrefishis there somewhere which actually details what these things do?08:00
mwhudsonjml: cool08:01
mwhudsonbizarrefish: then 'up' probably doesn't do anything08:01
mwhudsonbizarrefish: the difference between pull and merge is that pull maintains a mirror and merge combines lines of development08:01
jmlbizarrefish, 'bzr help merge' etc08:01
jmlalso...08:01
jml(looking...)08:01
jml(specifically, looking for the doc link on the wiki with my slow net connection)08:02
jmlhttp://doc.bazaar-vcs.org/bzr.dev/en/user-guide/index.html08:02
jmlhttp://doc.bazaar-vcs.org/bzr.dev/en/user-reference/bzr_man.html08:02
bizarrefishhmm...08:03
bizarrefishThis will perform a merge into the working tree, and may generate08:03
bizarrefish  conflicts.08:03
bizarrefish^from bzr help update08:03
bizarrefishso...update == merge??08:03
bizarrefish:'(08:03
mwhudsonif you're not using checkouts, pretend update isn't there08:04
jmlbizarrefish, "merge" brings in a divergent line of history08:04
mwhudson(not a fantastic bit of ui)08:04
bizarrefishright...ok08:04
jmlbizarrefish, which can cause conflicts08:04
jmlbizarrefish, and only changes the working tree -- you still need to commit.08:04
bizarrefishso update brings in history too??08:04
bizarrefishriiight...08:04
bizarrefishi see08:05
jmlbizarrefish, 'update' brings a working tree up to date with a branch.08:05
jmlbizarrefish, rather than combining two divergent lines of history (like merge)...08:06
poolieanyhow jml i think we should just merge jelmer's patch08:06
jmlit simply updates a working tree08:06
jmlpoolie, yeah, that's what I was thinking.08:06
poolieand maybe test it fixes it08:06
jmlpoolie, I'm also going to bring in spiv's patch.08:07
bizarrefishjml: right, so bzr can work in a non-distributed fashion?08:08
bizarrefish(using checkouts/updates instead of branches/merges)08:08
jmlbecause it's small and stacking bugs have given me a scar so deep it makes me look like a lost a samurai fight.08:08
jmlbizarrefish, exactly08:08
bizarrefishi see08:08
bizarrefishin that case, i think i should be using checkouts..08:09
jmlbizarrefish, some people also use checkouts / updates in a distributed fashion, but that's very weird and complex and much easier for you to read about than for me to explain :)08:09
bizarrefishis "push" still used to update the main branch?08:09
jmlbizarrefish, it sounds like lightweight checkouts would fit your situation better.08:10
bizarrefishyeah...it does.08:10
jmlbizarrefish, if you used lightweight checkouts, i.e. 'bzr checkout --lightweight sftp://server/master-branch' ...08:10
jmlbizarrefish, then each commit inside that checkout would contact the server and change the master-branch there.08:10
jmlbizarrefish, just like a subversion commitc.08:11
jmlpoolie, is jelmer's patch in bzr.dev yet?08:11
bialixigc1: what's your short term plans for bzr explorer?08:11
bizarrefishhehe this sounds like just what i'm looking for08:12
jmlbizarrefish, cool. :)08:12
bizarrefishi've been at this for a couple days08:12
bizarrefishthanks08:12
jmlnp.08:12
jmlpoolie, jelmer's patch is missing tests08:13
jmlpoolie, should we land it sans tests?08:14
jmlpoolie, or are you willing to write one?08:14
pooliesans gas08:14
pooliei mean sin gas08:14
jmlrock & roll.08:15
spivjml: is it really "easy" to make our pqm (via post-commit or whatever) trigger a mirror?  If so, we should absolutely do that, please file a bug or something.  I'd love that.08:15
spivjml: (but first I'd rather you released 1.16 followed by having a pleasant evening's relaxtion basking in the glow of your shiny new release)08:16
jmlspiv, http://paste.ubuntu.com/198291/08:16
RenatoSilvaMy 1st merge proposal: https://code.launchpad.net/~renatosilva/bzr-email/mail-customization/+merge/760608:17
RenatoSilvaThanks to you guys!08:17
spivjml: somehow that feels like about 2-3 more lines of code than I would expect, but cool nonetheless.08:18
spivRenatoSilva: glad it's working out for you :)08:18
RenatoSilvaspiv: thanks to all of you so helpful :)08:20
jmlspiv, actually that also won't work with trunk launchpadlib.08:20
jmlspiv, I made a branch to reduce the number of lines you need to cache authentication data08:20
jmlspiv, so uhh if you want to make it work...08:21
spivjml: I see :)08:21
jmlyou need to look at https://help.launchpad.net/API and change the load() method to be more like what that page suggests.08:22
jmlalso, that script has the same skeleton as the one I wrote for setting official package branches08:22
jmlit probably doesn't *need* its own class :)08:22
RenatoSilvathe whole idea of dvcs + personal branches + merge proposals is a very interesting approach08:23
jmlRenatoSilva, it's an awesome approach.08:23
RenatoSilvayeah, I mean awesome :)08:23
* RenatoSilva gtg08:25
jmlRenatoSilva, bye :)08:25
RenatoSilvabye, tahnks08:26
jmlspiv, is your branch merged into trunk?08:38
jmlspiv, would you mind submitting it to pqm for 1.16?08:38
spivjml: It is.  I'll submit it.08:42
jmlspiv, thanks.08:42
spivWell, I'll submit the cherrypick I prepared earlier, which is basically the same thing (being a cherrypick).08:43
jml:)08:44
bizarrefishI'm doing a bzr export to another dir, and it's STILL downloading it's up to 200MB now, which is at least twice the size of my checkout09:00
bizarrefishwhat is going on?09:00
bizarrefishwhat is this extra datas?09:00
Peng_It has to download enough history to reconstruct each file.09:02
bizarrefishPeng_: but this is only 3 revisions deep09:03
Peng_Maybe they're 3 really epic revisions? :D09:03
bizarrefishand i have only added a few hundred bytes worth of files in those revisions09:03
bizarrefish:'(09:03
bizarrefishwell, something is epic09:03
bizarrefishthe -v flag isn't telling me what it's currently exporting09:04
spivIt may just be that "bzr export" isn't particularly optimised for the network :(09:04
bizarrefishor there is some killer bug09:04
spivWith only 3 revisions, it is likely it has to fetch the full history to construct the current state of every file, though.09:05
bizarrefishi mean, the little "progress bar" isn't even past the first segment at the 200MB mark09:05
bizarrefishthis is only 100MB worth of files heere09:05
bizarrefish*here09:05
spivYeah, I'd suspect a performance bug.  Sorry :(09:05
bizarrefishyou will be!09:05
spivPlease file a bug at https://bugs.launchpad.net/bzr09:05
* bizarrefish runs up behind spiv09:05
* bizarrefish drags him by the eye into the sea09:05
bizarrefish*filing*09:05
spiv(Did I just stumble into a role playing channel by mistake?)09:06
bizarrefishspiv: maybe...whos to say?09:06
Peng_Version Control the Roleplaying Game?09:08
spivPeng_: The Repository hits you.  The Repository hits you.  (more)09:09
lifelesspower failures suck09:10
Peng_spiv: I was trying to come up with a joke about a file system or power failure eating your history.09:16
* igc1 dinner09:37
lifelessPeng_: heh. It was only a short one. But I wish I knew why we're getting them. Or did spiv have a power outage too?09:39
Peng_lifeless: No, it's just that RPGs had come up in the conversation, so I was trying to think of a hoke.09:45
Peng_joke. Wow.09:45
Peng_lifeless: You don't have a UPS?09:45
lifelessPeng_: surge protector only at home09:47
Peng_Oh. You should get one!09:50
Peng_O' course, half of my power failures are *because* of the UPS freaking out, but... :P09:51
lifelessso my theory is 'ext3 is solid'09:51
lifelessand most power failures are longer than a cheap UPS will survive09:51
Peng_A cheap UPS can give you time to whine about it and shut down.09:52
Peng_(depending on how cheap)09:52
lifelessright, but I don't care about that09:52
lifelessthe most annoying thing is reconnecting to freenode09:52
Peng_Use a bouncer/irssi. :D09:53
lifelessI do09:53
lifelessto keep up my link during a power failure I need:09:53
lifeless - UPS09:53
lifeless - firewall09:53
lifeless - adsl modem09:53
lifeless - server09:53
lifelessto be kept running during the failure09:53
lifelessassuming the exchange isn't affected09:53
Peng_I mean a remote server.09:54
lifelessit is remote. its in the other room09:54
lifeless:)09:54
Peng_I mean data-canter-with-UPSes remote. :P09:54
jmlim in ur irc channel releasin ur software10:07
LarstiQ:)10:10
jmlheoastuheoashiseo10:14
jmlwrong submit branch :(10:14
=== mario_ is now known as pygi
jelmerpoolie: hi10:39
jmljelmer, g'day10:49
jelmerjml: Hey10:50
jelmerjml: Enjoying life as a RM?10:50
jmljelmer, it's certainly keeping me on my toes :)10:53
jelmer:-)10:57
jelmerI saw you submitted my upgrade fix, is a test still necessary for that?10:57
jmljelmer, it would be nice :)11:03
jmljelmer, but it won't go into 1.1611:04
bizarrefishhi, i'm just playing around with bzr, and am currently at revision 6. i deleted "afile" at this revision, so the file existed at revision 5.11:15
bizarrefishi used this command to retrieve the file from revision 5: http://pastebin.com/m2e6af93511:15
bizarrefishunfortunately, that produced an error :'(11:15
bizarrefishit's a checkout, not a branch, btw11:15
bizarrefishhaha, got it: bzr revert -r5 afile11:21
jmldoing a --dry-run before this pqm-submit11:32
jtvlifeless, have you heard of abentley's idea of committing a preview tree?11:56
lifelessjtv: I worked with him on it @ allhands11:59
jtvlifeless: then you're the person I need11:59
lifelesshe had working code11:59
jtvlifeless: I'm probably missing something silly.12:00
lifelessjtv: If its quick I can give you a hand now, otherwise I suggest we look at it when you start your day tomorrow - its 9pm here12:00
jtvlifeless: I've got it running without bombing out (believe me, if you know as little as I do about bzrlib that's a lot)12:00
jtvlifeless: well the problem is I've got changes in my transform, and they seem to be going into my tree, but afterwards I open a new Branch on the same URL and don't see any files.12:01
lifelessBranch's don't have files12:01
jtvwell, I do branch.repository.revision_tree(NULL_REVISION).walkdirs12:02
jtv(and I cargo-culted that off someone who got it handed down by one of the gurus)12:02
lifelessso12:03
lifelessNULL_REVISION is the empty revision12:04
lifelessit has no content12:04
lifelessI think what you may prefer is 'branch.basis_tree()'12:04
jtvahhhh12:04
jtvI thought it was the starting revision for changes, and passing NULL_REVISION would give me everything from the beginning of time.12:04
jtvRunning updated test.12:05
lifelesstree objects are not deltas12:05
lifelessthey are snapshots12:05
jtvSo I want the latest revision there.12:05
jtvNow I get "no such revision."12:05
lifelessfrom basis_tree ?12:06
jtvOh, wait, basis_tree() is the tree I want to walk.  Thank you, duck typing!12:06
jtvlifeless: bit of delay here... the change is suddenly exercising code that never ran in my test.  Which is a good sign.  :-)12:08
* jtv does see certain advantages in a compiler...12:09
jtvlifeless: more trouble, but I'm sure it's not worth keeping you for.  You've helped me a lot though!12:09
jml'make dist'!12:35
lifelessgnight12:36
jmllifeless, g'night.12:37
jmlwhat do I have to do to get http://doc.bazaar-vcs.org/bzr.1.16/en/release-notes/NEWS.html regenerated?12:50
jmlhmm. cronjob.12:51
* jml gives it time.12:52
=== jml changed the topic of #bzr to: Bazaar version control system | 1.16 released 18th June, 2009 | http://bazaar-vcs.org | http://irclogs.ubuntu.com/
jtvAnyone up for another bzrlib question?13:01
jmldon't ask to ask, just ask.13:04
jtvjml: ah yes.  I'm doing a walkdirs(), and I'm expecting to find a file a/b/c.txt, but I seem to get only the b and c parts.13:12
jmljtv, walkdirs on which object?13:12
jtvjml: on branch.basis_tree()13:12
fullermdjml: Do you know why the md5/sig links for 1.16 are broken?  Are they made by you or LP?13:13
jtvjml: each item in that iteration seems to be (dirname, id): [files]13:13
jtvjml: but for a/b/c.txt, dirname seems to be 'b'.13:13
jmlfullermd, the links on which page?13:14
jtvMight be a bug in my code, but trying to figure out what's normal here.13:14
jmljtv,13:14
fullermdjml: https://launchpad.net/bzr/1.16/1.1613:14
jmlfullermd, by "broken", do you mean they 404?13:15
jmlfullermd, the md5 link is made by Launchpad, I uploaded the sig files13:15
fullermdWell, they don't give me a MD5 or a signature  ;)13:15
jmle18b38e2c4e33203c8f6c9b4029cea7a bzr-1.16.tar.gz13:16
jmlhttp://edge.launchpad.net/bzr/1.16/1.16/+download/bzr-1.16.tar.gz/+md513:16
fullermd(the rc didn't either)13:16
jmlthat's what I get13:16
jmlfullermd, what do you get?13:16
Peng_jml: Congrats on the release.13:17
jmlPeng_: thanks :)13:18
fullermdHm.  Well, I see the md5 on that page, but the links don't go there (even mod the edge thing)13:18
fullermdhttp://launchpad.net/bzr/1.16/1.16/+download/bzr-1.16.tar.gz/+md5  has the MD513:18
fullermdBut the link from https://launchpad.net/bzr/1.16/1.16  goes to  http://launchpad.net/bzr/+milestone/1.16/+download/bzr-1.16.tar.gz/+md513:19
fullermd(which gives Page Not Found)13:19
fullermd(the link on https://edge.launchpad.net/bzr/1.16/1.16 goes to the right place)13:19
fullermdSo I guess it's a LP bug.13:20
jmlif it works on the edge page, then it might well be a fixed lp bug13:20
* jml checks13:20
jmlhttp://launchpad.net/bzr/+milestone/1.16/+download/bzr-1.16.tar.gz/+md513:21
jmlhttp://edge.launchpad.net/bzr/1.16/1.16/+download/bzr-1.16.tar.gz/+md513:21
fullermdYah.13:21
jmlfullermd, https://bugs.edge.launchpad.net/launchpad-registry/+bug/38378813:22
ubottuLaunchpad bug 383788 in launchpad-registry "md5 and sig links are broken on the milestone-release page" [High,Fix committed]13:22
fullermdGood enough.13:22
=== mrevell is now known as mrevell-lunch
vilajml: congrats for the release !13:24
jmlvila, thank you :)13:24
fullermdAlways nice to get an update to the bzr port submitted before breakfast  ;)13:27
jml:)13:27
jmljtv, sorry I got distracted.13:33
jtvjml: ah, I thought it was some form of IRC "RTFM" that I wasn't aware of.  :)13:34
jmljtv, I don't know what's going on there, I'm afraid -- I haven't used that API much.13:34
bialixvila: hi13:34
jmljtv, perhaps mucking around with it in a Python interpreter might help figure things out.13:34
vilabialix: hi !13:35
jtvjml: sort of what I'm doing.13:35
bialixcan you recall what the bug #376582 was about?13:35
ubottuLaunchpad bug 376582 in bzr "Authentication prompt goes to standard out" [Undecided,Fix released] https://launchpad.net/bugs/37658213:35
jmljtv, alternatively, it's morning in Toronto soon, so you might be able to get abentley to lend you a hand.13:35
bialixyou've fixed it recently13:35
jtvjml: yeah, thing is, it's already dark here.  :/13:35
vilabialix: yes. If we prompt on stdout, users can't redirect output (think diff or log) or they will not see the prompt13:36
bialixthis is for password prompt?13:36
vilafor any prompt, including password13:37
bialixhmm13:37
bialixI thoiught13:37
bialixI thought bzr uses direct access to console to get user input13:37
bialixat least on win3213:38
bialixfrom getpass std module. is not?13:38
vilabialix: hooo, now that you mention it... yes, we were passing the prompt to getpass.getpass()13:39
vilaand *there* there may have been some win32 specific code path13:40
jtvjml: \o/ figured it out, tests pass13:40
jmljtv, yay13:41
bialixyou talk in past time13:41
jtvjml: just what I was writing into this commit message here...13:41
bialixvila: so today things are different, that's right?13:41
jmlg'night all.13:42
vilabialix: yes, stderr is used instead, which should be easier to redirect13:45
bialixit seems like stderr forced to use utf-8 encoding. it's bad and wrong for win3213:46
vilabialix: Are you sure it's not the default stderr behavior instead ? Anyway, AFAIK, stderr is left untouched as far as UIFactory is concerned...13:47
bialixwell, in trace.py13:48
bialixoh no13:49
bialixit seems I have false memory13:49
bialixdon't mind13:49
bialix.bzr.log is utf-8 encoded, it's ok13:49
=== mrevell-lunch is now known as mrevell
cocooncrashHi. I want to writea pre_commit hook which rejects commits if they contain certain words.14:08
cocooncrashI can't work out how to access the diff though.14:08
=== visik71 is now known as visik7
=== Nafallo_ is now known as Nafallo
bialixjam: good day15:27
jamhi bialix15:27
bialixthere is small problem with bzr.exe and some plugins15:28
bialixsome plugins require standard python modules that absent in lib/library.zip15:28
bialixdo you think it reasonable to add these python modules explicitly?15:29
bialixadd to setup.py15:29
bialixor just left this problem to plugins15:30
bialixjam: I'm asking your opinion because 1.16 is out but problem only get worse. Now bzr explorer require additional lib. And I think we should package this plugin into bzr.exe installer.15:40
bialixs/we/you/15:41
jamif we package bzr-explorer it will bring in the extra libs15:41
jamif we don't then they need todo an installer like bzr-xmloutput does15:41
jamwhich installs the deps15:41
bialixanother solution is to explicitly add required libs to the list of includes in setup.py15:42
bialixand make the life easier for xmloutput too15:43
bialixI can provide the patch for this, but will be nice to have this patch into bzr.exe 1.1615:44
Spabbyplease help me, I am stupid, how can I replace a local branch and working copy with the one from the server? I have loads of shitty changes on my local copy and I want to go to the good version on the central branch15:47
bialixjam: ok, it seems you're busy. but I'd like to point your attention on my recent answer in ML about selftest for bzr-svn @windows.15:52
jambialix: sorry about that. Anyway, to be "nice" we'd have to bundle every possible library so that every possible plugin could work15:53
jamwe also don't want to bundle all of GTK if we aren't going to bundle bzr-gtk15:53
jam(PyGTK)15:53
jamso we *can* bundle things15:53
jambut I think it is better to make it easier for plugins to write installers that include dependencies15:53
bialixjam: currently we know which modules are missing. they are few15:53
bialixdon't need to bundle the whole universe15:54
* bialix disagrees with jam point15:54
jambialix: we are missing some modules for *certain* plugins15:54
jambut there are *lots* of potential plugins that potentially need a lot of dependencies15:54
bialixI understand your point, ok, thanks15:54
jamIf the list is obvious and small, that is no big deal15:55
bialixha ha15:55
bialixawilkins just asked about xmloutput15:55
jambut it makes more sense to help the plugins do the work themselves15:55
bialixI know how to work this15:56
bialixI'm asking because it seems there is needed few of modules15:56
bialixtoday: SimpleXMLRPCServer (for xmloutput) and HTMLparser (for explorer)15:57
bialixthis list could grow over the time15:57
bialixbut today it's reasonable small15:57
bialixsometimes I think hg approach of bundling all plugins and enable them by user is better suited for this kind of issue15:58
jamigc1: what are you still doing up16:00
=== afk is now known as mthaddon
igc1jam: several hours at the hospital today and again tomorrow so ...16:10
jamigc1: sorry to hear that. I'm happy to see your activity, sad to see it so late in the day :)16:11
jamthen again, it is nice to see you at the same time I'm on16:11
jamall you AU guys have been getting up extra late recently16:11
jamAnd I'm on a pretty strict "stop at 5" routine16:11
igc1jam: :-) also, trying to roll out Explorer 0.3 tonight to coincide will the 1.16 release16:11
igc1jam: but it can wait till tomorrow afternoon16:12
igc1hopefully bialix will have a chance to test out the latest changes before then16:13
bialixigc1: I think I should write installer for bze explorer16:13
igc1hi bialix - just talking about you :-)16:13
bialixbecause explorer require HTNLParser lib that missing in bzr.exe16:13
bialixhi Ian16:13
bialixglad to hear you, sad you're busy with hospital16:13
igc1bialix: you can wrap that import in a try/except - not required for production code yet16:14
bialixwell https://bugs.launchpad.net/bzr-explorer/+bug/38902816:14
ubottuLaunchpad bug 389028 in bzr-explorer "[bzr.exe problem] can't start explorer: bzr: ERROR: No module named HTMLParser " [Undecided,New]16:14
igc1bialix: tests and appointments - no treatment fortunately16:15
bialixI have solution for this16:15
bialixI can do installer for you16:15
bialixI'm good in writing installers16:15
igc1bialix: true! but just pulling the branch ought to work if we simply wrap that import16:17
bialixigc1: if you plan to release 0.3 then setup.py need to fix16:17
bialixigc1: let me check16:17
igc1bialix: see http://bazaar-vcs.org/BzrExplorer (and the roadmap link)16:17
bialixigc1: try-except does not work16:18
bialixigc1: http://pastebin.com/m46f6a87616:18
igc1bialix: yeah, 0.3 either 10-15 hours from now or Monday is the plan16:18
bialixso we have to provide installer!16:19
hexmodeAny easy way to find the current revision number of a directory?16:19
bialixsee file-revision plugin16:19
bialixor use qbrowse command from QBzr plugin16:19
hexmodebzr revno16:19
hexmodedoh16:20
jamhexmode: or bzr version-info --all, etc16:20
jambzr revno does the whole branch16:20
jamjust depends what you are looking for16:20
hexmodejam: ok, so if I do "bzr revert -r 28", I would expect bzr revno to show 28.  Instead it shows the version of HEAD16:22
bialixigc1: I'm eagerly need support for lightweight checkouts+feature branches workflow in bzr explorer16:22
hexmode(which is 29)16:22
bialixhexmode: you need uncommit16:22
jamhexmode: revert doesn't change the current revision16:22
jamjust the content of files16:22
hexmodeok, well, this will do for now, I think....16:23
igc1bialix: try rev 5316:24
* bialix pulling16:25
bialixigc1: IMO acronym BE is already used for Bugs Everywhere16:25
SamBI thought it meant Build Environment16:26
SamB... but I guess that was in the next channel over, #reactos ..16:26
igc1hmm - maybe I need to start using BEX instead16:26
igc1or BzrE  or whatever16:27
bialixhttp://en.wikipedia.org/wiki/Bex16:27
bialixBEX is shorter, I guess16:27
bialixor call it something like REALLY COOL BAZAAR FRONT-END!!!16:28
bialixwell, maybe without all this caps16:28
igc1BzrEx comes up empty enough on google so it will probably do16:29
igc1so bialix, did that work?16:29
bialixigc1: yes, ii is16:29
bialixit is16:29
bialixit works fine now16:30
igc1time for me to call it a night16:30
bialixgoodnight16:30
igc1bialix: if you want anything else in 0.3, I need patches16:30
bialixI have problem with opening shred repo16:30
bialixI'm debugin the problem right now16:31
igc1I'll send out an announcement tomorrow, unless there are show-stoppers16:31
bialixigc1: patch for windows installer will count?16:31
bialixI'll fix setup.py today16:32
igc1bialix: I'd prefer to see it bundled in the normal Windows installer, for 1.1716:32
bialixas you wish16:32
igc1assuming enough people like it, of course16:32
igc1night all16:32
bialixsee you later16:33
igc1bialix: if you're really keen, please add some windows screen snapshots to http://bazaar-vcs.org/BzrExplorer !16:34
bialixwith pleasure!16:34
VSpikeI'm still immensely puzzled by a problem of a file marked as "removed" that when I try to do "bzr mv --after" on it, says it's not versioned.16:52
VSpikeI just downloaded the latest Windows bzr in case it was Cygwin specific, but the problem is still there16:53
VSpikeAny idea what I can do to solve it?16:53
bialixVSpike: looks like the problem with case of characters in filename17:03
bialixuse standard ren command in DOS shell to fix the case of the file17:03
VSpikebialix: I think I managed to fix it, after some fiddling.  I ended up with two parent directories versioned at one point17:04
VSpikeI saved the code file, reverted both of them and then did bzr mv ... and then overwrote the new location with the saved file17:05
bialixok17:06
DaveyHola! :)17:12
DaveyI'm thinking about maybe switching from SVN to bzr, but I'm curious about 2 things; first: how is the migration path? can I keep my current revision history? and second: what about an equivalent to svn:externals, does it exist?17:13
dashbzr-svn will import your SVN repository pretty easily (in fact, I use bzr to make checkins to our SVN repo at work)17:14
dashsvn:externals doesn't have support yet -- I believe support for that (what bzr calls "nested trees") is currently underway17:15
bialixDavey: though if you dare enough you can try scmproj plugin as emulation of svn:externals17:16
Daveyyeah... no svn:externals is a deal breaker for me; I have 4 separate third-party libs I have to hack on :/17:17
DaveyI don't think git supports any similar mechanism either mind you17:17
dashDavey: separate checkouts have worked just fine for me :)17:18
dashi'm mainly familiar with using svn for development rater than deployment though17:18
bialixgit has submodules17:18
bialixscmproj plugin is roughly did the same17:18
bialixthe same as git17:18
bialixbut a bit better17:18
Daveythe thing that turns me off git, is the whole empty directory not versionable BS... that seems like such a basic thing that if they forgot that I wonder what else they forgot ;)17:23
bialixbzr can track empty dirs17:25
Daveythis I know :)17:25
bialixtake a look at scmproj17:25
Daveywe're just outgrowing SVN; our merging needs are growing as our team grows and we're tackling more ambitious simultaneous projects. We have 4 branches (old-stable, new-stable, enterprise edition, and trunk); eventually, trunk will replace /both/ the new-stable and enterprise editions, but we've got two major projects to add to it immediately, and then there's the re-write coming up shortly. blech :)17:25
bialixmaybe it's not very elegant, but it works17:25
Daveyyou can sit bzr over svn, right?17:26
Daveyperhaps that's the solution? :)17:26
bialixyou can work with svn repo directly17:26
bialixif you asking this17:26
dashyeah, bzr-svn supports most svn operations -- it doesn't support svn:externals yet, of course17:26
bialixsome people just using svn as central server to store bzr branches there17:27
Daveybialix: that's kinda where I'm headed, TBH17:27
bialixscmproj can be used for this17:27
* bialix have to go17:28
bialixI'll glad to help with scmproj if needed17:28
bialixI'll be there later17:29
flvr8hello. how do i debug bzr-email? i have bzr-email installed and set up as the post-commit hook on the server. the branch.conf in the shared branch on the server specifies the smtp_server. i can send email from the server w/ postfix (echo test | mail 'foo@bah'). but, no email when i commit to the branch, and i don't see any logs anywhere saying what's going wrong. ideas?17:49
LarstiQflvr8: my guess is that it isn't picking up on the config due to your branch name being different than you think17:57
LarstiQflvr8: see ~/.bzr.log on the server17:57
* LarstiQ dines17:58
flvr8LarstiQ: thanks, will see if i find something in there17:58
statikhello bzr hackers!18:21
statiki'm using lp:config-manager to manage a bunch of branches that I depend on in a project. config-manager only lets me specify which branches to pull. Is there a way that I can specify in a bzr url which revision or tag should be pulled?18:22
ddaaHey. Is there a bzr command I can use for shell scripting that lets me determine whether the tree is clean?18:30
ddaaOh, I found my answer myself: bzr diff18:31
ddaaif bzr diff -q ; then echo "no change"; else echo "changes found"; fi18:32
statikhey ddaa, it's been a long time. how are you?18:32
ddaahey statik18:32
ddaaGot a consulting job in a bank hacking some python stuff, resigned because I hated the bank part of the job. Now associate of a web startup that does not have money to give me a pay yet.18:33
ddaaInherited a "working" webapp without any useful automated test suite. Currently hacking on automated deployment scripts.18:34
statikddaa, sounds scary but like an adventure18:34
ddaaMissing Canonical.18:34
Keybukhelp!18:34
Keybukbzr push gives me:18:34
Keybukbzr: ERROR: RemoteRepository(bzr+ssh://bazaar.launchpad.net/%7Escott/upstart/0.3/.bzr/)18:35
Keybukis not compatible with18:35
KeybukKnitPackRepository('file:///home/scott/co/upstart-0.3/.bzr/repository/')18:35
Keybukdifferent rich-root support18:35
ddaayou need to "bzr upgrade" your local repo18:35
Keybukmy local repo is upgraded, it's the remote repo that's the problem18:35
beunoKeybuk, what does "bzr info" say locally?18:37
beunothe online branch seems to not be rich-root18:37
KeybukStandalone tree (format: 1.14-rich-root)18:37
beunoKeybuk, so, bzr upgrade --1.14-rich-root lp:~scott/upstart/0.318:37
beunoit'll take a while18:38
ddaastatik: I like adventures.18:38
Keybukbzr: ERROR: File exists: '/srv/bazaar.launchpad.net/push-branches/00/00/17/d0/backup.bzr'18:39
Keybukbeuno: &18:39
Keybuk^ even18:39
ddaause a sftp client to nuke that18:39
ToyKeeperEh, I've found it faster and easier to delete the launchpad repo and push a new one...  upgrade takes forever.18:39
Keybukddaa: example?18:39
beunoargh18:39
Keybukquest scott% sftp bazaar.launchpad.net18:40
KeybukConnecting to bazaar.launchpad.net...18:40
Keybuksftp> cd /srv/bazaar.launchpad.net18:40
KeybukCouldn't stat remote file: No such file or directory18:40
Keybukddaa ^18:40
beunono, I think Peng uses hitchhiker18:40
beunoI know sftp doesn't work beacuse we have a custom ssh server18:41
beunoabentley, ping?18:41
ddaain my time, it used to work18:41
abentleybeuno: pong18:41
beunoabentley, hello18:41
beunocould you help us out?18:41
beuno14:39 < Keybuk> bzr: ERROR: File exists: '/srv/bazaar.launchpad.net/push-branches/00/00/17/d0/backup.bzr'18:41
beunoKeybuk wants to upgrade but it seems he's done it before18:42
ddaaKeybuk: lftp sftp://bazaar.launchpad.net/~bzr/bzr/trunk18:42
ddaayou need to specify the full branch url from the start18:42
ddaathe VFSTP does not provide intermediate listings18:42
=== Kissaki^0ff is now known as Kissaki
ddaaand you need to use lftp because it provides a nice rm -rf feature.18:43
abentleyKeybuk: Or hitchkiker lp:~scott/upstart/0.3 rmtree backup.bzr18:43
dashany bzr-eclipse people around? trying to figure out how to import an existing branch into an eclipse project18:44
ddaayeah, same difference :)18:44
* beuno spots verterok hiding in the back18:44
ddaaand you should annoy rockstar and spiv so they automatically nuke those bzr.backup dirs away18:44
ddaaon session close18:44
* verterok start running18:44
verterokhi dash!18:45
dashverterok: ello18:45
dashso I see "branch as a new project"18:45
dashbut not how to use an existing branch18:45
dashthere's nothing on eclipse's "import" meny18:45
dashmenu18:45
verterokdash: you have a local branch you want to import?18:47
dashyes18:47
verterokdash: it's already an eclipse project?18:47
dashthere's eclipse project files in the branch, yeah18:47
verterokdash: just file --> import --> existing project into workspace :)18:48
verterokdash: bzr-eclipse will detect the .bzr at the root of the project, and enable bzr support18:48
dashhmm. this is perhaps complicated by the fact that the branch root doesn't contain a .project file, there are multiple projects in the branch18:49
verterokdash: oh, just like bzr-eclipse itself18:50
verterokdash: it's a limitation of eclipse team support, and I didn't found a solution yet (apart from reimplementing a big chunk of eclipse internals :p)18:50
verterokdash: you can import the projects, and then select all the just imported project: right click --> team --> share18:51
dashhm, ok18:51
verterokdash: choose bazaar for each one, and you'r done :)18:51
verterokdash: maybe adding a wizard to simplify this would help18:51
Keybukddaa: thanks, that appears to work :)18:52
verterokdash: would you mind to file a bug with the use case and the problem?18:52
dashverterok: well, just mentioning that it's necessary would help :)18:53
dashlooks like that sorted it out18:53
verterokdash: great to know!18:53
hazmattrying to utilize loggerhead for web serving up some repos.. found an example config file in the root of the trunk.. but no directions in readme or otherwise on how to get the the serve-branches cli to utilize the config file.. any ideas?18:57
verterokbeuno: ^18:58
beunohazmat, it serve-branches doesn't use the config file18:58
beunodid you grab trunk or a release?18:58
hazmattrunk18:59
hazmati wanted to serve up multiple project branches from a single loggerhead instance..18:59
beunohazmat, and they're all in different directories?19:00
hazmattheir all under a single dir19:00
beunohazmat, so just run serve-branches on that dir19:00
beunoand it will serve them19:01
hazmatcool, i see that now.. thanks19:01
hazmatconfig file threw me off19:01
beunoyeah, we're dropping that very soon19:01
dashhm. anybody know what it takes to build the osx installer for bzr? i'd like to make one for my coworkers with bzr-svn etc included19:08
jrwrenis there an equiv of svndumpfilter ?19:16
dashthere's bzr-fastimport19:17
dashthat may not be what you want though :)19:17
kfogelIf I have did "bzr init-repo foo" ages ago, and now have foo/bar/, foo/baz/, foo/qux/, etc, can I just do "mv foo new-name" and everything will still Just Work?19:47
Peng_FYI, I used hitchhiker to "rename backup.bzr .bzr/backup.bzr".19:50
Peng_I'm sure LP doesn't appreciate me keeping 2 backups, but whatever.19:50
kfogelPeng_: not sure I understand.  "LP" = ?19:51
kfogellaunchpad?19:51
Peng_kfogel: It was in reply to a conversation an hour ago.19:52
Peng_kfogel: You can rename repositories and branches as much as you want, as long as the branches still exist in the repo.19:53
kfogelPeng_: Ah.  So even inside foo/ (or inside "new-name", post-rename), I could do "mv bar bar2; mv qux fish", and everything would still work?19:54
Peng_kfogel: Some branches may have the full path stored as their parent, push, etc. locations, but if you run into that, it's easy to fix with e.g. "bzr pull --remember".19:54
Peng_kfogel: Yup.19:54
kfogelgreat, thanks19:54
Peng_kfogel: Bazaar just searches up the directory tree for a shared repo. It doesn't care about the names themselves.19:54
kfogelgood19:55
kfogelI expected that, but wanted to be sure, before I made some names that might end up being permanent.19:55
Peng_kfogel: You could even do "mv bar baz/bananas" if you wanted to. :)19:55
kfogelPeng_: so it really just searches upward -- doesn't even need the relative distance to repos root to remain stable?  That's great, although perhaps also comes at a bit of a time cost, dunno.19:58
Peng_kfogel: Yup. It probably does have a cost, but it would be minimal. Just a couple more stat()s among the hundreds/thousands Python'll already wind up doing.20:03
kfogelheh, true20:04
=== bac` is now known as bac
flvr8i am confused. i have a bzr repository on my server at /opt/bzr/Main/trunk (an import from svn). i checked it out onto my workstation, modified the existing file "foo", and checked it back in. the file "foo" on the server (i.e. in /opt/bzr/Main/trunk) does _not_ contain my changes to it, but checking out the branch from a different machine picks up the change, and running bzr log on "foo" on the server shows my commit messages. so my 20:36
dashflvr8: pushing to a remote branch doesn't update its working tree20:37
dashyou have to do 'bzr up' to get that20:37
Peng_You can also use the bzr-push-and-update plugin.20:38
flvr8ah indeed. so where are those changes persisted until i do that?20:39
Peng_flvr8: .bzr20:43
Peng_flvr8: .bzr contains all of the history; the working tree is unnecessary.20:43
flvr8got it20:45
jrwrenbzr up -v is showing me a list of files, but then it dies with "bzr: ERROR: [Error 2] The system cannot find the file specified"20:56
Peng_More recent versions of bzr will usually be more helpful, including the filename in the error message.20:58
jrwrenthis is 1.1520:59
Peng_Sorry, i dunno. What OS? Are you using a weird file system?21:03
jrwren-Derror at least tells me its a exceptions.WindowsError21:03
jrwrenany other debug-flag that may help?21:03
Peng_Sorry, I dunno.21:03
Peng_Hopefully someone else does!21:03
jrwreni hope so too21:04
jrwrenso who can I call to pay for bazaar support?21:17
garyvdmcanonical?21:18
garyvdmjrwren: Please will you pastebin the error.21:18
=== mario__ is now known as pygi
jrwrenhttp://pastebin.ca/146529021:21
* garyvdm looks21:21
garyvdmjrwren: I've taken a look - I'm way out of my league.21:28
garyvdmjrwren: Can you rembember what you did, and see if you can reproduce this?21:29
garyvdmjrwren: Whether you can or can't, log a bug on https://bugs.launchpad.net/bzr/+filebug21:30
garyvdmjrwren: Most of the bzr devs will be asleep atm. Maybe jam is around?21:31
jamjrwren: When updating a tree21:33
jamwe stage the changes in several steps21:33
jamfirst we write down what we are about to generate21:33
jamthen we move the source files to a pending-deletion dir21:33
jamand move the new files into place21:33
jamthen we deleted the pending-deletion21:33
jamthat way we can 'rollback' at any time21:33
jamthe error I'm seeing looks like it is trying to remove a file from your working tree21:34
jamand put it into limbo21:34
jambut it is already gone21:34
jamany idea how that could happen?21:34
jam(It could also be a permission issue, such that we think the file is gone, but really it is just unaccessible by your user, etc.)21:34
garyvdmHi jam21:35
jamhi garyvdm21:35
jrwrenjam: I had the user run find \! -perm -u=rw -ls21:38
jamjrwren: are you running on Win32 ? cygwin?21:38
jrwrenand nothing showed, so she has read write21:38
jrwrenyes win32, no cygwin21:38
jam(a bit strange to run 'find' with a WindowsError)21:38
jrwrenwell, cygwin is installed, but we are using bzr from MSI21:39
jamsure21:39
jamso... I think I see the prob21:39
jrwrenwill the file list of changes show per each file, or at the end21:39
jrwrenbecuase I confirmed that every file in the list does exist on the file system.21:39
jrwreni mean, every file that is listed as M or -D21:40
jamwe have this block http://pastebin.ca/146531521:40
jamWhich is trying to handle the ENOENT case21:40
jamhowever, you are getting a WindowsError that is not ENOENT21:40
jamfor whatever crazy reason... :(21:40
jrwrenfrom what file is that, is there an easy way for me to log that full_path value on that call? or can I go hack that file?21:41
jamjrwren: you might try doing 'touch myfile' before doing the 'bzr up'21:41
jamjrwren: you are using the installed version, so it is 'compiled' python21:41
jrwrenjam: so you think it is the last file in that list?  ok.21:41
jamIf you are comfortable grabbing the source, I can do it from there21:41
jamjrwren: I honestly don't know when that list is generated versus when the renames, etc are done21:42
jambut it is a good first start :)21:42
jrwrengah, cursed compiled python.  I'm comfortable with installing python and the http://edge.launchpad.net/bzr/1.16/1.16/+download/bzr-1.16-1.win32-py2.6.exe21:43
jamjrwren: so... it looks like the list of what will be printed is generated *before* it starts touching your working tree21:44
jamso the last item on that list *should indeed* be the item causing problems21:44
jamjrwren: well py2.6 will also be the "compiled" version, IIRC21:45
jamhowever, you can download the tarball from there21:45
jamand run from source21:45
jamwe have some compiled externsions that are useful but optional21:45
jamand shouldn't have an effect here21:45
jamjrwren: and if you want to write a patch that adds a "trace.mutter('failed to rename XXX')" as part of the exception clauses21:45
jamthat would be a good start to making this easier to debug21:46
jamor even trace.note()/trace.warning()21:46
jrwrenjam: I just tried to touch, but it didn't work.21:46
jamk21:46
jrwreni'm stealing a file copy of the branch so that I can try it myself instead of on her computer.21:47
jamjrwren: sure21:47
jamgood idea21:47
flvr8anybody know how to rescue a broken svn repo? there's something in one of the modules that i'm importing which is causing very bad things to happen:   https://bugs.launchpad.net/bzr-svn/+bug/38062121:58
ubottuLaunchpad bug 380621 in bzr-svn "pull from svn repo gives: bzr: ERROR: base checksum mismatch: " [Undecided,Incomplete]21:58
flvr8(i'm the latter comments in there, but kevin - the original reporter - works on a different project at my company. i wonder if somehow our svn repo got snarled)22:00
=== mwhudson_ is now known as mwhudson
jamflvr8: did someone manually edit the svn repo?22:05
jamlike changing the author/committer/message/timestamp on an old rev22:05
jamuse svndumpfilter that sort of thing?22:05
jamanyway, I would say "start from scratch" but that can be ugly, I realize22:05
flvr8hm, no manual edits that i know of, but it is on a managed host, so there's no telling22:06
flvr8i.e. the host may have "fixed" an issue one of the developers were having using similar22:07
flvr8hm, i ran svnadmin verify on the svn repository and it reports that all is well22:24
jambtw vila, what are you still doing up?22:24
vilajam: writing the cover letter :-D I had a hell of a day (starting with a hell of a last night :) and then crashes all around...22:25
* vila fall asleekl;'mm .f .bh,hmasldf b.22:26
jamvila: sleep well22:27
jrwrenhuge kudos to the addition of the nonadmin zip file build for windows!  I love it!22:31
lifelessmoin22:39
beunohiya lifeless22:39
jelmerhey lifeless, beuno22:40
beunoheya jelmer22:40
thumperlifeless: can I skype you?  I have a few questions22:43
lifelessthumper: what about?22:52
thumperhow bad inconsistent parents are22:52
thumperI had reconciled my LP repo22:52
thumperand created the 2a repo from it22:52
thumperbut later pulling into my packs repo to bring it up to day22:52
thumperdate22:52
thumperintroduced more inconsistent parents22:53
thumpernow I'm unsure of the state of the 2a core repo22:53
lifelessso22:53
lifelessthey affect annotate and per-file log22:53
lifelessthe data that had be reconciled wouldn't have been altered by the pull22:54
lifelessyou can't [yet] check and reconcile only some revisions, but that is planned22:54
thumperwhy are we still getting inconsistent parents being generated? I don't get it22:54
lifelessif you check with -v it should report them22:55
lifelessif their revnos are recent, you shouldn't be getting them, so its a matter of tracking down why.22:55
lifelessif they were created by PQM, PQM hadn't been upgraded for some time22:55
thumperI had reconciled, I ran a check on the packs repo and found  2918 inconsistent parents22:56
thumperI reconciled just before all hands22:56
thumperso the new revisions would have been since then22:56
thumperhow can we propagate the proper parents ?22:57
lifelessthey have to be right before pull/merge/push or they don't propogate22:57
lifelessand you have to reconcile to fix22:58
thumperif I use -v will it tell me which revids are inconsistent?22:58
thumperwhat about reconcile -v?22:58
thumperif there is a flag like that22:58
thumperI'm concerned with the new 2a repo for LP and making it good and clean22:59
thumperhowever our deadline for getting it up and distributed to users was 2 days ago :)22:59
thumperand any delay hurts us more...22:59
thumperit appears that someone(s) are still generating revisions with inconsistent parents23:00
thumperpqm is on 1.13 I think23:00
lifelessyes, its very traumatic at the moment. I think I've mentioned this :P23:00
thumperATM23:00
lifelesspqm is doing 1.16 new23:00
lifelessupgaded yesterday as part of the lp upgrade process23:00
thumperok23:01
lifeless1.16rc1 specifically23:01
lifelessdoing a reconcile is technically a choice23:01
lifelessit won't [anymore] affect fetch.23:01
thumperas of when?23:02
lifelessit now only affects log FILE, annotate & pack.23:02
thumperwhy pack?23:02
ddaaHello. What's the recommended way to get the revid of a lightweight checkout?23:02
lifelessaround 1.15, but 2a is definitely safe.23:02
ddaaI presume "bzr log --show-ids" is not the righ approach as it gives the revid of the branch, which is different if the checkout is out of date.23:02
lifelessddaa: of the tree? bzrlib.workingtree.WorkingTree.open(PATH).last_revision()23:02
ddaalifeless: anything that I can run easily from the shell?23:03
lifelessthumper: because pack sorts by topology23:03
lifelessddaa: python -c !$23:03
ddaawriting rollout scripts in in sh23:03
ddaauh23:03
lifelessddaa: or perhaps bzr version-info23:03
ddaaoh, I'll look into that23:04
lifelessthumper: it won't make pack /wrong/ but it can affecct compression23:05
* thumper nods23:07
ddaalifeless: thanks, so the answer is "bzr version-info --custom --template '{revision_id}\n' [PATH]"23:10
lifelessddaa: :)23:11
ddaamwhudson: slacker23:21
ddaa(re: identi.ca)23:21
mwhudson:)23:21
mwhudsonddaa: i went to bed at 12 and got up 6:30, tim went to bed at 3 and got up at 8, jono went to bed at 1 and up at 7...23:22
=== mthaddon is now known as afk
=== afk is now known as mthaddon
ddaamwhudson: and then, you still feel the need to justify yourself? :)23:24
garyvdmlifeless: Any sort of querying of WorkingTree.inventory requires a lock on WorkingTree. Is there a way that I can create a in memory copy of WorkingTree.inventory so that I don't have to hold a lock?23:31
=== Kissaki is now known as Kissaki^0ff
garyvdmI found .copy(). I'm going to give that a try.23:35
lifelessgaryvdm: so, as I said before, I'm not sure that inventory is the right tool for what you're doing. However, yes, you can use .copy, but its extremely wasteful. Dirstate trees don't even /need/ an inventory to do most operations.23:40
garyvdmlifeless: Oh - I did not realise that there was a tree.iter_children. - Is that what think I should be using?23:44
lifelessgaryvdm: well it seems to me like you want to cache a bunch of data that bzr normally accessess just-in-time23:45
garyvdmFor WorkingTrees - Yes, but for RevisionTrees - no.23:46
lifelessgaryvdm: tree.walkdirs for instance can be very fast23:48
lifelessgaryvdm: anyhow; as long as you don't use .copy on a RevisionTree.inventory it is probably ok23:49
lifelesson a 2a format, .copy has to do scatter-gather IO across all the nodes for the tree.23:49
garyvdmlifeless: Ok.  tree.walkdirs may work for me.23:50
lifelessgaryvdm: I'm mainly worried about performance for historical revisions23:52
lifelessgaryvdm: its quite a bit cheaper on massive trees to be doing on-demand loading23:53
jelmerspiv, lifeless: Shouldn't bug 252945 be fixed by your recent hpss work?23:56
ubottuLaunchpad bug 252945 in bzr ""bzr push" uploads 1-2 MB just to send a one-line change revision" [Undecided,New] https://launchpad.net/bugs/25294523:56

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