/srv/irclogs.ubuntu.com/2010/12/17/#bzr.txt

maxbjames_w: Hi. If you're around, I'm staring at the complex comparison logic that the UDD importer uses to decide which order to do imports in, and am wondering why it is the way it is01:08
maxbI think I can blame the insane branching structure that results when unblocking a long-broken UDD import on this ordering01:09
RenatoSilvahow to diff two branches? I remember using a command for checking if local copy was up-to-date with LP01:24
RenatoSilvais bzr pull enough?01:24
spivRenatoSilva: perhaps you are looking for "bzr missing"?01:25
RenatoSilvaspiv: that's it, thanks!01:26
AfCspiv saves the day02:04
=== frakturfreak_ is now known as frakturfreak
=== BasicPRO is now known as BasicOSX
wallyworldspiv: can you answer a question about branch revisions?03:53
wallyworldcan you tell me, given a BranchRevision, the correct way to figure out if the revision was from merging in another branch and what that other branch is? Do you look for some attribute of any revision parents? i'm currently looking at the first parent and use getBranch() on that. is that the right thing to do?03:53
spivwallyworld: Hmm03:59
spivwallyworld: I'm not especially familiar with Launchpad's BranchRevision...04:00
spivwallyworld: all bzr records is the DAG of revisions04:00
wallyworldthe BranchRevision joins the branch to its Revisions04:00
wallyworldin bzr terms, what would you do?04:01
spivThere's no way in general to go from a revision to a branch that created it.  For example imagine there are two identical copies of a branch pushed to different locations on Launchpad.04:01
spivIf the tip revision is merged into another branch, which copy would you want to attribute as the merge-from branch?04:02
wallyworldhmmm. i see what you mean04:02
wallyworldi'm working on this bug 33433604:02
ubot5Launchpad bug 334336 in Launchpad itself "Show which branch and bug are related to a revision" [High,In progress] https://launchpad.net/bugs/33433604:02
spivIn many cases in Launchpad I could imagine that there *might* be one most likely branch.04:02
wallyworldto answer your question, perhaps the original branch of the tip, not the one merged into04:03
spivWhich branch is the "original", though?04:03
wallyworldon seconds thoughts, maybe not :-/04:03
wallyworldis the bug reasonable then? or should we mark it as invalid?04:04
spivI think it is reasonable in intent, but a bit vague.04:04
wallyworldyeah. i've got something working based on what i explained above. i'll run it by thumper next week and see what he says04:05
spivLaunchpad does know more facts than just the DAG, like perhaps that merge proposal existed for a branch with that revid04:05
wallyworldthanks for the input04:05
spivI would say that *if* there is one branch on Launchpad whose tip is the revision you are interested in, then you have a pretty good answer.04:06
spivAnd that will probably cover quite a few cases.04:06
spivOtherwise maybe something like "the first time Launchpad encounters a revision as a mainline revision, Launchpad should take note of that branch and treat it as the 'original' branch for these purposes"04:07
spivThere are going to be lots of edge cases no matter what you do, I think.04:08
spiv(e.g. what if someone does "bzr push --overwrite" or "bzr uncommit" to partially rewind a branch?)04:08
spivwallyworld: if you'd like a concrete use-case to guide your work04:09
spivwallyworld: what I'd love to have is say I'm looking at the webpage for lp:bzr04:10
spivwallyworld: I'd like the list of recent revisions there to link to the branches and even merge proposals corresponding to those revisions04:10
spivwallyworld: (in bzr's case, almost all our mainline revisions on lp:bzr and our release branches do have corresponding merge proposals)04:11
wallyworldspiv: here's my prototype so far : http://people.canonical.com/~ianb/br.png04:12
spivwallyworld: that would be nice because it gives me a single page that not only shows the recent changes to the branch, but also provides links to the discussions (in merge proposals, and bugs linked to branches) about those changes04:12
spivwallyworld: yes, that sort of thing :)04:13
wallyworlddoes that look suitable? i could add in the mp too04:13
wallyworldso it's just figuring out how to get that "Merged From" branch04:13
spivThe MP might be good.04:13
spivAlthough it's not too hard to navigate from a branch to a merge proposal, IIRC.04:14
wallyworldthe mp is easy :-)04:14
james_wmaxb, you mean comparing distros, releases, versions etc?04:14
=== tchan1 is now known as tchan
vilahi all !07:53
=== marienz_ is now known as marienz
mthaddonvila: do you know who filed RT#42981 (Some committers lack access to some bzr pqm branches)?12:15
vilamthaddon: yes, me12:33
vilaanything wrong with it ?12:34
mthaddonvila: np - just couldn't work out who it was from - have replied12:34
vilamthaddon: oh yeah, indeed sounds sensible...thanks for posting the definitions, we could discuss it further but we will probably keep it this way12:37
mthaddonok12:37
=== Meths_ is now known as Meths
=== mnepton is now known as mneptok
dnivrahello. i am trying to make bzr display a message but I can't display an email address-i get the following error http://paste.ubuntu.com/544937/. how can i fix it?16:58
ovnicrafthi guys i want to create a branch at revno explicit can pass some like bzr branch lp:proyect -r myrevno ?17:19
vilayes17:23
vilasee 'bzr help branch' and bzr help revisionspec'17:24
vilasee 'bzr help branch' and 'bzr help revisionspec'17:25
=== deryck is now known as deryck[lunch]
ovnicraftvila, yes but can help with an example17:39
ovnicraft?17:39
ovnicrafti am trying bzr branch lp:proyect revno:num but create a folder with revno:num17:39
vilabzr branch -r 42 lp:bzr my-local-branch-at-revno-4217:40
=== Ursinha is now known as Ursinha-afk
mkanatSo, I just filed bug 691756. Any ideas for a fix or workaround?23:38
ubot5Launchpad bug 691756 in Bazaar "unversioned files underneath a directory that is now a symlink cause bzrlib.errors.PathNotChild " [Undecided,New] https://launchpad.net/bugs/69175623:38

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