/srv/irclogs.ubuntu.com/2011/01/25/#bzr.txt

=== wallyworld is now known as rambo
=== rambo is now known as wallyworld
pooliehi03:01
mkanatHey poolie. :-)03:02
* AfC is wondering why the Inserting stream: Estimate keeps growing slowly. Can't you just cache the current history size in the tip record?04:55
fullermdIt's just checking to see if you're paying attention   ;)05:01
lifelessAfC: it grows as we find more stuff you don't have05:30
AfClifeless: Right. I get that. But05:30
AfClifeless: would it be possible to a) cache total size (any commit knows this) +05:30
AfClifeless: or s/size # of revisions or.../05:31
AfClifeless: + b)  express a % of that size that's been reached?05:31
AfCie, just express the total target; if we get there zooooooooom fast, great! if we chug slowly, well, fine05:31
lifelessits not obvious to me how to make that work with the arbitrary DAGs that occur05:31
lifelessincluding partial history scenarios05:32
AfCbut showing a/b of a moving target is ... well, anyway I wouldn't be here offering the thought otherwise05:32
AfC{shrug} just do revision count?05:32
AfCanyway05:32
lifelessso revision count05:32
lifelesswe send revisions last05:32
lifelessdoing revision count results in no change for 95% of the push/pull, then a sudden blat and its done.05:33
lifelessI'm not saying the current impl is ideal05:33
AfClifeless: no informatio of "this tip := this many texts" or something like that?05:34
AfC(if not, pity)05:34
AfCanyway, if there was something reasonably static that isn't known at  *download* time but IS known at (say) *commit* time then perhaps it would be "more" useful...05:34
AfCas a y in x/y05:35
lifelessso, if you include a vector clock in the rev05:35
lifelesspurely informational05:35
AfCyeah05:35
lifelesswe could in principle use it - but the problem is that the db storing texts etc is not one dimensional05:35
AfCwell, fair enough05:36
AfCpity though05:36
lifelessso there is no local reference to tell us if we have 0% or 100% of each vector until we do graph traversal05:36
AfCthanks for taking the time to explain05:36
lifelessits possible something can be done - but as I say, its non obvious to me what shape that would take05:36
vilahi all07:28
inada-nHi, all.07:44
inada-nhttps://bugs.launchpad.net/bzr/+bug/17238307:44
inada-nIs this bug still in bzr?07:45
inada-nMy fellow worker can successfully add decomposed dirname recursively with bzr-2.3b5 on HFS+.07:46
vilainada-n: Hey Naoki ! AFAIK, there are still grey areas there, so tell him to report any bug it encounters07:48
inada-nOKey. I'll ask him to use bzr-2.3b5 continually.07:49
vilainada-n: thanks07:49
=== Ramosa_ is now known as Ramosa
TheSawGreetings09:56
=== Ursinha-afk is now known as Ursinha
=== zyga is now known as zyga-coffee
=== zyga-coffee is now known as zyga
sobersabrehi13:23
sobersabreI've got merging question.13:23
sobersabreI have 2 branches not related to each other. let's assume both are local master branches.13:24
sobersabrelet's name their folder /b1, /b213:24
sobersabreI want to create a folder /stuff13:25
sobersabreand to merge under it both b1 and b2, so I have ls /stuff: b1, b2,13:25
sobersabrebut so that b1,b2 are the contents of /b1, /b213:25
sobersabrehopefully all the commits are inside the rev. history of /stuff13:25
sobersabreis this possible ?13:26
vilasobersabre: yes13:27
vila:)13:27
maxbQuick question, what format are b1 and b2 in?13:28
maxbIn particular whether they are rich-root or poor-root13:28
vilain b1 : bzr join b2 (with recent enough bzr formats as maxb points out)13:28
vilasobersabre: 'join' will put b2 contents directly in b1 so move stuff around in subdirs if you prefer13:29
maxbI'm slightly unsure what would happen if both branches originated in poor-root formats13:29
vilamaxb: further merges won't work very well IIRC13:29
maxbBut, would the join even work?13:29
vilaI think so13:32
vila...or not but in this case there should be an error message13:32
maxbbzr: ERROR: File id {TREE_ROOT} already exists in inventory as InventoryDirectory('TREE_ROOT', u'p1', parent_id='tree_root-20110125133320-07vztq0cyp7mymdc-1', revision=None)13:33
vilaO_o13:34
vilaformat ?13:34
maxbthat was attempting to join two pack-0.92 subdirs into a 2a13:34
vilaouch, cross-format ! now you're naughty13:35
maxbjelmer: Hi. So, the reason for the bzr-git test failures is that bzr core has changed from emitting "Created tag foo." on stdout to emitting it on stderr in 2.314:01
maxbjelmer: And the dulwich test failures appear to be because urlparse actually behaves differently there14:17
vilamaxb: jelmer is on the move these days, he will be hard to reach14:21
maxbnp, I'll file bugs too, was just opportunistically continuing a conversation from yesterday14:21
vilaok, I wanted to make sure you were waiting in vain ;)14:22
maxbFile bug 707438 and bug 707434 ftr14:30
ubot5Launchpad bug 707438 in Dulwich "dulwich.client.get_transport_and_path sensitive to change in Python's urlparse.urlparse behaviour, causes test failures on <= karmic" [Undecided,New] https://launchpad.net/bugs/70743814:30
ubot5Launchpad bug 707434 in Bazaar Git Plugin "bzr-git tests fail against bzr <= 2.2" [Undecided,New] https://launchpad.net/bugs/70743414:30
=== Ursinha is now known as Ursinha-lunch
jammorning all15:59
jamI'm just giving Empathy a try, so sorry if I miss notifications, etc.15:59
jamhey vila, can you send me a tell? I want to make sure I get it16:05
vilajam: morning jam !16:05
vilaone more without your nick16:06
jamI think it pops up a little bubble, rather than playing a noise, and I tend to just ignore it. :(16:06
vilaby the way, do you have a patch for the wt2 failing test ? I saw a brief mail exchange with jelmer but can't find a mp for it16:06
jamvila: no mp, I just posted something to the mailing list, and wanted to get feedback on it16:09
jamI can turn it into something, I guess16:09
jamwow... I'm installing all of the launchpad dependencies, and suddenly *all* of my theming died16:11
vilasounds unrelated from this side of the ocean...16:12
jamwell, going back into "Appearance" fixed it all back16:12
jamvila: I would think it would be unrelated, except launchpad-dependencies installs about 50 packages16:13
jamand messes with your /etc/hosts and all sorts of stuff16:13
jam(rocketfuel-setup)16:13
vilayeah, too much to chew at once :)16:13
=== beuno is now known as beuno-lunch
=== Ursinha-lunch is now known as Ursinha
jamvila: https://code.launchpad.net/~jameinel/bzr/wt-case-insensitive/+merge/4742316:56
vilawaiting for lp to refresh...16:57
vilait's failing on OSX too16:57
jamvila: refreshed16:58
jamPlease test it on Mac OSX16:58
jamI'm currently logged into Ubuntu, so I can't guarantee that the change fixes it for Windows16:58
jambut if it does for OSX, then I'm pretty sure16:58
jamvila: do you remember how to configure gwibber for status.canonical.com?16:59
vilacan you remind me the -s invocation ?16:59
jamI rebuilt my install, to give it more space16:59
jamvila: "bzr selftest -s bt.per_workingtree case_sensitive"16:59
vilafixed :)17:00
vilajam: aproved17:01
jamvila: I seem to remember I needed to add a special ppa to get status.canonical.com to work, but I don't remember what it was17:05
vilaoh, yeah, sorry miss that17:05
vilaI use gwibber-bugs-unstable here17:05
vilaand install gwibber, gwibber-service and gwibber-service-statusnet17:06
vila2.91.2-0maverick1 for all of them17:07
jamvila: ppa:gwibber-bugs/unstable ?17:07
vilaI don't remember the precise invocation17:07
vilathe url I have is http://ppa.lp.net/gwibber-bugs/unstable so yeah, this should work17:08
maxbHm. I am noticing that for directories, loggerhead displays the revision and timestamp of when they were created as the "last changed"17:17
maxbI suppose that figuring out the last change in a subtree is possibly non-trivial in bzr?17:17
jammaxb: correct17:30
maxbI wonder if it would actually be more accurate to show nothing in the last-changed columns in loggerhead there17:33
jammaxb: we don't store a recursive 'last-modified' by directory17:33
jamit would be faster :)17:33
maxbThe thing is, being told that the "src" directory of your active project last changed n revision 2 in 2003 is manifestly a lie17:34
jammaxb: that was the last time that the directory object itself was changed17:34
jamnot a lie17:34
jamjust probably not what people expect17:34
vilamaxb: almost all the file systems I know of do the same...17:35
jamvila: true enough. 'ls' reports similar info17:35
* maxb is attempting to sell bzr at work, and is anticipating complaints vs. svn17:35
vilapoor reason to do it too, but still, kind of explain why we did the same17:35
maxbWhat does change a directory other than creating it?17:37
vilamaxb: adding, removing, renaming a file17:39
maxb*ah*17:39
vilaat least on file systems17:39
maxbhmm17:40
maxbbzr seems to consider changes to children don't count at all17:40
=== beuno-lunch is now known as beuno
=== Ursinha-afk is now known as Ursinha
vilayes, like file systems: mkdir -p foo; cd foo ; touch bar ; ls -al; sleep 60 ; touch bar; ls -al; cd ..17:45
jammaxb: vila should have said "adding, removing, renaming *the directory*"17:54
vilajam: adding a children *to* the directory isn't seen as a change ? Argh17:55
jamvila: nope17:55
* vila bangs head and EOD17:55
jfkwUsing Gentoo Linux package emacs-vcs, lightweight checkout bzr trunk, 117M. For the last week or so bzr pull's have been gigantic, sometimes GB.18:38
jfkw#emacs suggested I ask here. Have deleted checkout and am rerunning, will see if building tree runs quicker.18:39
jfkwFresh checkout worked very well. Any tip I can pass along to other Gentoo users about why the checkout might have gotten to that state?18:42
maxbjfkw: Are you pulling over a smart or dumb transport?18:46
maxbi.e. what is the pull source URL18:47
cody-somervilleabentley, Hey18:49
abentleycody-somerville, hey.18:49
cody-somervilleabentley, What would make bzr-pipeline's sync-pipeline think a new branch needs to be created for a pipe? Its currently failing for me trying to create a new pipe that already exists remotely.18:50
abentleycody-somerville, if there's no pipe with the correct name in the remote pipeline, it creates it.18:51
cody-somerville$ bzr sync-pipeline18:51
cody-somervilleCreating new pipe "sg-2.x"18:51
cody-somervillebzr: ERROR: Branch in the way at bzr+ssh://bazaar.launchpad.net/~oem-solutions-cdimage/live-build/sg-2.x/.18:51
abentleycody-somerville, Right.18:52
cody-somervilleI've already synced sg-2.x before as you can see18:52
abentleycody-somerville, No, that demonstrates that you've push or synced it, and if you only pushed it, then it won't be part of the remote pipeline.18:53
cody-somervilleabentley, Well, I did sync it.18:53
cody-somervilleabentley, so should I just delete the sg-2.x branch on launchpad?18:54
abentleycody-somerville, what's another pipe in the remote pipeline?18:54
cody-somervillebzr+ssh://bazaar.launchpad.net/~oem-solutions-cdimage/live-build/misc-oem-patches/ is the pipe before sg-2.x18:54
jfkwmaxb: /usr/portage/distfiles/bzr-src/emacs-trunk $ bzr info Lightweight checkout (format: 2a) Location: light checkout root: . checkout of branch: bzr://bzr.savannah.gnu.org/emacs/trunk/ shared repository: bzr://bzr.savannah.gnu.org/emacs/18:55
maxbhmm, so it is a smart server18:55
maxbIn that case, this goes beyond my knowledge18:55
abentleycody-somerville, does "bzr show-pipeline" show the exact same list as "bzr show-pipeline bzr+ssh://bazaar.launchpad.net/~oem-solutions-cdimage/live-build/misc-oem-patches/" ?18:57
cody-somervilleabentley, Yes except for the new pipe I'm trying to sync called default-lb-root-command-to-sudo-linux32-for-i38619:00
abentleycody-somerville, is that at the beginning of the pipeline?19:01
cody-somervilleabentley, no, after the first19:01
abentleycody-somerville, I can't see anything wrong with your setup.  I guess this is a bug that I didn't know about.19:02
cody-somervilleabentley, Anything I can do to debug?19:03
abentleycody-somerville, run "bzr missing" to compare your local and remote copies of sg-2.x19:05
cody-somervilleI had to use "bzr missing :push" and I have 2 extra revisions locally19:07
abentleycody-somerville, could you re-run sync-pipeline with "bzr -Derror"?19:09
cody-somervillehttp://pastebin.ubuntu.com/558218/19:10
abentleycody-somerville, thanks.  I don't think I can do much more without a way to reproduce it.  I'm guessing they're big branches?19:13
cody-somervillenope19:14
abentleycody-somerville, okay, could you upload exact copies of your pipes to devpad?19:16
cody-somervilleabentley, using sync-pipeline? lol19:17
abentleycody-somerville, no, file-by-file exact copies.19:17
cody-somervilleabentley, okay if I upload a tarball?19:18
abentleycody-somerville, sounds good.19:18
abentleycody-somerville, include the shared repository, if there is one.19:21
cody-somervilleabentley, okay, all uploaded to my home dir on devpad19:25
abentleycody-somerville, thanks.  I've been mirroring the remote pipeline.  Give me a sec to verify it.19:26
cody-somervilleabentley, hmm... I'm going through the code in pdb19:38
cody-somervilleabentley, for some reason, remote_manager.list_pipes() is only returning the first pipe in the pipeline19:39
abentleycody-somerville, and the first pipe is "live-build"?19:40
cody-somervilleabentley, yup19:40
cody-somerville(Pdb) p remote_pipes19:40
cody-somerville[(u'live-build', RemoteBranch(bzr+ssh://bazaar.launchpad.net/~oem-solutions-cdimage/live-build/live-build/))]19:40
abentleycody-somerville, indeed, live-build does not link to the next pipe in the pipeline.19:41
abentleycody-somerville, I am going to update the branch.conf in "live-build".19:43
cody-somervilleI wonder what could have caused that.19:44
cody-somervilleabentley, btw, I really enjoy using pipeline (even though I'm still figuring out the best ways to use it).19:45
abentleycody-somerville, I would guess a new copy of live-build was pushed at some point.19:45
abentleycody-somerville, I'm glad.  That's certainly a big pipeline you've got goingl.19:46
abentleycody-somerville, anyhow, I think it's fixed.  Please try sync-pipeline.19:47
cody-somervilleabentley, since it seems like the other pipes in the pipeline have all the info about the rest of the pipeline, maybe it would be possible for sync-pipeline to figure out how to repair the remote pipeline in cases like this?19:47
abentleycody-somerville, yes, it should.  Right now, it doesn't even notice the inconsistency, though.  I've got a bug for that.19:48
cody-somervilleabentley, Does it look like I'm using pipes right? What I'm doing is creating a new pipe for each patch I create on top of upstream like in the example.19:49
cody-somervilleabentley, I think having the ability to rebase would be useful FYI19:50
abentleycody-somerville, yes, it looks like you're using it "right", but I don't do packaging, so please let me know if my ideas are impractical.19:51
cody-somervilleabentley, I'm not using this so much for managing the packaging but instead patches directly against upstream that I want to submit upstream19:51
cody-somervilleabentley, I have a single pipe at the end that I use to maintain my changes to the debian packaging provided by upstream and document changes made in my pipes.19:52
cody-somervilleI think I might want to start modify the changelog in each individual pipe and then merging the changelog as I go along so that when I remove a pipe (say upstream accepted it), I can easily merge out the changelog entry along with any straggling delta.19:53
abentleycody-somerville, do the patches depend on one another?19:53
cody-somervilleabentley, most don't19:53
abentleycody-somerville, I'm not sure pipeline is the correct tool, then.  I would try to maintain independent patches as separate branches.  What do you like about pipeline for what you're doing?19:56
cody-somervilleabentley, bzr pump :-)19:57
cody-somervilleabentley, and bzr sync-pipeline19:58
cody-somervilleabentley, and bzr show-pipeline19:58
cody-somervilleabentley, and bzr add-pipe is fast19:58
cody-somervilleabentley, and I can decide where in the pipeline I want my patch to be very easily19:58
cody-somervilleabentley, and can easily see the changes introduced in a range of pipes19:58
abentleycody-somerville, so for your use case, it would be good to have a tool designed to manage an integration branch.19:59
cody-somervilleand I know that pipes closer to the top are closer to upstream's branch and pipes lower in the pipe are further diverged.20:00
abentleycody-somerville, where each patch was an independent branch, but they still all got merged into the integration branch in a pump-like operation.20:01
cody-somervilleabentley, I like how I only have one directory with everything in it20:01
abentleycody-somerville, pipeline could be that tool, but the UI could become a nightmare if done poorly.20:01
abentleyWhich is why I haven't done it yet.20:02
cody-somervilleI personally think pipeline should become a part of bzr20:02
abentleycody-somerville, apparently they're looking at something like that.20:02
abentleycody-somerville, You can also get fast branching by explicitly using a shared repository and a lightweight checkout.20:03
abentleycody-somerville, you can get branches-all-in-one-directory with the "bzr-colo" plugin.20:05
abentleycody-somerville, not to discourage you from using bzr-pipeline, just to let you know that not everything is pipeline-specific.20:06
cody-somervilleok20:06
abentleycody-somerville, In fact, I tried to use existing tech wherever I could.20:07
abentleycody-somerville, anyhow, is sync-pipeline working properly now?20:17
cody-somervilleabentley, yup20:29
abentleycody-somerville, great.20:29
vanguardI have some tags in my branch that I do not want, I removed them but they come again and again through pull/push. What can I do?20:56
maxbvanguard: the only way to get rid of a tag is to explicitly delete them from all branches in which they exist21:07
vanguardand not pull/push in the meantime?21:09
vanguardhow do I get rid of the tag in lp?21:09
maxbbzr tag -d lp:foo --delete tagname21:10
vanguardmaxb: thanks, I'll try that. I just have the branches on three machines myself, +lp + whoever else ... endeavor to go :D21:57
maxbwoo, fixed dulwich except on lpia23:08
jammaxb: what's funky about lpia?23:30
jam(just wondering why it would be fixed everywhere but there)23:30

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