/srv/irclogs.ubuntu.com/2010/10/27/#bzr.txt

maxbWhat is the actual format of dump-btree --raw on a .rix /00:12
maxb?00:12
spivmaxb: in what sense?  you mean where is there a description of how to parse that format?00:19
spivmaxb: the docstring for bzrlib.btree_index.BTreeBuilder is probably a decent reference00:21
maxbseems so00:22
maxbI'm peeking at that corrupt openobject branch00:22
spiv(Despite the embarrassing mistake in the definition of the _SIGNATURE part...)00:22
maxbThere's something very dodgy in the .rix of the last pack - it contains CR bytes!00:22
spivOoh, wacky!00:25
spivAfter decompression?00:25
maxbafter dump-btree --raw00:26
thumperspiv: hi00:26
thumperErrorFromSmartServer: Error received from smart server: ('error', 'Error -3 while decompressing: incorrect data check')00:27
thumperspiv: is there a repair thing I can use on the server side?00:27
thumperspiv: or are we talking restore from backup?00:27
maxbThat sounds like the branch I was looking at :-)00:27
thumpermaxb: maybe00:27
thumpermaxb: more like hopefully00:28
thumpermaxb: which branch are you looking at?00:28
spivthumper: "that corrupt openobject branch"00:29
thumperspiv: yeah00:30
maxb~openerp/openobject-addons/trunk to be precise00:32
maxbwell that's disconcerting.00:34
maxbI spliced the latest pack out of pack-names, and attempted to branch a revision left in the result.00:34
maxbIt still died00:34
wallyworld_quick ? - i have a lw co of launchpad branch db-devel. bzr info says submit branch is devel, i want to change it to db-devel. i tried editing the branch.conf with submit_branch = ... but no luck. any ideas?00:41
spivmaxb: hmm :(00:43
maxbWell that's bad. The busticated content is in a GC block in the oldest largest pack file in the branch00:44
maxbwallyworld_: I don't usually use lw cos, but I would tend to assume that they would not even have a branch.conf00:45
spivwallyworld_: did you edit the .bzr/branch/branch.conf in the checkout?  That doesn't exist.  It only applies to the branch.00:45
spivmaxb: ouch00:46
wallyworld_spiv: i think i created a branch.conf file with submit_branch= in it hoping that would work00:52
wallyworld_my workflow:  bzr checkout --lightweight bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/launchpad/db-devel db-devel00:54
wallyworld_this creates a local copy which i then branch from as required: bzr branch db-devel mynewbranch00:55
maxbUnless your development workstation is in the launchpad datacentre, I wouldn't recommend using a lightweight checkout00:55
wallyworld_what i do is create a "master" lw co and then have several sandboxes which i use bzr switch with00:56
wallyworld_eg devel-sandbox. this one has the working tree00:56
wallyworld_so i have separate working tree and branch directories and i reuse the working tree dir when i switch between branches00:57
wallyworld_so i reduce local disk space by only having 1 or 2 full working tree directories00:58
wallyworld_at least that's how i was recommended to do it when i started :-)00:58
maxbOh you're doing all of this inside a shared repository aren't you00:59
wallyworld_i've been mainly working with devel not db-devel but just need to get my db-devel branch to accept that i want the submit_branch to be db-devel not devel00:59
wallyworld_yes00:59
maxbWhy use --lightweight at all then?01:00
wallyworld_i think i did a bzr repo-init or somwthing in my top level lp-branches dir01:00
wallyworld_that's how i was recommended? :-)01:00
wallyworld_the idea is to only have one or two full working trees on disk and share these amongst the branches you are working on by doing a bzr switch as required01:01
maxbIIUC, you can only set things like submit_branch on a branch. And a lightweight checkout is not a branch01:01
wallyworld_oh, ok. so bzr info showing devel being the submit branch must be a default or somwthing01:02
wallyworld_i also tried hacking the .bazaar/locations.conf file01:03
wallyworld_it seems you can create config blocks for branches in there01:03
wallyworld_with things like push_location:policy = appendpath etc01:04
spivwallyworld_: a lightweight checkout is a reasonable thing to use01:10
spivwallyworld_: but make it a checkout of a (treeless) branch you create in your local shared repo01:11
spivwallyworld_: rather than of a ~launchpad-pqm branch that you can't possible 'bzr commit' directly too01:11
spivwallyworld_: and then you can use the local branch's branch.conf (or create a locations.conf entry that covers that *branch*)01:12
wallyworld_spiv: i have --no-trees or something set globally. so i was just pulling from the wrong place initially?01:12
spivwallyworld_: the key thing here being that "submit branch", like most things, is a setting on a *branch*01:12
spivwallyworld_: so a checkout doesn't have a submit branch itself, it just asks its branch for that setting, just as it asks it for the revision contents, etc.01:13
wallyworld_spiv: yes. that's why i have a "master" db-devel branch locally which i then branch from as i need to01:13
spivwallyworld_: that's not the workflow you described01:14
spivwallyworld_: your workflow description starts with you making a local *checkout* of db-devel01:14
wallyworld_seems like i messed up getting the initial local copy of db-devel then?01:14
spiv(A lightweight one at that!)01:14
spivYou want a local branch of db-devel01:15
wallyworld_yeah, i've had the devel one for so long i forgot how to "seed" a new one01:15
spivYou can probably just go to your 'db-devel' checkout and do "bzr reconfigure --branch"01:16
spivI'm not certainly this is the cause of your immediate problem, but it's likely to be related.01:16
wallyworld_cool. thanks. i'll give it a go. and the branch i've already peeled off that db-devel will be ok still?01:16
spivYes.01:17
spivWell,01:17
spivIt'll probably think it's parent branch is the one on launchpad rather than your local mirror.01:18
spivCheck the 'bzr info' output.01:18
wallyworld_will do01:18
wallyworld_it would be great to have a way for point bzr to a top level projects directory and have it tell you things like what shared repos there were, what types of branches etc01:19
wallyworld_a global overview if you like01:19
spivYes, that would be nice.01:21
spivA bit tricky because there's not really any concept of a "top level projects directory" or anything like that in bzr except by convention.01:21
wallyworld_spiv: the reconfigure fixed the "master" db-devel but the one i am using shows parent_branch=~projects/lp-branches/db-devel (correct) but submit_branch=~projects/lp-branches/devel (incorrect)01:21
spivWell, you should be able to fix that from the branch.conf or via locations.conf01:22
wallyworld_with the overview thing, you would just give it a top level directory and it would decend to all the subdirs and see what i would find01:22
spiv(vila is working on a config system improvement that will be able to tell to exactly where a given setting is coming from)01:23
wallyworld_:-)01:23
wallyworld_spiv: i edited the branch.conf for my working branch (it already had parent_location=../db-devel) and added submit_location=../db_devel but bzr info still has submit_branch wrong01:26
wallyworld_thanks for the help and your patience btw :-)01:27
spivwallyworld_: the setting is "submit_branch"01:29
spivnot "submit_location"01:29
wallyworld_tried that too, but found something01:30
wallyworld_in ~/.bazaar/locations.conf, there is a [/home/ian/projects/lp-branches] section as well as [/home/ian/projects/lp-branches/db-devel]01:31
wallyworld_it seems the stuff in [/home/ian/projects/lp-branches] overrides the other settings01:31
wallyworld_i would have though it was the other way around01:31
wallyworld_and both of these seem to override what's in the local branches.conf file ??01:32
wallyworld_everything seems upside down01:32
spivYes, locations.conf overrides branch.conf: the idea is that branch.conf might not be under your control (e.g. for a remote branch) but locations.conf always is01:36
wallyworld_ah, ok. makes sense now. thanks.01:36
spivSo it allows a branch owner to specify what they consider reasonable defaults for some things, but users can still set their own policy.01:37
wallyworld_so i guess i don't really need a locations.conf if i am working locally01:37
spivWell, I actually go the other way:01:37
spivI just do everything in locations.conf01:37
spivBecause for me it's simplest to just have one place with all the settings,01:37
spivbut more importantly because locations.conf allows you to set something once for many branches01:38
wallyworld_ok. but then i would need new config sections for each new local branch i create eg  [/home/ian/projects/lp-branches/xxxx] ??01:39
wallyworld_i have a section for db-devel but stuff i branch from my local db-devel doesn't seem to reflect that when a do a bzr info01:40
spivwallyworld_: that's what the foo:policy = appendpath is about01:41
wallyworld_ah. makes sense. i need to go off and rtfm. sorry01:42
wallyworld_i just copied those settings from an existing file and never really knew what they were for01:42
spive.g. I have push_location = lp:~spiv/bzr  and  push_location:policy = appendpath  for the directory I keep my bzr branches in01:42
wallyworld_light bulb goes on. thanks again for your help. really appreciated.01:43
spivNot a problem.01:44
spivIt's a bit too fiddly :/01:44
spivIt works well once you know how to use it, though.01:44
wallyworld_the reason it's important is that i improved the bzr intellij plugin to allow change tracking against the submit branch and if the submit branch is wrong it sort of defeats the purpose01:45
wallyworld_yeah, as a new user to bzr, there's a lot to learn01:45
wallyworld_but i do really like bzr more than others i've used01:46
thumpermaxb: ping01:55
thumper<maxb> Well that's bad. The busticated content is in a GC block in the oldest largest pack file in the branch01:55
thumpermaxb: was that the openobject-addons?01:56
maxbthumper: hi, and yes. I have noted on the bug 66664202:21
ubot5Launchpad bug 666642 in Launchpad Bazaar Integration "incorrect data check branching lp:openobject-addons (affected: 3, heat: 16)" [Critical,Confirmed] https://launchpad.net/bugs/66664202:21
thumpermaxb: yep, ta, just commenting now02:21
dOxxxhowdy02:23
dOxxxgot a question about blackbox testing in bzr... how would I validate that a bzr command is changing the bzr config correctly, without affecting the user's bzr config?02:24
spm*** FYI. codehost will be done shortly for an update. actual downtime should be < 30 seconds ***02:44
spmtaking it down now02:45
spmand should be fine again02:47
=== dOxxx is now known as dOxxx_away
jamspiv: are you sure the email you replied to isn't just a troll?03:04
spivjam: hmm03:05
fullermdEh, he's always seemed honest to me.  Quirky nutcase, but an honest quirky nutcase.03:06
spivjam: grumpy certainly, but googling does indeed suggest they have their own SSH implementation.03:06
jam you mean lsh, or something else?03:06
spivSomething else.03:06
spivPossibly something private.03:06
spivA quick google didn't find it (although it did find a reference to it)03:07
spivGiven their attitude to the GPL I doubt they'd use GNU's ssh :)03:07
spivdOxxx_away: the bzr TestCaseInTempDir class should insulate you from the user's config03:08
spivdOxxx_away: grep for 'config' in the existing tests, perhaps03:08
* spiv -> lunch03:09
=== dOxxx_away is now known as dOxxx
dOxxxthanks spiv04:44
dOxxxnight all05:41
Glenjaminhi guys, has anyone experienced a "too many open files" error hosting the smart server over http using mod_wsgi?09:31
GlenjaminAfter much googling the theory is that there are some leaking file handles, and the long-running wsgi process ends up hitting the limit09:32
Glenjaminbut i have no idea how to test that theory09:32
maxbYou should be able to prove/disprove that easily with lsof -p PID#09:32
Glenjamini did lsof and counted the number of files for root, www-data and the user wsgi runs bzr as - all three were within the limit09:34
Glenjaminbut the requests still got the error09:34
Glenjaminoh, progress09:37
Glenjaminit apepars after each request the number of handles to bzr.log increases09:38
Glenjaminwhich means it's not bzr, it's my wsgi wrapper09:38
Glenjaminoh balls, i'm opening the bzr log on every request - due to not understanding how wsgi works at all09:40
ssandberg_hi! is there a way to cherry-pick a changeset (bzr merge -r from..to) and include the changeset comments?14:56
pooliesorry, no14:56
poolieonly as text14:56
ssandberg_poolie, ok, that's a pity. do you know if there are any plans to add this? is there a bug report?14:58
poolieyes there is14:59
abentleyjames_w: What's the difference between NestPartInstruction.target_subdir and ChildBranch.nest_path ?15:12
pooliemeeting now about launchpad for upstreams in #ubuntu-uds-bonaire115:13
=== oubiwann is now known as oubiwann-away
=== oubiwann-away is now known as oubiwann
james_wabentley, where it is coming from and where it is going15:15
abentleyjames_w: Remember, ChildBranch.nest_path is unset for NestPartInstructions.  What is the equivalent of ChildBranch.nest_path for NestPartInstruction?15:17
abentleyjames_w: Is NestPart.subpath the equivalent of ChildBranch.nest_path ?15:19
abentleyjames_w: FWICT, target_subdir is the TARGET-DIR in "nest-part NAME BRANCH SUBDIR [TARGET-DIR [REVISION]]" and nest_path is the TARGET-DIR in "nest NAME BRANCH TARGET-DIR [REVISION]", so why aren't they the same variable?15:29
ovnicrafthi folks, i get myaddons/ in branch but i want to create a branch for each dir inside myaddons/ as a multibranch and keeps sync, there is any support in core of bzr?15:32
poolienot in core, i suggest you use scmproj15:34
=== Ursinha is now known as Ursinha-afk
ovnicraftpoolie, its supported in lp?15:36
pooliewhat would you want lp to do with it?15:36
Takis the cleanup_now() method no longer used in the bzrlib command api?15:43
=== Ursinha-afk is now known as Ursinha
=== Meths_ is now known as Meths
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
james_wabentley, I don't know offhand16:01
abentleyjames_w: I see that TARGET-DIR is optional for nest-part.  What do you do if you want to specify a REVISION, but not a TARGET-DIR?16:02
james_wabentley, you specify a target dir16:04
abentleyjames_w: what target dir would you specify?16:05
=== oubiwann is now known as oubiwann-away
=== oubiwann-away is now known as oubiwann
roryyhrm16:59
roryydoes anyone use wine on linux to run bzr selftest?16:59
poolieroryy, yes, i do17:00
poolienot automatically, but from time to time17:00
poolieit's good17:00
roryycool17:00
roryydo you use wineconsole ?17:00
pooliei mostly use just 'wine python ./bzr ....'17:01
pooliethere are some list posts about it17:01
pooliemay also be something in the testing gudie17:02
roryycool, ta17:03
lvhHello17:11
lvhIs there a way to push a bzr branch to svn?17:11
lvhIdeally, I'd like to create a bzr repo from svn, branch (with bzr), and then put that branch on the svn repo.17:11
dashyes.17:11
dashit pretty much Just Works.17:12
Glenjaminif you install bzr-svn (a plugin), it just works :)17:12
poolieroryy, some tests probably fail but bugs or patches are very welcome17:12
roryypoolie: cool.  mgz got a funny result on win with a merge i proposed, but i can't reproduce it under wine17:13
pooliemeeting now about bzr and ubuntu in #ubuntu-uds-curacao1217:14
mgedminsuppose I have a checkout, not updated lately17:17
mgedminhow can I find how what would be changed if I run 'bzr up'?17:17
mgedminI don't see a --dry-run in bzr help up17:17
vilamgedmin: bzr missing17:17
mgedminbzr: ERROR: No peer location known or specified.17:17
Glenjaminbzr missing :bound17:18
mgedminis there a short name for "the branch I'm a checkout of", or do I need to copy and paste--- thanks for preempting my question with an answer!17:18
mgedminawesome17:18
pooliebzr st -r :bound ?17:18
pooliemgedmin, you could file a bug asking for 'update --dry-run'17:19
mgedminI'm surprised you don't already have a bug "every command should have --dry-run"17:19
* Tak bzr info --dry-run17:19
pooliewe may?17:20
Takis UDS the reason that nobody at canonical is responding to email?17:20
mgedminhttps://bugs.launchpad.net/bzr/+bug/3782917:20
ubot5Launchpad bug 37829 in Bazaar "dry-run option for pull, merge, etc (affected: 0, heat: 0)" [Low,Confirmed]17:20
vilamerge has --preview17:20
poolieTak, probably :)17:21
poolieany mail in particular?17:21
Takok - at least there's a reason ;-)17:21
pooliei've been dealing with some17:21
Takmyself and a coworker have sent some commercial-launchpad-question -related emails this week17:21
Taktsk, it's even in orlando - a year ago I would have dropped by17:23
* mgedmin wishes 'bzr unbind' wouldn't just forget the url17:23
jelmermgedmin: I think it's a feature, that way you can easily unbind and rebind17:23
mgedminoh, it remembers!  I assumed it forgot because 'bzr info' didn't show any related branches17:25
mgedminI could've done bzr pull :bound --remember17:25
mgedmininstead of copying and pasting the url from my scrollback17:25
Remaillehi, I have some code in a folder, I did a bzr init17:26
Remailleand now I want to upload all of it into LP17:27
RemailleI did a : bzr push lp:name17:27
Remailleand i have : "No new revisions to push."17:27
vilaRemaille: may be you should create a revision now before pushing: bzr add ; bzr commit -m 'import blah' ; bzr push17:27
RemailleThis branch is empty.17:28
Remaillehum ok17:28
vilaRemaille: then there is nothing to push17:28
poolieTak, i'll ping people17:28
Takwell - I don't want to make trouble17:29
Takbut otoh, I /do/ want everyone here to be blown away by launchpad's awesomeness17:29
Remaillevila, ok thanks a lot17:29
RemailleI use bzr once every two years :-)17:30
vilaRemaille: start by using it once a year then :)17:32
Remaille:-)17:32
Remailleand write down on a txt file what you told me :-) maybe you answered the same question from me two years ago ? ;-)17:33
vilaRemaille: I can't remember that far, that's why I use a DVCS ;)17:34
mgedminbug 117:35
ubot5Error: Could not parse data returned by Launchpad: list.index(x): x not in list (https://launchpad.net/bugs/1)17:35
mgedminoops, wrong channel17:35
james_wabentley, any target dir you want. You probably want the same as the source dir, as that is what you get if you specify nothing18:52
abentleyjames_w: So generating a manifest for "nest-part packaging lp:~foo-dev/foo/packaging debian" would produce "nest-part packaging lp:~foo-dev/foo/packaging debian debian $REVISION"18:59
james_wabentley, hmm, not sure, might be a bug19:00
abentleyjames_w: I think that is what it has to produce.  Based on the code, I think it actually produces "nest-part packaging lp:~foo-dev/foo/packaging debian $REVISION", but that would cause $REVISION to be interpreted as TARGET-DIR.19:01
james_wI think it would produce "nest-part packaging lp:~foo-dev/foo/packaging debian None $REVISION"19:01
abentleyjames_w: There is a conditional on whether target_subdir is None.  If it is None, I believe it is completely excluded.19:03
james_wright19:03
abentleyjames_w: Which makes me think it would not produce "None" in "nest-part packaging lp:~foo-dev/foo/packaging debian None $REVISION"19:04
james_wright, you are correct19:05
abentleyjames_w: I can patch it.  Do you think the "debian debian" version is the correct manifest output?19:07
james_wabentley, https://code.edge.launchpad.net/~james-w/bzr-builder/fix-nest-part-manifest/+merge/3946619:07
abentleyjames_w: that will not roundtrip perfectly.  Is that acceptable to you?19:09
james_wwhy won't it?19:10
abentleyjames_w: get_recipe_text will convert "nest-part packaging lp:~foo-dev/foo/packaging debian" into "nest-part packaging lp:~foo-dev/foo/packaging debian debian"19:11
abentleyjames_w: if you wanted to make the roundtripping perfect, you would need to do "if target_subdir is None and revid_part is not None"19:13
james_wabentley, I agree, but my test is saying different19:13
abentleyjames_w: branching...19:15
james_wabentley, I mean the second test I just wrote to fix that issue19:15
james_wdamn, my fault19:16
james_wabentley, just pushed a new revision19:22
abentleyjames_w: r=me19:26
abentleyjames_w: thanks.19:26
james_wthank you19:26
james_wneed a release?19:26
abentleyjames_w: no, at this point we're not using manifests in anger.19:27
mtaylorGAH19:28
mtaylorbzr: ERROR: Tree transform is malformed [('unversioned executability', 'new-737'), ('unversioned executability', 'new-738')]19:28
mtaylorI thought that was fixed like a million years ago19:28
mtaylorhttp://paste.drizzle.org/show/103/19:29
abentleymtaylor: sorry.19:29
mtaylorabentley: do I just suck?19:30
abentleymtaylor: This would be a case where one side deleted a file and the other side changed its executability.19:30
mtaylorabentley: oh, lovely19:30
mtaylorabentley: is there anyway for me to find out which file?19:30
mtaylorabentley: because I can gladly fix it in one of the trees19:31
abentleymtaylor: I think this requires setting a breakpoint where the exception was raised and then calling TreeTransform methods.19:32
james_wmtaylor, we probably didn't squash all the cases19:37
james_wmtaylor, can you tell me how to reproduce?19:37
mwhudsonBZR_PDB=1 should get you to an appropriate pdb prompt?19:37
abentleymtaylor: tt._new_name.get('new-737') or tt.tree_id_paths.get('new-737') should give you the name or path.19:38
lvhWhat are things like "lp:" called? Can I add my own?19:38
mwhudsonlvh: its a directory service, and yes19:39
lvhmwhudson: Aha, thanks19:39
abentleylvh: mostly, you need to write a plugin to do so.19:39
mwhudsonyeah, you need a plugin19:39
lvhright, but I can just use the bookmark plugin and cover most use cases, right?19:40
mwhudsonyeah, the bookmark plugin handles many cases19:40
abentleylvh: that will work great for static assignments.  For dynamic ones, like expanding prefix:* => http://example.com/*, I have bzr+ssh://bazaar.launchpad.net/~abentley/%2Bjunk/openlookup/, but it's not documented.19:41
lvhabentley: Aha, thank you. I will take a look at that19:42
mtaylorjames_w: grab lp:~mordred/drizzle/test-elliott-release and then http://wc220.com/drizzlefiles/drizzle7-2010.10.02.tar.gz and then do bzr merge-upstream --version=2010.10.02 drizzle7-2010.10.02.tar.gz19:42
abentleylvh: basically, you need to add a section to bazaar.conf like so: http://pastebin.ubuntu.com/520925/19:43
mwhudsoni have a plugin that lets me say things like bzr pull -d plugin:svn19:43
mwhudsonbut sadly, not on this machine19:43
mtaylorabentley:19:44
mtaylor(Pdb) print tt._new_name.get('new-737')19:44
mtaylorNone19:44
abentleymtaylor: okay, try  tt.tree_id_paths.get('new-737')19:45
mtaylor*** AttributeError: 'TreeTransform' object has no attribute 'tree_id_paths'19:45
* mtaylor pokes around...19:45
abentleymtaylor: sorry, leading underscore.19:45
mtayloryup. see it19:45
mtaylorhrm19:45
mtayloru'drizzled/set_var.cc'19:45
mtaylorso, in trunk, set_var.cc got renamed to sys_var.cc and then a new set_var.cc was added19:46
james_wmtaylor, what's your version of bzr-builddeb?19:46
mtaylor(repeat for set_Var.h19:46
james_wI'm pretty sure that's one of the cases that I fixed19:46
mtaylorjames_w: builddeb 2.2.019:46
lvhabentley: Aha! Despite the fact that that *does* look sexy, unfortunately I can't use things that are undocumented or unsupported (yay policy)19:46
james_wmtaylor, you need 2.6 or maybe 2.519:47
mtaylorjames_w: should I just pull lp:bzr-builddeb19:47
james_wmtaylor, what's your platform?19:47
james_wthat would work19:47
lifelessubuflu19:47
mtaylorjust branched - trying19:47
mtaylorlifeless: hah19:47
lifelessmtaylor: available now19:47
mtaylor(actually, this is on a squeze box)19:47
mtaylorlifeless: where r u?19:47
abentleylvh: Well, undocumented I could fix, but unsupported is tricker... :-)19:47
lifelesshallway?19:48
mtaylorlifeless: will find - honestly not _important_ - more an idea - coming19:48
mtaylorjames_w: nope. still exception19:48
james_wmtaylor, ok, I'll take a look19:48
mtaylorjames_w, abentley : also, the set_var.cc was modified in the same rev it was renamed in - so it may not be obvious to merge-upstream that renamed-set_var.cc is the same file19:55
mtayloris there anything you can think of I can do to my local tree to un-confuse merge-upstream? (like re-commit something or something?)19:56
abentleyjames_w: are you using RenameMap to guess renames?  That should be able to detect a rename if the file hasn't changed excessively.19:58
james_wabentley, we are not19:59
james_wmtaylor, not without understanding the error better, sorry19:59
mtaylorjames_w: ok. cool20:00
abentleyjames_w: ah.  Well, you might find it useful, and if not, I'd be interested to hear why.20:00
mtaylorabentley: well... the file _did_ change excessively ...20:01
mtaylorabentley: perhaps I should have done the rename as a commit and then the change as a commit... ?20:01
abentleymtaylor: I don't know enough about bzr-builddeb to be able to answer that, sorry.  james_w?20:02
* mtaylor is now probably being annoying... will just try things20:02
mtaylorjust for the record, splitting rename and new content into different commits no helpie20:06
ovnicrafth folks, maybe its OT but i want to know how add a user to push in my branch in lp?20:23
mtaylorovnicraft: it's more a question for #launchpad - but you want to create a user in launchpad and then that user can push branches to launchpad quite easily20:42
ovnicraftmtaylor, yes but add a user i fixed thi teams20:42
ovnicraftmtaylor, thx20:42
mtaylorabentley, james_w: fwiw, I reverted the four files to a version before the rename, did the merge-upstream, then reverted the files to the version _after_ the rename - and all seems ok20:44
james_wmtaylor, I'm getting somewhere with the debugging as well20:44
mtaylorjames_w: excellent :)20:45
james_wit's actually a duplicate id problem, not unversioned executability20:45
* mtaylor likes causing complex problems...20:45
james_wI'm not sure how to tell where the trans ids that I have came from though20:45
james_wmtaylor, plugin/haildb/tests/r/insert_null.result plugin/haildb/tests/t/type_float.test20:53
james_wany idea why they would be getting involved?20:54
mtaylorjames_w: gosh no20:54
mtaylorjames_w: they shouldn't be involved with this at all20:55
mtaylorjames_w: unless both changes hit trunk as part of the same merge20:55
=== Ursinha is now known as Ursinha-bbl
lvhDoes svn-push no longer exist? Is it just push-with-an-svn-url now?22:07
dashcorrect22:07
lvhbzr push svn://host/repo/branches/new-branch-1234 will just work?22:09
* lvh is extremely skeptical, having played with hg-svn today22:09
dashlvh: yes but it might make some svn users unhappy22:09
lvhdash: Why is that22:09
lvhdash: I'm trying to merge changes into twisted trunk without using svn (if possible)22:09
dashlvh: if they use tools (like combinator) that expect branching to occur in a different revision from branch content adding22:09
dashlvh: if you use svn cp to create the branch _then_ push to it, all will be right with the world22:10
lvhoh okay22:10
dashthe only other twist is that there's 'dpush' which pushes without bzr metadata on the revision22:10
lvhdash: Which for twisted is good?22:10
dashlvh: glyph will probably complain if you don't use it22:11
dashbut i've ignored him and you can too ;)22:11
glyphuse dpush22:14
glyphotherwise you will put corrupt revision metadata in the twisted repository22:14
glyphyou might have been able to get away with it last week, but we are facebook friends now, so I know where you live.22:14
dashoh, hi.22:14
lvhglyph: my lp thing used to have my address quite accurately22:15
glyphlvh: More generally, dpush is the stealth way to go.  it does some rebasing and loses a bunch of information, but if you use it, it is basically indistinguishable from using the stock svn client, from the perspective of everyone else on the project.22:16
glyphthis is what it looks like if you use a regular push: https://trac.calendarserver.org/changeset/443422:16
lvhglyph: Okay so the way to not piss you off, working from scratch: bzr branch thesvnrepo; bzr branch to feature-1234; hack hack hack; create remote svn branch; bzr dpush svn://host/repo/branches/feature-1234?22:17
glyphlvh: except +ssh, basically, yes.22:17
glyphand that is the way I work these days, because of the aforementioned trac ugliness.22:17
dashwell22:17
glyphFrankly if trac could hide those, and bzr never choked to death on its own metadata, I'd be fine with a normal push.22:17
dashbetter to do svn cp then 'bzr branch' or 'bzr co' from the branch url22:18
dashso that when you push you don't get "omg these branches have diverged"22:18
glyphpull first!22:19
glyphalthough man22:19
glyphthere really needs to be a 'bzr sync' or something, so I can just run that in a hurry, get on a plane and then do the merge later22:19
lvhdash: Wait what pull where22:19
lvhdash: Also does that work if I start from lp:twisted22:20
glyphI hate the workflow where it's wait-wait-wait-okay connected to remote server wait-wait-wait-okay oops diverged, TIME TO WAIT AGAIN22:20
dashlvh: instead of creating a local bzr branch from trunk, create a local bzr branch from the svn branch you're targeting22:20
lvhglyph: works well IRL: "hey can you look at this piece of code" "um okay, what's wrong" "nothing I just wanted to make sure I merged first."22:20
lvhdash: Right okay. And bzr-svn is smart enough to make that work if everything else is a bzr repo? I already have a shared repo with a "trunk" directory which is lp:twisted22:21
glyphoh man22:22
glyphlp:twisted is not a good scene22:22
glyphdon't use that22:22
lvhOkay22:22
glyphor... wait maybe I'm wrong, I haven't used it in a while.22:22
dashi think it uses bzr-svn now22:22
glyphDo the revision numbers match up with our branch-hosting bzr mirror?22:22
dashlvh: the main thing is that if you branch from lp:twisted it won't prime bzr-svn's svn rev cache22:23
dashglyph: AFAIR yes22:23
* dash checks.22:23
lvhSo, starting from scratch: bzr init-repo Twisted; cd Twisted; bzr branch svn://svn.twistedmatrix.com/svn/Twisted/trunk trunk; svn cp create-a-branch; bzr brach that-branch awesome-feature-1234; hack hack hack; bzr dpush?22:24
dashyeah, looks like it.22:24
dashlvh: yes.22:24
lvhOkie, thanks22:24
glyphwe also have a bzr mirror22:24
lvhglyph: Is it okay to use that or is that too a source of bad things22:25
dashit's created using bzr-svn22:25
dashas is lp:twisted22:25
dashthey should have the same history as anything you branch from svn yourself22:25
glyphthey match exactly22:28
glyphbasically they're an optimized way of bootstrapping22:28
glyphalthough eventually you end up needing to prime your svn revision cache anyway22:28
glyphbecause they lag22:28
lvhHm.22:29
lvhdash: Sorry, I disconnected. If lp:twisted and the twisted bzr mirror are both made with bzr-svn, why is one a bad idea and the other not such a bad idea? SVN metadata?22:29
dashlvh: glyph was remembering the old version of lp:twisted from before bzr-svn worked real good22:31
dashit's fine now22:31
lvhdash: So, I can still use my shared repo with trunk I stole from lp:twisted?22:32
dashyep22:32
lvhrevno: 1568222:45
lvhsvn revno: 30182 (on /trunk)22:45
lvhdash: So, to actually merge the change, I can just do it on bzr and push to svn trunk, since everyone knows trunk exists, and that won't piss glyph off?22:46
dashlvh: i forget whether dpush sets svn:mergeinfo or not22:47
dashglyph: re trac: "hide_properties = svk:merge, bzr:file-ids, bzr:merge, bzr:revision-info"22:48
peitschiemornin everyone :)22:49
glyphdash: okay, I just told a guy that22:52
glyphdash: do you want to tell exarkun?22:52
dashglyph: in the 'browser' section, specifically22:54
glyphdash: now you've done it.  #calendarserver23:04

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