/srv/irclogs.ubuntu.com/2007/09/23/#bzr.txt

=== et_ [n=et@ip111.215.dsl-acs2.sea.iinet.com] has joined #bzr
et_Running 0.18.0. Have checkout. Tried to commit. Got "ERROR: parent_id ... not in inventory". Have no clue what caused this happen, or how to correct it.12:21
et_Looks like if you bzr moved a file, and try to commit another file without first commiting the move, you get this error message. The work around is to commit the move first.12:27
=== et_ [n=et@ip111.215.dsl-acs2.sea.iinet.com] has left #bzr ["Leaving"]
=== abentley [n=abentley@bas8-toronto63-1088754407.dsl.bell.ca] has joined #bzr
=== pmezard [n=pmezard@nor75-4-81-56-59-92.fbx.proxad.net] has joined #bzr
vila4. he's got a *first* baby :)02:29
=== BasicOSX [n=BasicOSX@216.70.10.130] has joined #bzr
lapthrickcan you uncommit a revision from the middle of the history?03:50
lapthricklike, if the current revision is, say, 3000, can I uncommit rev 2900 only?03:51
=== rml [n=Skippy@78.32.35.169] has joined #bzr
=== orospakr [n=orospakr@bas4-ottawa23-1177770446.dsl.bell.ca] has joined #bzr
=== Mez [n=Mez@ubuntu/member/mez] has joined #bzr
=== keir [n=keir@bas15-toronto12-1168010434.dsl.bell.ca] has joined #bzr
=== rml [n=Skippy@78.32.35.169] has joined #bzr
=== duckx [n=Duck@tox.dyndns.org] has joined #bzr
=== NamNguyen [n=namnt@203.162.163.50] has joined #bzr
=== Theq629 [n=mwhitney@207.6.214.198] has joined #bzr
lifelesslapthrick: no, uncommit just pops the top off the branch, recursively06:45
=== NamNguyen [n=namnt@cm103.delta195.maxonline.com.sg] has joined #bzr
=== NamNguyen_ [n=namnt@cm103.delta195.maxonline.com.sg] has joined #bzr
=== NamNguyen [n=NamNguye@cm103.delta195.maxonline.com.sg] has joined #bzr
=== BjornT [n=bjorn@canonical/launchpad/BjornT] has joined #bzr
=== pmezard [n=pmezard@nor75-4-81-56-59-92.fbx.proxad.net] has joined #bzr
=== AfC [i=andrew@office.syd.operationaldynamics.com] has joined #bzr
=== fog [n=fog@debian/developer/fog] has joined #bzr
=== n2diy [n=darryl@wlk-barre-208-103-147-226.dynamic-dialup.coretel.net] has joined #bzr
=== herzel88 [i=herzel@gateway/tor/x-84232ec7bb0c10f4] has joined #bzr
=== duckx [n=Duck@tox.dyndns.org] has joined #bzr
=== duckx [n=Duck@tox.dyndns.org] has joined #bzr
=== asabil [n=asabil@ti0035a340-0469.bb.online.no] has joined #bzr
=== matkor [n=matkor@EUROCZESCI.wbs.ssh.gliwice.pl] has joined #bzr
=== schierbeck [n=daniel@dasch.egmont-kol.dk] has joined #bzr
=== phanatic [n=phanatic@160.114.21.241] has joined #bzr
=== Gwaihir [n=Gwaihir@ubuntu/member/gwaihir] has joined #bzr
coryI'm confused that adding identical files is a conflict.02:32
datocory: when you `bzr add` the same file in two different branches, each of them gets assigned a different file-id, which is the id bzr uses to know if they're the same file or not02:34
=== AfC [i=andrew@office.syd.operationaldynamics.com] has joined #bzr
coryI understand.  I guess my gut expectation though is that it clobber files with the same name so that I can do a bzr status to see if they've actually changed, myself.02:49
coryAlso, if, say, I accidentally reverted that part of a merge and kept the files different, I have no idea how to cause them to merge again.02:52
coryIt's unfortunately guaranteed to happen the way I'm trying to round-trip changes with p4. :P02:54
=== vila [n=vila@lec67-4-82-230-53-244.fbx.proxad.net] has joined #bzr
=== statik [n=emurphy@189.66.188.72.cfl.res.rr.com] has joined #bzr
=== AfC [i=andrew@office.syd.operationaldynamics.com] has left #bzr []
=== schierbeck [n=daniel@dasch.egmont-kol.dk] has joined #bzr
=== jrydberg [n=Johan@c80-216-246-123.bredband.comhem.se] has joined #bzr
=== mw|out [n=mw@189.146.13.202] has joined #bzr
=== duckx [n=Duck@tox.dyndns.org] has joined #bzr
=== phanatic [n=phanatic@160.114.21.241] has joined #bzr
=== clsk [n=clsk@unaffiliated/clsk] has joined #bzr
=== dpm [n=dpm@p54A13579.dip0.t-ipconnect.de] has joined #bzr
=== Mez [n=Mez@ubuntu/member/mez] has joined #bzr
=== lapthrick [n=mathrick@users.kollegienet.dk] has joined #bzr
=== Lo-lan-do [n=roland@mirexpress.internal.placard.fr.eu.org] has joined #bzr
=== schierbeck [n=daniel@dasch.egmont-kol.dk] has joined #bzr
=== Mez [n=Mez@ubuntu/member/mez] has joined #bzr
lapthrickjelmer: poke?08:34
lifelessmoin08:51
lifelesscory: ping08:51
=== asak [n=alexis@201-0-38-48.dsl.telesp.net.br] has joined #bzr
=== Mez [n=Mez@ubuntu/member/mez] has joined #bzr
corylifeless: Hiya.09:29
lifelesshi09:29
lifelessyou're working on a p4 round-tripper ?09:30
corypong?09:30
coryI just have some sketchy scripts I threw together.  One to automate bringing changes from p4 to bzr, and one that just opens files for edit / add / whatever by comparing the current working tree and p4 branch in bzr.09:32
lifelessok09:33
coryThe first should really just be tailor, but fixing that was more daunting than making something that would work for now.09:33
lifelessso a couple of notes about the guts that may help you09:33
lifelesstailor is, IMO, broken by design09:33
lifelessbecause its a lowest common denominator approach09:33
corySure.09:34
lifelessI prefer high fidelity myself09:34
lifelessanyhow, bzr has an inode concept09:34
lifelessfiles are accessible by path, but identified by 'inode', which we call 'file-id'09:34
coryHow would I take advantage of that?09:36
lifelesswe have some sketches for recording copying and merging of file-ids. When we have that it will be possible, and occasionally sensible, for merges that end up with a file with mostly the same content, at the same place, to be merged rather than placed alongside each other09:36
coryAh, neat.09:36
lifelessbut until those sketches are turned into reality you have a bit of a problem :)09:36
lifelessthere are a few ways around the issue09:37
lifelessbzr-svn, which has the same issue, tackles it by assigning deterministically unique file-ids09:37
lifelesswhich gives e.g. README in all branches of the same project on the same svn server the same fileid09:38
lapthrickhttp://pastebin.com/m63022805 <-- more bzr-svn fun09:38
lifelessbut unique across all other svn servers09:38
coryHrrrrm.09:38
lapthrickapparently you can't merge-into from an SVN repo, it goes wrong at some point09:38
lifelesslapthrick: merge-into is a plugin command, it possibly uses the bzrlib api in ways that the bzr-svn author hasn't accomodatd.09:39
coryHow do files get added to a branch from the bzr side when you're working with bzr-svn?09:39
lifelesslapthrick: I would file a question on bzr-svn about that09:39
lifelesscory: bzr add :)09:39
lapthricklifeless: you mean a question and not a bug now?09:40
coryDoes bzr-svn get involved and make sure the file has a proper file-id?09:40
lifelesslapthrick: I suggest you work with 'bzr checkout svn:// && bzr merge && bzr commit' because that will preserve the history the same as merge-into, with the advantage of working.09:40
lifelesslapthrick: yes, its not clear where the bug is.09:40
lifelesslapthrick: so ask for help :)09:40
lifelesscory: perhaps I misunderstood your question. I thought you meant 'bzr branch svn:///  foo && cd foo && touch BAR && bzr add BAR && bzr commit && bzr svn-push svn:////'09:41
coryOh, or is the original file-id stored in an svn property?09:41
lifelesscory: yes, bzr svn-push (it will be integrated with bzr push sometime) annotates the svn repository09:41
lapthricklifeless: but plain merge won't result in having a branch in a subdir, I do have it working with a branch made out of SVN, I just wanted to reduce the number of intermediate steps between upstream SVN and my branch-in-subdir09:42
lifelesslapthrick: I don't understand what you mean09:42
lapthricklifeless: well, I don't understand what I'm supposed to merge09:42
lifelesslapthrick: what are you trying to do then?09:43
lifelesscory: so if you don't want to annotate p4, you can just do a one-way solution, as long as the ids in different branches for the same file are the same bzr will be happy09:44
lifelesscory: when you add a file on the bzr side, you will have a history disconnect after you get it coming back at you from p4, just take the p4 version always09:44
lapthricklifeless: the same as I was doing yesterday (have a branch of an upstream SVN repo inside a subdir of my own repo), but pulled directly from SVN, instead from my-branch-of-upstream-SVN that serves no other purpose than to mediate between upstream SVN and my branch-in-a-subdir09:45
corylifeless: Yeah, that sounds sensible.09:45
lifelesscory: and do a manual merge (patch foo < diff foo.ORIG foo.THIS)09:45
=== Mez [n=Mez@ubuntu/member/mez] has joined #bzr
lifelesslapthrick: do you mean 'repo' or 'tree' ?09:45
lapthricklifeless: tree09:46
lifelesslapthrick: the terms are not interchangable for bzr.09:46
lapthrickyeah, I guess09:46
lifelesslapthrick: so, you have tree-root/upstream09:46
lifelesswhere tree-root is a bzr tree09:46
=== hsn_ [n=radim@234.114.broadband5.iol.cz] has joined #bzr
lifelessand upstream is a svn checkout ?, or a bzr-svn branch from svn ?09:46
lapthricklifeless: http://pastebin.com/m1a7e32309:49
lapthrickis it more clear?09:49
coryRandom thought...or there could be something like patch queue manager performing the actual p4 submits. :)09:51
lapthrickwhat's p4?09:52
=== Mez [n=Mez@ubuntu/member/mez] has joined #bzr
lifelesslapthrick: I don't have a browser here09:54
corylapthrick: perforce09:54
lifelesslapthrick: perforce, a vcs09:54
lapthricklifeless: sec, I'll paste it in private09:54
lifelessk'09:54
lapthrickcory: so you're writing p4 integration?09:54
lifelessadhoc version I think09:55
lifelessrather than e.g. bzr-p409:55
coryJust hacking enough together to get by. :P09:55
lapthrickah, so just a single project that's somehow dependent on p4?09:55
lifelesslapthrick: I'm still confused; what is the relationship between mytree and myupstream; did you bzr join? or are you using the alpha-quality nested trees support?09:56
lifelesslapthrick: its hard for me to understand what you mean, as your commands used paths that did not exist (you branch to myupstream, then cd to mytree; I can't tell what mytree is meant to be there)09:57
lapthricklifeless: mytree is a pre-existing tree I want to have upstream as a part of. I want to get the same effect as bzr join would have, but I'm using merge-into for that09:58
lapthricknot nested trees09:58
lifelessI don't understand why you use merge-into, rather than cd + bzr pull09:58
lifelessmerge-into is for doing *merges*, and if you are not changing the upstream, and its just a separate tree that happens to be positioned one dir down, then pull should work fine09:59
lapthricklifeless: because I want to have upstream/ be seen as a part of mytree. Mytree is actually backed by an SVN repo, so when I push into it, I want upstream/ be uploaded as well09:59
lapthrickI'm essentially using bzr to manage SVN for me10:00
lifelessok10:00
lifelessso if you want the content to be added and managed, you need to combine the trees.10:00
lifelessthat means 'bzr join myupstream'10:00
lapthrickbut that's really experimental, right?10:00
lapthrickmerge-into does the same, except without real nested trees support10:01
lapthrick(and with slight caveats because of that)10:01
=== Mez [n=Mez@ubuntu/member/mez] has joined #bzr
=== Gwaihir [n=Gwaihir@ubuntu/member/gwaihir] has joined #bzr
lapthricklifeless: will I get burnt badly if I use bzr join?10:03
lifelessmerge-into does an implicit join10:04
lifelessyou've already joined10:04
lifelessafter that you should just use regular merge10:04
lapthrickyes, I know10:04
lapthricklifeless: it works, as long as I don't try to merge-into directly from svn://10:05
lapthrickif I have that intermediate bzr-svn branch, it works like a charm10:05
lifelesslapthrick: but why are you running merge-into more than once10:05
lifelesslapthrick: I don't see why the intermediate branch is a problem as you only need it once10:05
lapthricklifeless: I'm not, those were two different cases. First is what I did (and what worked), second was what I'd like to do10:05
lifelessso, I'd definately record this somewhere10:06
lapthricklifeless: oh, so I can merge with svn:// later on?10:06
lapthrickif so, it's even better10:06
lifelessso that jelmer/john can look at the error10:06
lifelessbut merge-into is used to perform the join10:06
lapthrickyah, will do10:06
lifelessyou should not keep using merge-into10:06
lapthrickI'm not, I used it only once10:06
lifelessrighto. So now you use bzr merge svn:// and that should work10:07
lapthrickapparently it does, missing --other reports nothing10:09
lapthricklifeless: thanks, I didn't realise I could do that10:09
lifelessthats something John should add to the plugin docs10:10
lapthricknow I just need to figure out how to prod bzr-svn into making an actual SVN branch (ie. one that will result in a branch being created in the SVN repo)10:11
lifelessbzr svn-push ?10:11
lapthrickhmm, or I can do it by hand and then rebind10:11
lapthricklifeless: will it have the same effect as doing cd svncheckout && svn cp trunk branches/mybranch && svn commit ?10:12
lifelessI don't know10:13
lapthrickah, right, that's what it should do I guess10:13
Lo-lan-doAnyone knows whether jelmer works freelance?10:13
lapthricklet's test it on something that's not my job repo though :)10:13
lifelessLo-lan-do: he's at uni still AFAIK10:14
=== keir [n=keir@206-248-159-109.dsl.teksavvy.com] has joined #bzr
lifelesshi keir10:14
Lo-lan-doHmm.10:14
keirlifeless, hey10:15
keirlifeless, RL has been giving me the smackdown lately10:15
lifelessI know the feeling10:15
keirlifeless, so i haven't touched the indexing backend in awhile10:15
lifelessI only made incremental partial commit 40% faster last week  :()10:15
keirthat's sweeeet!10:16
lifelessindex reading is 14% of the remaining overhead !10:16
keirlifeless, cool10:16
keirlifeless, is that because it has to read the entire index?10:18
lifelessyes10:19
lapthrickawesome, it works10:20
keirlifeless, when do you expect to merge packs?10:22
lifelesskeir: I'm hoping this week to have the code in bzr.dev10:24
lapthrickis there a way to retroactively change the committer on revisions? I have some revisions committed with the wrong name and would like to avoid mucking around with shelve if possible10:24
keirlifeless, neat!10:24
lifelessformat freeze will be once the index read issue is fixed10:24
keirlifeless, have you looked at all at my code?10:25
lifelesskeir: at some yes10:25
lifelessnot at all10:25
keirlifeless, i won't be able to touch it until tuesday10:25
lifelessthats fine10:26
keirlifeless, i feel like the code has become too complicated, and i'd like a second opinion10:26
lapthrickso what about changing the committer? Is that possible?10:32
keirlapthrick, uncommit and re-commit?10:34
lifelesslapthrick: bzr does not support altering or annotating existing revisions10:34
lapthrickkeir: I wanted to avoid doing that10:34
lapthrickhmm, okay10:34
lifelesslapthrick: we currently feel that this is too much complexity for too little return10:34
keirlifeless, what about the 'nuclear launch codes' problem?10:34
lifelesskeir: uncommit and garbage collect10:34
keirlifeless, i've personally run into that and had to hex edit a svn repo10:34
lifelessthere are plugins that can create new revisions from existing, preserving the deltas etc10:35
keirlifeless, aah, ok. in my case it was several revs behind10:35
lifelessbut the *meaning* of the revision changes when you remove a file from it10:35
lifelessor change its content10:35
lifelessits hash changes10:35
lapthrickokay, so what will be the easiest change to pop a series of commits, then recommit them, just with a different name? If I could avoid typing in commits messages anew, it'd be helpful10:36
lapthricks/easiest change/easiest way/10:36
lifelesslapthrick: check the rebase plugin out; AIUI it will do what you want10:36
lifelessof course, it may not ;)10:36
lapthrickah, right10:37
lapthrickI wonder how experimental it is10:37
=== Mez [n=Mez@ubuntu/member/mez] has joined #bzr
lapthrickbzr bzr-pokerolymp:2085/> log -r ancestor:svn+https://beta.aimido.de/svn/src2/trunk10:47
lapthrickUnhandled error:10:47
lapthrick'NoneType' object has no attribute 'base'10:47
lapthrickinteresting10:47
lifelessbug filin' time  :)10:49
lapthrickbzr bzr-pokerolymp:2085/> log -r branch:svn+https://beta.aimido.de/svn/src2/trunk10:49
lapthrickA write attempt was made in a read only transaction on LockableFiles(lock, file:///home/mathrick/Dev/rails/bzr-pokerolymp/.bzr/repository/)10:49
lapthrickman, I'm good :)10:49
lifelessintereseteing10:51
lifelesslog should be read only10:51
lifelessI'm better bzr-svn is the culprit10:52
=== Mez [n=Mez@ubuntu/member/mez] has joined #bzr
=== orospakr [n=orospakr@bas4-ottawa23-1177770446.dsl.bell.ca] has joined #bzr
=== elmo [n=james@83-216-156-21.jamest747.adsl.metronet.co.uk] has joined #bzr
=== igc [n=igc@ppp121-45-227-231.lns1.bne4.internode.on.net] has joined #bzr
igcmorning all11:55
lifelesshola11:55
lifelessyou're up early :)11:55

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