/srv/irclogs.ubuntu.com/2009/04/30/#bzr.txt

garyvdmlp offline :-( - Good thing I can commit to my VCS localy :-)00:07
lifelessbeuno: lp is down?00:08
beunolifeless, yes, roll out, etc00:09
beunoread only didn't work00:09
beunoso it should down... 40min?00:09
lifelessbeuno: I know, you asked for ideas, I'm giving you one.00:09
beunolifeless, I did?00:09
beunoit's been a long day00:09
lifeless08:03 < beuno> lifeless, spiv, any ideas  ^00:09
beuno:)00:09
rconanhello... why does bzr commit try to connect to a remote server?00:12
rconanI thought commit was to update the local repository from the working tree00:12
beunorconan, you probably did a checkout?00:12
beunoinstead of a branch?00:12
rconanah...00:13
rconanthat makes sense00:13
beunoyou can --reconfigure it into a branch00:13
bob2or bzr unbind00:13
rconanI assuem that requires the remote repo to be there...00:13
bob2no00:13
rconanso how do I make it into a branch?00:13
bob2checkouts are by default heavy (i.e. contain the entire branch history)00:13
rconan$ bzr reconfigure --branch00:15
rconanbzr: ERROR: Working tree "/home/conan/work/sysint/" has uncommitted changes.00:15
bob2then commit them00:15
bob2or shelve them00:15
beunowell00:15
rconanbut... I can't commit because the remote repo isn't there00:15
bob2commit --local00:15
rconanok I did reconfigure --branch now00:16
rconannow it says no working tree exists...00:16
rconanhow do I create one?00:17
garyvdmrconan: huh ^ - can you pastebin bzr info00:19
garyvdmdid you commit --local or shelve your changes?00:20
rconanhttp://pastebin.com/f6e6fa4ef00:20
rconanI shelved them00:20
garyvdmok - "bzr checkout" to recreate the working tree00:21
Peng_beuno: Releasing Loggerhead sounds good to me. Hmm, should the Dozer memory profiling thing get in? Does it matter?00:21
rconan$ bzr unshelve00:21
rconanbzr: ERROR: No changes are shelved.00:21
rconanhmm...00:21
rconanwhat happened to them?00:22
beunoPeng_, did it not get it?00:24
Peng_beuno: It got approved, but nobody ever merged it.00:24
beunoPeng_, can you?   :)00:25
* beuno abuses Peng_'s awesomeness00:25
Peng_Heh, okay.00:26
Peng_Although I never tested it since I don't have all of Dozer's dependencies installed.00:26
Peng_And LP is down.00:26
garyvdmrconan: I just tested - and reconfigure --branch causes the shelves to be lost00:26
beunoPeng_, as long as LH runs, it's fine00:26
garyvdmbeuno, rconan: The command you were looking for is bzr unbind00:27
garyvdmrconan: What fs are you using? any undelete options?00:28
rconangaryvdm: doesn't matter00:28
rconanI used the patch outputted from shelve to apply them again00:29
rconansorted now00:29
rconanhoorah00:29
rconanthanks for the help guys00:29
garyvdmThat could have been a lot worse....00:29
garyvdmWhy does reconfigure --branch kill the working tree?00:30
garyvdmlp back up :-)00:32
spivgaryvdm: because that's what it is defined to do, see "bzr help reconfigure"00:39
Peng_Oh, LP is back up? Um, d'you mind if I don't take care of the Dozer thing for an hour or two?00:39
beunoPeng_, any time is good00:40
beunothanks00:40
beuno:)00:40
beunoI'm off home now!00:40
spivgaryvdm: bzr reconfigure --tree is probably what was wanted.00:40
spiv(I don't much like the labels that reconfigure uses)00:40
garyvdmspiv: reconfigure --branch should stop if there are shelves then.00:41
spivgaryvdm: yeah, probably.  File a bug? :)00:42
lifelessremove-tree should error too00:44
lifelesswithout force00:44
lifelesssame root cause I imagine00:44
lifelessspiv: 4 outstanding branches; I'm changing tracks while review catches up01:18
igcmorning01:32
Peng_beuno: ping?01:33
Peng_beuno: I was just working on merging dozer, and when I run with --memory-profile now, Ctrl+C doesn't cause the process to fully exit anymore, so I'm not going to merge it yet.01:34
mwhudsonhow insane/hard would it be to access bazaar branches over the plain sftp protocol?01:43
mwhudson(i.e. without ssh being involved)01:43
spivmwhudson: not so hard, probably.01:44
spivmwhudson: the bzr test suite may already do that?01:44
Peng_mwhudson: Oh, hi! Can I bug you about Loggerhead? :)01:44
mwhudsonPeng_: sure01:44
Peng_mwhudson: See above what I said about Dozer. Does it work for you? Do you still think it's okay to merge with that issue?01:45
Peng_Especially since it's probably not a bug in Loggerhead.01:45
mwhudsonspiv: i'll have a look01:45
mwhudsonPeng_: mm, probably01:45
mwhudsonPeng_: i mean, i hope noone enables dozer in production :)01:46
Peng_Heh.01:46
mwhudsonPeng_: it would be bad if this branch meant that you had to have dozer installed to run loggerhead at all01:46
Peng_mwhudson: You only need Dozer installed to run with --memory-profile.01:48
mwhudsonPeng_: cool01:48
Peng_mwhudson: So, you think I should still merge it?01:49
mwhudsonPeng_: yeah01:49
Peng_OK.01:49
Peng_Done.01:49
Peng_Do you mind if I file a bug to follow up on my Ctrl+C issue?01:50
mwhudsonPeng_: that sounds like a good plan01:51
Peng_OK.01:51
* igc offline for a few hours - bbl01:59
spivmwhudson: at a glance, you could make a subclass of SFTPTransport that overrides _create_connection to do something other than use "vendor = _get_ssh_vendor(); ... ; vendor.connect_sftp(...)"02:04
spivmwhudson: probably call it PlainSFTPTransport and register it as plainsftp:// or something?  Do you want it to talk via TCP or perhaps via pipes to a subprocess?02:06
mwhudsonspiv: tcp02:18
mwhudsonspiv: the motivation is wanting to run the bzr serve processes on a different box to that which stores the branches for launchpad02:18
mwhudsonspiv: so we can scale # of concurrent connections by plugging in more boxes02:19
jmlbzr 1.14 network performance is pretty schmick guys -- well done02:35
lifelessgood02:36
* jml tries some pushing experiments.02:36
jmllifeless: no-op push to a stacked 1.9 branch is ~12s from here, ~5s for 'bzr ping'.02:39
spivno-op push has been pretty good for ages now :P02:40
spivHmm, to a stacked branch though...02:41
jmlyeah.02:41
lifelessjml: thats still kinda slow02:41
lifelessspiv: likely opening the stacked on branch02:41
jmllifeless: yeah, kind of slow -- 14hpss calls02:41
jmllifeless: but a lot better than I recall.02:42
jmland all the hpss numbers are small02:43
jmlhmm. HPSS calls: 66 in ~46s for pushing a new stacked-on branch.02:43
jmlstacked, rather.02:43
lifelessjml: thats high02:44
lifelessjml: lots of get_parent_map ?02:44
jmlyeah.02:44
jmllifeless: only 4.02:46
lifelessoh02:46
lifelessany vfs calls?02:46
jmllifeless: more stats & gets than I would have expected -- want a copy of the log?02:46
lifelessjml: oh, lp is still running 1.13 right?02:46
jmllifeless: nope.02:46
jmllifeless: 1.14rc202:46
jmlhmm.02:46
lifelessyes, a log would be good then; I would have expected VFS free push02:47
lifelessyou have plugins that might be triggering vfs calls?02:47
jmlsent.02:48
jmllifeless: bzrtools, imapclient, loom, ping, pqm, stats.02:50
lifeless11.029  hpss call:   'BzrDir.get_config_file',02:52
lifeless'~jml/launchpad/has-linked-branch/'02:52
lifeless11.029               (to02:52
lifelessbzr+ssh://bazaar.launchpad.net/%7Ejml/launchpad/has-linked-branch/)02:52
lifeless11.372     result:   ('UnknownMethod', 'BzrDir.get_config_file')02:52
lifelessupgrade your server :)02:52
jmllifeless: as in, you think our server is not running 1.14rc2 as advertised?02:53
lifelessno02:53
lifeless1.15 removes more VFS02:53
jmllifeless: ahh, ok.02:53
jmllifeless: well, given that Bazaar hasn't quite managed to release 1.14 yet, I might wait a little before upgrading to 1.15 :)02:53
spivjml: huh?  1.14 is out.02:54
jmloh, I must have missed the announcement to the mailing list.02:54
spivYes, you must have.  :P02:54
spiv(not to mention the topic in this very channel)02:55
=== jml changed the topic of #bzr to: Bazaar version control system | 1.14 released 29 April, 2009 | 1.13.2 released 28 April, 2009 | http://bazaar-vcs.org | http://irclogs.ubuntu.com/ | http://planet.bazaar-vcs.org/
jmlspiv: I can explain that!02:55
jmlspiv: my eyes stopped when I saw "1.13.2 released"02:56
nok5i changed the path of a branch, when I do bzr pulling, it will say: Parent not accessible given base blah blah.., should I rebase or reconfigure the branch?02:59
lifelessnok5: just give it the full url to pull from03:03
lifelessand add --remember03:03
nok5still the same error with url to pull03:03
lifelessthats odd03:04
lifelesscan you run with -Derror and pastebin the output please03:04
nok5even bzr info yields the same erro03:04
nok5the output is here http://padfly.com/bzr03:06
lifelessthats not for pull03:07
nok5ok03:07
nok5sorry, updated, please refresh03:08
lifelessok03:09
lifelessdefinitely a bug03:09
lifelesslook in .bzr/branch/branch.conf03:09
lifelessedit that file to give it the correct path03:09
lifelessand I'll file a bug03:09
nok5ok, thank you03:10
nok5solved03:11
nok5lifeless: the bug link pls03:16
lifelessnok5: don't have it yet - i filed by email03:16
lifelesshttps://bugs.edge.launchpad.net/bzr/ will have it soon03:17
nok5roger that03:17
BullHornHi there, Iḿ new to bzr, I installed bzr on windows. I created a folder on external drive and want to check files into it from a folder on my c:. tortoise just allow checkout. Any Idea how to do this. Iḿ only used to cvs & svn03:28
bob2there's a tortoise thing for bzr, dunno how complete it is03:30
nok5BullHorn: you mean only checkout is allowed in c:. tortoise ?03:33
BullHornOk, I've a download folder on c:. I created a download folder on external. I initialized folder on the external drive and want to move or add the files from the c:/download to the external download. But want to use bzr for eas of use. I need to make space as I want to install linux on my laptop as well03:36
BullHornI thought it will be better to manage the folder with bzr that just to copy it across03:38
davidstraussBullHorn: TortoiseBzr works reasonably well03:39
BullHornhow do I book/ add it to the repositry or do I need to copy it across and then just let TortoiseBzr init the folder?03:40
davidstraussBullHorn: I don't actually use it myself, but I'm pretty sure it just magically works on your checkouts and branches03:41
nok5BullHorn: it seems what you want is just copy/sync files on C drive to your bzr repo on external drive. but i dont know how can it help to save the space. you may init the original folder as shared repo, then setup a branch on your external drive03:52
BullHornthe idea is to have the external as the parent repositry. I only want to pull what I need. the rest I'll delete on my c:. BUT if someone else add a file/folder to that repositry I want to be able to see it. I know you're suppose to use it with source but sometimes one want to use it with any files. I'm trying to figure out how the distributed vcs model works.04:14
nok5BullHorn: yes, you can cherrypick (see user guide) from external folder to your c drive04:31
lifelessBullHorn: the way it works is that you have many branches04:37
lifelessBullHorn: you can push or pull from each04:38
lifelessBullHorn: what you want to do is to get up and running with your current folder in bzr, then *push* it to your external drive for backup04:38
lifeless'checkout' is for wrking like cvs or svnw here your branch is somewhere else, and every 'commit' is immediately propogated04:39
lifelessspiv: ping04:44
lifelessspiv: reviews plox04:45
lifelessnok5: bu 36961904:54
lifelessnok5: bug 36961904:54
ubottuError: Could not parse data returned by Launchpad: timed out (https://launchpad.net/bugs/369619/+text)04:54
nok5lifeless: i've already subscribed, thanks for your notice04:55
mwhudsonSource format does not support stacking, using format: 'Remote BZR Branch'04:55
mwhudsonnot so good :)04:55
BullHornI’m going to leave it for now. I’m just frustrating myself even more on this windows platform while I want to move to Linux asap. It’s not working like TortoiseSvn yet. By the way will bzr logs a directory that has been added?05:03
lifelessyes05:04
spivlifeless: plox?05:21
spiv(I can guess what you mean, but I'm curious to know precisely...)05:21
gotgenesHow does one list all files tracked by a bzr branch?05:30
thumper`bzr ls` I think05:31
gotgenesthumper: ah05:31
gotgenesI was trying bzr list05:31
thumper`bzr help ls` would help05:32
thumpernot recursive by default05:32
thumperand -V for versioned files05:32
thumperbzr ls -VR for all versioned files05:32
gotgeneshmm, I'm not sure if I understand what a "Versioned" file is compared to what's output by default via bzr ls.05:34
lifelessgotgenes: a versioned file is one that bzr is tracking05:34
lifelessgotgenes: an unversioned file is one that bzr is not tracking05:34
gotgeneslifeless: I see. So by default, bzr ls does, simply, ls?05:35
lifelessroughly yes05:37
gotgenesHmm.05:37
lifelessls -RV will list all the versioned files in the tree recursively05:38
gotgeneslifeless, thumper: Thanks.05:44
gotgenesOkay, so next question. I have a symbolic link that I need to remove, but bzr remove gives "ERROR: Not a branch"05:45
gotgenesIt's following the symlink05:46
lifelessjust rm it05:47
lifelessthen bzr rm the path it had05:47
lifelesswe have a bug open on symlink friendliness05:47
gotgeneslifeless: Indeed, some more clever searching got me to the trail of bugs on LP.05:47
gotgenesHmm, this could be more troublesome because I actually want to retain the symlink.05:48
gotgenesAnd it's actually many symlinks05:49
gotgenesI guess I should script this.05:49
lifelesspython -c 'import bzrlib.workingtree; t= bzlib.workingtree.WorkingTree.open(".").unversion(path)'05:50
lifeless^ workaround05:50
gotgeneslifeless: No kidding? Ooh! Let me play with that.05:50
igcback05:57
gotgeneslifeless: Any suggestions on how to check whether or not the file is versioned in the first place using the WorkingTree?06:26
lifelessgotgenes: tree.path2id(path) is None -> not versioned06:29
gotgeneslifeless: sure enough06:31
gotgenesThanks06:31
gotgenesIs there an os.walk equivalent in the WorkingTree, actually?06:32
gotgenesHmm, there's a WorkingTree._walkdirs()06:33
gotgeneslifeless: ah, it seems unversion accepts file_ids, not paths.06:35
gotgenesAh, shoot, walkdirs() (sans underscore) does exactly what I want.06:40
lifelessgotgenes: path2id will get you ids06:42
gotgeneslifeless: yeah, it looks like walkdirs() will get me all I need to detect all symlinks and get their ids, actually06:42
gotgenesthe only problem is it's complaining the working tree is not locked06:43
gotgeneshrumph06:43
lifelesstree.lock_write()...finally: tree.unlock()06:43
gotgeneslifeless: You're helpful and a half.06:43
=== dereine[OFF] is now known as dereine
=== dereine is now known as dereine[OFF]
gotgeneslifeless: Your profile image on LP is amusing.07:13
lifeless:>07:13
gotgenesI actually saw it first07:13
Peng_Hey, that's clever!07:13
gotgenesthen was like, "Why the hell... Oh, I wonder if he's in the Southern Hemisp..." Then I looked at the map.07:14
vilahi all07:17
gotgenesvila: Hello.07:17
lifelessgotgenes: :)07:24
gotgeneslifeless: How long have you lived in Sydney?07:28
lifeless~13 years07:29
gotgeneslifeless: Wow, that's a good stretch.07:43
gotgenesWere you previously in Australia?07:43
gotgenesAlso, thanks for taking a look at my bug report. Was poking around that part of the code and just wasn't sure, but figured a report wouldn't hurt.07:43
lifelessno worries07:46
lifelessI'm originally from NZ07:46
gotgeneslifeless: Really?07:46
lifelessyup07:47
gotgeneslifeless: I must get out to that region of the globe some day07:49
gotgeneslet "some day" <= 4 years07:49
lifeless:)07:50
gotgeneslifeless: Do you work for Canonical now?07:50
lifelessyes I do; I have since the start07:51
gotgeneslifeless: start being graduation?07:52
gotgenesor start of the company?07:52
Peng_Since the start of TIME.07:53
gotgenesWow07:54
gotgenesThat's epic.07:54
gotgenesThat's like, Chrono Trigger epic.07:54
lifelesstechnically since before incorporation - I was one of the first employees when Mark started on this venture07:55
gotgeneslifeless: Neato. How did you get tapped or find out about it?07:57
lifelessI was a significant contributor to GNU Arch07:58
bob2and author of barch!07:58
lifelessbob2: heh; that didn't go far - Tom's translation of larch to C met my porting needs07:59
gotgenesI guess I don't know my history of Bazaar. I should search to find out if it existed before Canonical.08:03
gotgenesSeems not.08:04
gotgenes2007 vs 200408:04
bob2canonical was founded in 200408:04
bob2bzr (aka bazaar-ng) in 200508:04
lifelesshttp://bazaar-vcs.org/HistoryOfBazaar08:04
lifelessI like how john says I was 'probably the leader' :P08:05
lifelesscan be hard to tell in meritocracies ;)08:05
gotgeneslifeless: Haha08:06
lifelessMark and I called the project Bazaar; I've probably got the IRC log of the decision somewhere08:07
lifelesslater all08:12
gotgeneslifeless: night08:14
AntoineLafontainI have a question about merging branches... is there anyone here that would have some time to spare? Thanks08:27
spivAntoineLafontain: sure, what's the question?08:27
AntoineLafontainI have a question concerning merging a branch with a branch where files have been removed... is there a way to ignore some files from the parent branch so that no conflicts needs to be resolved on those removed files/folder. Or maybe someone could enlighten me on how I should think about this problem in order to solve my issue. I hope this is the right place to ask those kind of questions, thanks for your time.08:29
AntoineLafontainand I have to say I have limited experience with versioning...08:30
bob2you can't just fix the conflict after the merge, before the commit?08:32
spivAntoineLafontain: there's not really any way to ignore parts of a merge, but dealing with the conflicts shouldn't be hard.08:32
spivAntoineLafontain: the closest to ignoring parts is to do the merge and then selectively revert the files you didn't want to change.08:33
AntoineLafontainit's not hard, but it's just all the same files all the time... it just feels redundant to do this every time I merge with the parent, since those files I removed voluntarily.08:34
AntoineLafontainI see, there's no 'convenient' way to just have those 'auto resolve' or something... i'll just write a script to have those files always revert after a merge...08:35
AntoineLafontainhow do people go about when they branch from a remote project and then just want to work with a part of it, or remove part of it but still be able to merge back changes made to the remove repository back to the part they work with?08:38
AntoineLafontainMaybe I'm thinking this the wrong way, but I feel this would be a pretty common thing.08:39
spivThere's not (yet) support for breaking a tree into smaller trees.08:39
AntoineLafontainthis would be a convenient tool isn't it?08:40
spivNormally if you expect people to work on parts separately you'd make different branches for those parts.08:40
AntoineLafontainI see08:40
spivOr, more usually, just not worry about it.  For many projects the wasted disk space and bandwidth is pretty insignificant.08:41
spivi.e. not delete the files at all.08:41
AntoineLafontainI see. I'm more concerned about some files I do not want to upload when using bzr upload08:41
spivThere's work to make this more convenient, part of something called "filtered views".08:42
spivAh, sounds like a feature to add to bzr upload then.08:42
AntoineLafontainThat could also be a way to go08:42
spivbzr upload currently assumes you want to upload the whole tree I think, but an exclude list sounds like a reasonable feature for it.08:42
AntoineLafontainif upload could keep a black list08:42
AntoineLafontainyeah, I feel it basically would be better if a merge would consider the ignore list in the child branch...08:43
AntoineLafontainthen upload could be kept simple... upload all and it's all good08:43
spivThe existing ignore list is purely about what "bzr status" and "bzr add" will do.08:44
AntoineLafontainyeah, I've tried it a few times to 'experiment'08:44
spivIt intentionally has no effect on files that are versioned (even if their file name matches).08:44
AntoineLafontainor a an option when using remove to keep a special 'flag' if a user would set it to ignore a folder / files when set08:45
spivbzr upload is a pretty basic mechanism for code deployment, though.08:45
AntoineLafontainwell I wouldn't say I have a complete understanding of what versioning is all about, my background is more into design than coding, but for my own sanity, I would like to have some kind of way to do this and once done not have to think about it everytime I merge with the parent repository08:47
AntoineLafontainbut I have to say thanks for the insights, it does confirm that I wasn't completly off track when thinking there's no way to achieve this presently08:48
spivYeah, you shouldn't need to repeat work.08:49
spivYou're welcome, glad I could help.  I think a feature request for bzr-upload is probably the best option.08:49
spiv(Or perhaps just use rsync?)08:50
AntoineLafontainyeah, rsync i prefer over bzr upload... how can I use rsync to achieve what I want?08:50
AntoineLafontainand sorry for my 'basic' questions :)08:51
spivUse the --exclude option08:51
AntoineLafontaincan eclude be used with a file listing the files/folders I want to exclude (only used the command line in the past for oomiting a file or two...)08:52
AntoineLafontainhmm I think I'm starting to see a decent solution now...08:52
spivAntoineLafontain: yes, rsync has an --exclude-from=FILE option too08:53
spivAntoineLafontain: read the man page :)08:54
AntoineLafontainyes, I just did it while writing...08:54
AntoineLafontainthx for your patience... it's not often I have someone to just talk about those things around the office -designers hate command line based tools... I'm seen as a freak around the office...08:55
AntoineLafontainthank you again for your time spiv.08:58
vilaAntoineLafontain: sorry for coming late in the game, but yes, bzr-upload should allow uploading a partial tree, this is a known limitation09:06
=== sabdfl1 is now known as sabdfl
AntoineLafontainshould? shouldn't09:07
AntoineLafontain?09:07
vilawhether this will be achieve by using a filtered view or a by a mean specific to bzr-upload has not yet been decided :)09:07
AntoineLafontainah! okey, just read you better09:07
AntoineLafontainwell my own guts tell me, if possible, it would be 'cleaner' to be able to remove files in a branch and still be able to merge from the parent while ignoring some files/folders from the parent09:08
AntoineLafontainthen bzr-upload would just upload the filtered tree09:08
AntoineLafontainmaybe there's other considerations that I can't fathom...09:09
vilaAntoineLafontain: it's better to version a whole project and then upload only part of it.09:10
vilaFor example, if you have tests, you may want to *not* upload them, yet, you *want* to version them in sync with the code you're testing09:10
AntoineLafontainwell the whole project is keep in the parent branch... the sub branch is my 'filtered' project... removing parts from the parent before publishing09:11
AntoineLafontainallowinf to keep the core intact, complete, but making possible to update the child when the core is updated, modified, but only in the parts that are kept in the child... does this make sense?09:11
vilaAntoineLafontain: in that case, nested trees will be more appropriate than filtered views, both are actively being worked on at the momemt09:12
LarstiQAntoineLafontain: I fail to see why you would do that?09:12
vilaAntoineLafontain: yes, that makes sense09:12
AntoineLafontainthe core is a project that I do not maintain...09:13
* LarstiQ scrolls up for more context09:13
AntoineLafontainso I just update it when there's updates to it and so on.09:13
AntoineLafontainbut I want to clean up some of the files from it, but want to be able to automate the update process for projects spawned from the core09:14
AntoineLafontainvila> could I ask for a bit more insight on nested threes and filtered views?09:15
AntoineLafontainor some links?09:15
vilaAntoineLafontain: hmm, so you want both a nested tree (for your sub branch) and a filtered view to upload only the relevant files09:15
AntoineLafontainpossibly... I'm not sure what is needed... but if possible I would like to have the workflow I described... or a good idea on a better workflow09:16
vilaAntoineLafontain: I think your description fully makes sense, as well as your workflow, but not all the bits are in place in bzr for your exacts needs :-/09:17
AntoineLafontainthe filtered view it seems I could manage with rsync --exlude-from and keeping a versioned exclude file for each projects09:17
LarstiQI'm glad vila sees it, because I don't :)09:17
AntoineLafontainwell sub-projects if I follow my own logic09:17
vilaLarstiQ: say you have a branch with 'web-site' as a nested tree and additionally 'web-site' contains some password file, you want to upload 'web-ste' minus passwd09:18
vilaAntoineLafontain: Is the above a correct approximation of your needs ?09:18
LarstiQvila: fair enough, but why can't that be done as a bzr-upload feature?09:18
vilaLarstiQ: Ooooh it can !09:19
LarstiQvila: and if you don't want it in your regular tree, why isn't `bzr rm; bzr ci; bzr merge` enough?09:19
AntoineLafontainwell simply put, it's to be able to work with the drupal project and then have a branch with a selection of contrib modules, then from that branch would spawn the real projects09:19
AntoineLafontainbut each project would not have all the same module selection, but for convenience and upgrade, I would like to keep all the main modules I use in one branch09:20
vilaLarstiQ: sounds a bit too much like reverting some decisions may be harder than it should09:20
AntoineLafontainand keep my custom code in the 'projectX' branch09:21
AntoineLafontainso updating core would meaning merging it in the module branch, then in all the sub projects09:21
AntoineLafontainupdating a module would mean only updating the projects09:22
AntoineLafontainor I'm just making this just all too complicated for nothing...09:22
vilaAntoineLafontain: exactly what nested trees are about, using one of them for each module and composing higher level projects from them09:22
AntoineLafontainthx vila, sounds like my reasoning wasn't too far fetched09:23
vilaAntoineLafontain: track http://bazaar-vcs.org/NestedTreeProgress09:23
LarstiQAntoineLafontain: right, that sounds like nested trees09:23
AntoineLafontainand this is not yet supported?09:23
vilaAntoineLafontain: this is currently, actively, working on and should be available shortly09:25
LarstiQAntoineLafontain: the split and join commands exist, by-value trees have been in bzr for a long time, by reference is receiving active developement09:25
vilaAntoineLafontain: how many modules do you handle so far ?09:26
AntoineLafontainhumm, I'll say i have a selection of about 15 to 20?09:26
AntoineLafontainwhich I do not use in all projects09:26
AntoineLafontainnow I basically keep those in a normal folder09:27
vilaok09:27
AntoineLafontainand cherry pick the ones I want for project X and those for project Y and so on09:27
AntoineLafontainI'm actively trying to figure out a decent workflow using versioning and trying to automate many of those redundant tasks09:28
AntoineLafontainand I have to say that bazaar as been impressively easy to pick up for the basics, but I got stumped when trying to achieve the pattern I'm talking right now09:29
vilaAntoineLafontain: right, so nested trees sounds like the silver bullet for that and filtered views (or a closely related mechanism) should address the upload part09:29
AntoineLafontainI will try to take some time to read about those nested threes and see if I can wrap my head around those09:30
vilaroughly, in your case, it will mean updating your project and automatically get your modules updated09:30
AntoineLafontainsounds like I get to eat the whole pie after all ;P09:31
AntoineLafontainthanks for all your insights!09:32
vilaAntoineLafontain: you're welcome, don't hesitate to come back and share your experiments or other thoughts09:32
AntoineLafontainwill do.09:34
AntoineLafontainvila> I hope you're still around.09:59
* igc dinner10:00
AntoineLafontainI've read about split and was wondering If I got it right. Basically, using split, I can make a subfolder of a branch an independent branch on its own. What I'm wondering is, what will happen to the splitted branch if the original branch is merge to its parent branch, which is a remote branch... wouldn't this cause a conflict since the split doesn't exist in the parent branch?10:03
LarstiQAntoineLafontain: in the container where you split the subbranch out, everything in that subdir is deleted from that point on.10:03
dleebzr log --long shows timestamps with -0400, but I'm on US Eastern time, which is -0500 afaik.  The time is the correct local time.  Where should I look for the cause of this?10:04
LarstiQAntoineLafontain: so if you merge it into something else, you'll get a series of deletions merged.10:04
LarstiQdlee: looking through bzr.dev log, the timestamps vary.10:05
AntoineLafontainlarstiq> I'm not sure I understand the implication of this10:05
LarstiQdlee: so it seems more to do with the time of recording than displaying.10:05
LarstiQAntoineLafontain: if you can rule out merging it into the parent, that would make life simpler.10:05
LarstiQAntoineLafontain: that, or propagating the split to the parent.10:06
dleeNot sure I understand.  The time shown is the correct commit time, shown as local time; but the -0400 makes it look like it was recorded with the wrong timezone.  Makes me think I should offset the time I see by an hour to get local time of commit, but that would actually be wrong.10:07
KinnisonIs it doing that on fresh commits you're doing now?10:08
dleeYes.  I have v1.10 on this box though.  I can try in a later version on another box if that would help.10:08
AntoineLafontainthen... lets say theres a parent branch A, I make a local branch of it A'... I want to keep the ability to update A' with any changes made to A (using merge?) but I want to add some files inside a folder of A' and be able to maintain seperate threes of tose subfolders too (each folder is a module added to the core A project). Then I wan to be able to make a B project which will be based on A' plus a selection of modules put ins10:10
Kinnisonand if you type 'date' in at a terminal, does it show the right timezone?10:10
dleeJust did: v1.13.1, on MacOS via MacPorts.  Time stamp of just-committed commit: "timestamp: Thu 2009-04-30 05:09:23 -0400"10:10
dleeCurrent time: 5:10 EDT (-0500 I think).  I wonder if this is a daylight savings thing or somesuch.10:11
AntoineLafontainIn the nested three design document there's the 'Composite tree' description that would maybe suit what I want to achieve...10:11
LarstiQAntoineLafontain: truncated at 'of modules put ins'10:11
AntoineLafontaina selection of modules put inside A' and some custom code/config files which are only related to B...10:11
AntoineLafontainsorry10:12
dleedate result on Mac: Thu Apr 30 05:11:44 EDT 200910:12
LarstiQdlee: and `date -u`?10:12
dleedate -u: Thu Apr 30 09:12:40 UTC 200910:12
LarstiQdlee: it looks like the correct time to me.10:13
LarstiQdlee: you're at -4 at the moment.10:13
dleeThen I'm probably being confused by Windows... Windows says we're five hours off of UTC.  Are we 4 hours off at this time of year maybe?  Hmm... I guess the Windows-displayed offset never changes.  Somehow I thought this one would embarrass me. :)10:14
gotgeneslifeless: http://igotgenes.blogspot.com/2009/04/how-symbolic-on-removing-symlinks-in.html10:14
ronnysup11:29
ronnyLarstiQ: who do i need to bug if i need a range of older bzr's to be easy-install-able a gain11:29
james_wwhat makes them uninstallable?11:30
ronnyjames_w: easy-install wont find any version but the latest, most likely due to missing links in the related http pages11:30
ronnyoh, and can someone please point me to a wiki page/documentation listing the api changes since bzr 1.011:31
LarstiQronny: I'd look at NEWS for that11:31
LarstiQronny: the easy_install issue is that specific releases at pypi have no download link? Like, http://pypi.python.org/pypi/bzr/1.1011:32
james_wronny: which page?11:32
james_w#  Download URL:   http://bazaar-vcs.org/Download11:33
james_wis that the reason?11:33
ronnyjames_w: i think so11:33
ronnyeasy_install goes down there till it hits  http://www.bazaar-vcs.org/Download11:33
ronnythen fails11:34
james_wpresumably anyone listed as owner can edit the page11:34
LarstiQronny: do you have an example command I could run to test if the changes have the desired effect?11:35
* LarstiQ stays away from setuptools mostly11:35
ronnyLarstiQ: make a virtualenv and and do an easy_install bzr==1.something within11:35
ronny(using the virtualenvs easy_install)11:35
* LarstiQ tries out virtualenv11:36
ronnyvirtualenv rocks11:36
LarstiQI've been meaning to look at it, and zc.buildout11:36
ronnyim currently setting up scripts to test anyvc against multiple versions of bzr, hg and subvertpy11:36
LarstiQright11:37
ronnywhats missing is to wire up py.test to aggregate the cobinations of testruns in virtualenvs propperly11:38
LarstiQronny: so, `virtualenv test_env; source test_env/bin/activate; deactivate;` to make one, activate and quit again?11:41
ronnyLarstiQ: personnaly i would just directly invoke the bin/easy_install of the virtualenv, seems more simple11:41
LarstiQand now the easy_install fails, cool11:41
LarstiQronny: I have no clue :)11:42
* LarstiQ digs a bit to see how it works under the hood11:42
LarstiQronny: but at least I can reproduce and test now, thanks!11:42
ronnyLarstiQ: if you invoke test_env/bin/easy_install it will just do the right thing11:42
* LarstiQ nods11:42
LarstiQronny: I'm a bit leary it won't mess up my system. Of course the point is that it doesn't, but I don't trust setuptools, at all.11:43
ronnyLarstiQ: well, you invoke it as user, so it wont rape ya too bad11:43
ronnyi hope virtualenv will get pip instead of easy_install soon11:43
LarstiQronny: it hasn't grown exploit code yet? ;)11:43
LarstiQronny: what's pip?11:44
ronnyLarstiQ: a sane python package installer by ian11:44
ronnybtw - in general code by pje seems to be made to cause eye-cancer on reading attepts11:45
LarstiQronny: a first glance at pip seems much saner11:46
ronnyLarstiQ: it is, ian does quite reasonable and pragmatic things11:48
LarstiQyay ian :)11:48
ronnyLarstiQ: how long will fixing the easy_install stuff take?11:52
ronny(ie the getting urls back)11:53
LarstiQronny: I don't know, I don't have access. But I'll make work of it.11:53
LarstiQronny: do you know if it is possible to include links in http://bazaar-vcs.org/Download that easy_install could find?11:54
ronnyi want the easy things off my todo so i dont have any more excuses for the hard things11:54
LarstiQright11:54
LarstiQronny: since the Download page I _can_ change11:54
LarstiQthere seems to be a 'find_links' method at least11:55
ronnyLarstiQ: im not sure if there is a way to delegate easy_install to a listing of older releases11:55
ronnyelse one would require to put all the older links in11:56
ronnyand thats too much work to be worth it and probably confusing, too11:56
LarstiQronny: I'm trying to get easy_install to accept https://edge.launchpad.net/bzr/+download12:02
LarstiQronny: `easy_install -f https://launchpad.net/bzr/+download bzr==1.12 ` seems to work, although it is picking .zip over .tar.gz12:03
jelmerok, git in working trees works to some degree \o/12:56
jelmerblegh12:56
jelmerbzr in git working trees I mean12:56
Peng_Congrats. :)12:57
jelmeronly things left to do are commit and ignores12:57
jelmerthanks :-)12:57
jelmerit's still a tad bit slow ('bzr st' in a samba tree takes a few seconds)12:57
james_wnice13:02
james_wthanks jelmer13:02
james_wdoes it have any idea of things staged in the index?13:03
jelmeryeah, it uses that to see what files are versioned and which aren't13:04
jelmer'bzr add' will also update the copy that's in the index13:05
james_wcool, that kind of makes sense13:06
james_wbzr would need some extension to be able to interact with it more fully though I guess?13:06
jelmerjames_w: yep, and same goes for colocated branches13:07
james_wyeah13:07
jelmerjames_w: right now it "feels" to me like it's a native bzr branch except for the fact that it's a bit slower and reports ".git" as an unknown file :-)13:08
james_wheh13:08
james_wthat's what I'd like, so it sounds great13:08
jelmerjames_w: btw, I've been meaning to ask you13:08
jelmerjames_w: how do you cope with parallel imports for UDD?13:09
james_wwould adding ".git" to the runtime ignores thing make sense?13:09
james_wwe tend to ignore it13:09
james_whowever, as we import most things we re-use file ids, so it tends to not be such a problem13:09
james_wI also want to make it use Aaron's rename detection to improve that some13:09
jelmerjames_w: that doesn't work if you have e.g. an upstream that is in bzr though?13:10
jelmerjames_w: bzr relies on the fact that control directories are called '.bzr' in some places at the moment, I'd like to get rid of that13:11
james_wah, so you just make it see .git as the control directory13:11
james_wthat makes sense13:11
james_wand you are right, it doesn't work when you have upstream in bzr13:12
james_wwhen we get to a point where that will be an issue on the large scale then hopefully bzr will have the parallel imports case better addressed13:12
jelmerjames_w: Ah, ok13:14
jelmerjames_w: Perhaps this would be something useful to discuss during the sprint13:14
james_wyeah13:14
james_wat the recent sprint I learned what path tokens are, and they made sense to me13:15
jelmerthey're still magic to me13:15
james_wI've no idea how to make them performant though13:17
jelmerdo you know how well Aaron's rename detection performs?13:21
james_wpretty good as I understand it13:22
james_whe tested by doing something like comparing bzr.dev with 1000 revisions back and it got 100%13:22
jelmerbut in terms of speed?13:23
jelmerbzr-git doesn't support renames at the moment and rename detection is the only option I have13:23
james_wah13:23
james_wnot sure13:23
jelmermwhudson: hi13:23
james_wit's an edge match of every added file against every removed file I guess13:24
james_wperhaps with some shortcuts13:24
james_wI think that wouldn't be too slow13:24
jelmerPerhaps at the point somebody renames a top-level directory13:25
jelmerwith 1000s of files under it13:26
jelmer(at that point git gives up on renames)13:26
james_wyeah13:27
james_wadding path based detection first would be good I think13:27
james_wshould handle that case well, and be quicker than detecting each individual rename13:28
jelmeryeah, that'd make sense13:28
gioelehello13:39
gioeleHow come bzr 1.13.2 is packaged in PPA as bzr-1.13-2. Doesn't that version number mean bzr 1.13(.0), re-packaged for the second time?13:41
beunoah13:41
beunosee13:41
beunothat's why people aren't getting updates13:41
beunogioele, you're right13:41
gioelecan I complain about the lack of a 1.14 bzr package in PPA or is it too early? :)13:48
beunogioele, I think it's in a different PPA13:51
beunogioele, https://edge.launchpad.net/~bzr-beta-ppa/+archive/ppa13:52
LarstiQgioele: personally, I would be fine with publishing it in the main ppa13:52
gioelebeuno: I see, but it out of beta now13:52
beunogioele, I know. But I guess they chose to put 1.13.2 on the release one13:52
LarstiQgioele: if you can test the one in the beta-ppa, I'm willing to move it to the main one if you vouch for it ;)13:53
beunoI agree though that 1.14 should go there13:53
LarstiQactually, johnf uploaded it yesterday to the beta ppa13:53
gioeleLarstiQ: I doubt I'll change my list of apt repositories ;)13:54
LarstiQgioele: you can wget one .deb file if you want. But I'll ask johnf what the policy is on moving to the main ppa.13:54
gioeleLarstiQ: seriously, I use bzr for stuff I care about. I'm fine using whatever comes from the official releases. But I have no means to "test" a release except running bzr self-test.13:57
gioelebasically I just trust you dev that what is in the PPA is safe and tested enough13:57
LarstiQaww, shucks.13:57
* LarstiQ wanted to recruit more testers.13:57
gioeleLarstiQ: if you give me another test suite to test I'll happily test any new bzr. But is there another non-"bzr selftest" test suite?13:59
LarstiQgioele: the idea with the beta ppa is to have a time of real world usage in addition to the automated tests.14:00
gioeleLarstiQ: but how can I test in real world. I see a catch 22 here. My real data is too precious to use it to test bzr. I could use fake data, or older data with fake commands, but that would not be really representative14:01
gioeleand anyway, the latter could be automated14:01
gioelepeople could submit anonymized repositories and you could test on those, maybe with user supplied sequences of commands14:03
LarstiQgioele: right, that would exclude you from being a beta tester, which is fine.14:03
gioelecan someone despam http://bazaar-vcs.org/Talks/KeheduMujipul and http://bazaar-vcs.org/Talks/NedovHobahit?action=Despam14:05
gioeleI don't have enough rights to do that14:06
lifelessgioele: its not enabled on that wiki14:25
=== nevans1 is now known as nevans
phinzesurvey: ideal commit message for a merge?15:27
vilaphinze, one that describe succintly while precisely  what is being merged15:28
phinzewhen coming from a task branch it makes sense like "added feature, fixes issue #1234"15:29
phinzebut what about merging into a task branch updated code from shared branch15:29
phinzei'm finding myself flipping between "Merged trunk"; "Merging trunk"; "Merged upstream" and the like15:29
SamB"pulling from trunk"?15:30
phinzewondering if i'm being redundant as that data is stored in metadata of the commit15:30
SamBWell, who cares if you're a bit redundant?15:30
phinzeand then there's the question of present tense or past tense15:30
phinzetrue15:30
phinzeand i realize this is totally and completely pedantic and overkill15:31
phinzebut just wondered if other people think about this stupid stuff too :)15:31
SamBIt's easier to see if it's in the commit message, if you're going down reading the commit messages ;-)15:31
phinzetrue i like to keep --line nice and readable15:31
LarstiQphinze: 'Merge bzr.dev r1234'15:31
SamBand it's not like you can leave it blank15:32
phinzeLarstiQ: yeah that's not bad...15:32
LarstiQphinze: that's a bit ambiguous, but I think it's clear enough that you merge bzr.dev inclusive.15:32
phinzethough it would show up as [merge] Merge bzr.dev...15:32
LarstiQotherwise I'd word it as 'cherry pick'15:32
LarstiQphinze: that's display dependant, but if you worry 'Sync up with' ?15:33
phinzeLarstiQ: yeah not a huge deal -- just wanting to be succinct but useful15:33
* LarstiQ nods15:34
LarstiQphinze: have a look at the bzr.dev merging for inspiration, is what I usually do ;)15:34
phinzeLarstiQ: hah, not a bad idea -- look to the logs for enlightenment15:34
LarstiQphinze: that's also how logs will be used often ime, vcs archeology, finding out when and why a change got introduced, etc.15:36
LarstiQphinze: for merging trunk that usually matters less, but it's good to keep in mind15:36
phinzeLarstiQ: yesh my thoughts exactly15:37
phinzeLarstiQ: nice phrase too: 'vcs archeology'15:37
vilavcs *is* software archeology15:39
=== dereine[OFF] is now known as dereine
LarstiQvila: right, there is probably a better term than prefixing with the means15:41
vilaLarstiQ: you're right :)15:42
LarstiQ(I just don't like software archeology)15:43
ja1morning vila15:44
=== ja1 is now known as jam
vilahey jam !15:44
jamhow's it going?15:45
jamI'm still a little under the weather, and probably not up for a phone call.15:45
jambut we can chat here if you want15:45
vilajam: sure, I'm finishing upgrading all my machines to jaunty, the pain being mainly migrating from parallels to virtualbox for my main WS and finding workarounds for silly bugs15:47
vilaincluding synergy not working anymore to share the mouse, the scrollwheel insisting that the right place to be is top left corner of main screen and otherwise the mouse jumping randomly all over the place15:48
jamooh, sounds fun15:49
vilaall of them being of course unheard by google itself15:49
vilawell, that was fun the first hour or so :-)15:50
jamvila: In the past I came across an app that would hook into X's handling of your mouse.15:50
jamSuch that it could cause the mouse to "drift"15:50
jamand "accelerate" etc15:50
jamSo when you stopped moving the physical mouse, the cursor would keep sliding for a bit15:50
jametc15:50
vilahehe15:51
jamIt was a fun gag to play15:51
vilaI sort of had that one until I found the work around for synergy :)15:51
jambut I'm sure would be horribly frustrating to use in practice.15:51
vilaA funny one to mention too:15:51
vilavirtualbox defines rigth-ctrl as the "host" key (to regain control of mouse/keyboard from guest)15:52
vilabut since synergy was acting, I used an old sun keyboard at one point *without* a right ctrl key...15:52
vilaand of course I realized that during a long blocking operation when the mouse wasn't usable anymore (captured by the guest) :-)15:53
vilaoh, and also the scrollwheel bug was specific to one mouse, not the old one I finally found under some dust...15:54
vilaoh, one last thing:15:56
vilaI finally found the way to work around the buggy virtualbox NAT (that gave me troubles in Brisbane) by... using the one installed by parallels :-)15:57
vila(parallels installs a NAT handling background task at startup unlike vbox which try to handle it without being root and failed in some obscure corner cases...)15:58
vilaif ping and nfs can be called obscure that is :)15:59
=== verterok_ is now known as verterok
abentleyjam: I want to introduce a new metadir format like development-subtree, except using branch format 8.  Should I create a new entry, or just change development-subtree?16:04
jamW%rcR%ft2116:05
jamoops16:05
jamwrong window, and wrong entry anywy...16:05
jamabentley: I think we need a new format, because otherwise anyone using dev-subtree *today* won't be able to migrate16:06
abentleyjam: They ought to be able to do "bzr upgrade --development-subtree"16:06
jamabentley: because the individual objects would still be recognized?16:07
abentleyjam: Right.16:07
jamso, IMO, --dev-subtree should be an alias16:07
jamnot a concrete format16:07
jamso having it point at something new is fine16:08
abentleyjam: Right now, it's not.16:08
abentleyThere's a comment explaining why that I don't understand.16:08
jamlet me check16:08
abentleyi.e. "it's not an alias".16:09
jamabentley: so the comment is just that we didn't create a -dev6-subtree to aliase -dev-subtree to16:09
jamso I would suggest...16:09
jamcreate a --dev6-subtree (or -dev716:09
jamand change -dev-subtree to be an actual alias16:09
abentleyOkay.16:09
abentleyjam: I don't understand why aliases specify their component formats.  Seems brittle to me.16:10
jamAs for --dev6 / --dev7... I don't really care16:10
jamabentley: I don't fully understand aliases either16:10
jamI guess that aliases are just omitted from the 'info' listing?16:11
jamI certainly would have thought that an alias designation would just copy info from whatever it was aliasing16:11
jamyeah, it seems to do:16:12
jam    non_aliases = set(bzrdir.format_registry.keys())16:12
jam    non_aliases.difference_update(bzrdir.format_registry.aliases())16:12
=== herb` is now known as herb
jamAnd nobody actually took the time to code up how we would really want  to use aliases16:12
abentleyjam: Just being able to construct them from the format they alias would be a good start.16:14
jamabentley: like a "Format.create_alias()" function?16:14
abentleyjam: I was thinking of FormatRegistry.register_alias()16:15
jamsure16:16
abentleyjam: Shouldn't development formats be hidden?16:20
jamI would probably say yes by default, but I don't think there is a way to say "and give me the rest"...16:21
intellectronicaso, anybody knows how i make bzr on ubuntu not popup notifications for everything i do. the new notification dialog is nice, but this is a bit too much for my taste16:22
jamintellectronica: well, the brute-force way is to uninstall bzr-gtk16:23
jamThough I believe there *is* a way to just disable it16:23
jamI just don't know it off hand16:23
intellectronicajam: yeah, removing bzr-gtk seems to do the trick. thanks!16:24
SKArfaceGCkfogel: Finally got around to writing a bit on permissions, since you expressed interest  http://www.baltdad.com/2009/04/bazaar-part-5-permissions/  nothing earth shattering but it was useful for me.16:43
=== ja1 is now known as jam
kfogelSKArfaceGC: cool!  will take a look16:44
kfogelSKArfaceGC: oh, that's more about unix filesystem-level perms.  I think I was thinking about client/server access control.16:46
kfogellike, who can branch what from where, who can push what to where, that sort of thing16:46
SKArfaceGCI'm going to hit that next.  I've been crushed at work so I haven't had a ton of time to mess with it.16:46
SKArfaceGCI really do want to be able to handle perms at the server level rather than at the fs level.  Would simplify some stuff in my env.16:47
SKArfaceGCThough it strikes me that with a decent script and heavy abuse of /etc/groups I may be able to simulate some of the detailed control I want.  Just seems, well, a bit too hackish.16:48
matiobazaar is written in python isn't it16:48
matio?16:48
jelmermatio: yes16:49
kfogelSKArfaceGC: yeah, I think doing access control via fs-level perms is not the wave of the future :)-.16:50
kfogeloops16:50
kfogel:-)16:50
matiodoes the project need any help (that would be quite easy), I want to help open-source projects that use python16:50
jelmermatio: yeah, there's always more things to do16:51
jelmermatio: A good start is looking for the bugs tagged "easy" in the bug tracker16:51
matiowhat could I help with? (thanks 4 reply)16:51
jelmermatio: see https://bugs.edge.launchpad.net/bzr/+bugs?field.tag=easy16:53
SKArfaceGCare there any plugins for the smart server that deal with permissions already?16:54
matiothjelmer: thanks, I was just looking at the blueprints for bazaar!16:54
LarstiQmatio: easy, or trivial17:02
LarstiQmatio: (which is then https://bugs.edge.launchpad.net/bzr/+bugs?field.tag=trivial of course)17:03
=== dereine is now known as dereine[OFF]
matioim not sure where i would start17:14
LarstiQmatio: you could start by finding the patch mentioned in https://bugs.edge.launchpad.net/bzr/+bug/239523 , apply it, and see if that fixes the problem or not.17:17
ubottuLaunchpad bug 239523 in bzr "bzr tag --quiet not obeyed" [Low,Confirmed]17:18
LarstiQmatio: if it doesn't fix the problem, it needs to be improved. If it _does_ fix the problem, it needs to be merged to bzr.dev17:18
LarstiQmatio: in which case you'd need to find out why it isn't merged yet, possibly take care of points raised during review, get another review done, etc17:18
LarstiQmatio: does that help?17:19
matioLarstiQ: yes, thanks17:20
LarstiQmatio: http://bundlebuggy.aaronbentley.com/project/bzr/request might be of help for finding the patch. If not, it should be in the mailing list archives.17:21
LarstiQmatio: http://doc.bazaar-vcs.org/latest/developers/index.html might also come in handy17:22
matio LarstiQ: thanks for your help17:24
jelmerjam: ping17:54
jelmerjam: The parent keys specified to add_lines(), should that be a list or a tuple?17:54
jelmerIt seems like groupcompress bails out it if is a list and the other code bails out if it is a tuple17:55
jamjelmer: individual keys must be a tuple, IIRC, but the overall group of parents should probably be either17:55
jamAre you doing [(parent_1,), (parent2,)] ?17:55
jamor (parent1, parent2)17:55
jamOr ((parent1,), (parent2,))17:56
jamthe middle one is wrong17:56
jamfor sure17:56
jamthe first and third should be correct17:56
jam(I *think*)17:56
jelmerI'm doing the first but that triggers a test in add_lines() that makes sure the parents of a text don't change17:56
jelmerbzrlib/groupcompress.py:160117:57
jelmerif the present nodes have a different type than what I'm specifying it raises the assertion17:58
jelmer(Pdb) print keys[key][1]17:58
jelmer([('36620@8da58560-a4e7-4996-a0c2-a735b94b261c:trunk%2Fautodoc%2Fsource%2Fparser%2Fkernel%2Fx_parse.cxx', 'svn-v4:8da58560-a4e7-4996-a0c2-a735b94b261c:trunk:121227')],)17:58
jelmer(Pdb) print node_refs17:58
jelmer((('36620@8da58560-a4e7-4996-a0c2-a735b94b261c:trunk%2Fautodoc%2Fsource%2Fparser%2Fkernel%2Fx_parse.cxx', 'svn-v4:8da58560-a4e7-4996-a0c2-a735b94b261c:trunk:121227'),),)17:58
jamjelmer: so where does it fail if it is a tuple? (#3)18:00
jelmerand afaik I changed to using [] in the first place because another part of the code required that18:00
jelmers/afaik/iirc/18:00
jelmerI think the dupe check code of knits18:01
jamso failing because it is a list vs tuple doesn't seem valuable at that point18:02
jamI would have thought _get_entries() would always return tuples at this point18:02
jambut certainly it could have returned either at different times18:02
jelmerok, tuples it is18:03
jamjelmer: either way, I wouldn't mind if the check was updated to cast them specifically18:12
jamsince I don't think we care about the time of the container at that point18:12
SKArfaceGCwhere is documentation for a project on launchpad normally kept?  Blueprints/Answers/Overview do not seem to be the place to look.18:38
LarstiQronny: https://lists.ubuntu.com/archives/bazaar/2009q2/057805.html19:08
jfroyjelmer: updated 364416 with the NoSuchRevision backtrace19:10
jelmerjfroy: is this a repo with mixed svn-v3 / svn-v4 revisions ?19:15
jfroyyeah19:15
beunoSKArfaceGC, there is no such place, for now19:15
=== abentley1 is now known as abentley
ronnyLarstiQ: thanks20:07
LarstiQronny: thanks for getting me finally to start with virtualenv :)20:09
ronnyLarstiQ: np, always happy to beat people with cool things20:11
LarstiQhihi20:12
mwhudsonjelmer: hello20:12
abentleyjam: Do you have a minute to chat?  I need some advice on nested pull.20:24
=== nevans1 is now known as nevans
jelmermwhudson: hi!20:35
BasicOSXWho would have thought RMS had a sense of humor. Sent myself and mbp "condolences" for the 1.13.2 release :-)20:36
beunoBasicOSX, HI!20:36
beunowhat do you think of updating the release PPA with 1.14?20:37
beunoinstead of 1.13.2?  :)20:37
BasicOSXbeuno:  I don't do the PPA part, just source tar/zip, but I think it's a great idea :-)20:37
beunoBasicOSX, oh?   now I have to find someone else to bug!20:38
LarstiQbeuno: I've sent johnf (who does the ppa bits for bzr) a mail about that.20:38
beunoLarstiQ, thanks  :)20:39
LarstiQbeuno: he's in the .au/.nz timezone afaik20:39
beunowe should also get an SRU for Jaunty20:39
jelmerbeuno: did 1.14 end up in Jaunty?20:40
beunojelmer, no  :(20:41
beuno1.1320:41
jelmerah, good20:43
jelmerotherwise we'd have heaps of broken plugins there..20:43
beunojelmer, well, now we have heeps of broken branches...  :)20:43
abentleybeuno: Do you mean the stacking issues or the new formats?20:49
beunoabentley, stacking20:49
abentleybeuno: AIUI, we're putting bzr 1.13.2 into jaunty-updates.20:50
beunoabentley, has someone filed that?20:50
beunothat would be lovely  :)20:50
abentleybeuno: Ask spiv20:51
* beuno looks at spiv 20:52
jelmermwhudson: is that etckeeper mirror still visible somewhere?20:53
mwhudsonjelmer: o20:59
mwhudsono20:59
mwhudsonaargh!20:59
mwhudsonno!21:00
mwhudsonjelmer: the usual staging effect21:00
mwhudsonjelmer: but the import took like 10 seconds21:00
jelmermwhudson: that sounds about right21:02
jelmermwhudson: speaking of 10 seconds.. launchpad-bazaar seems to be choking on openoffice21:02
jelmerhttps://edge.launchpad.net/~jelmer/openoffice/hosted21:02
mwhudsonjelmer: gosh21:02
mwhudsonjelmer: that mean 15 minutes without a progress report :/21:03
* mwhudson goes to look at the codehost's disk space graph21:04
jelmeryeah, it's large21:10
jelmerabout 200k revs at this point21:10
jelmermwhudson: any idea?21:23
mwhudsonjelmer: probably getting a LOSA to do the initial pull by hand21:23
mwhudsonjelmer: unless you want to fix bzr's progress reporting?21:23
=== dereine[OFF] is now known as dereine
jelmermwhudson: there's lots of things I want to do21:32
mwhudsonjelmer: i know that feelig21:32
mwhudsonjelmer: i'll get spm to kick it when he starts work21:33
jelmerso this is just because bzr doesn't give any output, in which case lp assumes it's stalled?21:34
mwhudsonright21:34
mwhudsonwe hook into the progress bar machinery21:34
LarstiQcalling bzr via bzrlib.. ah21:34
LarstiQmwhudson: what version of bzr is that with?21:34
mwhudson(useful for mirrored branches really, the mirror puller sometimes got stuck for daaaays)21:35
mwhudsonLarstiQ: 1.14rc221:35
LarstiQmwhudson: and the progress isn't sufficient? Hmmm.21:35
mwhudsonjelmer: what format is the branch?21:35
LarstiQfor being alive I'd expect the transport progress to really have helped.21:35
mwhudsonjelmer: if i have bzr-git in ~/repos/bzr-git/trunk how can i run the tests?21:36
mwhudsonjelmer: symlink from ~/.bazaar/plugins/gtk, bzr selftest git ?21:36
mwhudsonLarstiQ: don't think the localtransport participates in that?21:36
LarstiQmwhudson: oooh, fair enough21:37
LarstiQyeah, that sucks21:37
jelmermwhudson: development621:39
jelmermwhudson: "make check" in the bzr-git directory should do it21:39
jelmermwhudson: but what you suggested should work too21:39
mwhudsonjelmer: oh right21:41
mwhudsonhmm21:42
mwhudsonProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.21:42
mwhudsonjelmer: sqlite version fun or something?21:42
jelmermwhudson: do you have bzr-git 0.2.1?21:42
mwhudsonjelmer: bzr-git trunk21:43
mwhudsoni guess i should branch the tag21:43
mwhudsonand hey, maybe lp isn't up to date21:43
mwhudsonah, it's a hosted branch21:44
ronnyLarstiQ: btw, http://moinmo.in/SectionParser might be something to help with making things invisible21:44
mwhudsonjelmer: happens with tag:bzr-git-0.2.1 too21:45
LarstiQronny: that seems like it should work, thanks21:46
jelmermwhudson: sorry, it looks like I forgot to actually merge my python2.4 fixes for bzr-git21:48
kirklandso i found the color coding pretty cool, interesting in 'bzr shelve' ... is there any way to get bzr diff to work the same way, color coded and in a pager (besides dumping to file and opening in vim?)21:49
jelmermwhudson: Is it ok if I just push or would you rather see a 0.2.2?21:49
ronnyLarstiQ: {{{#!wiki comment21:49
mwhudsonjelmer: this happens with python2.6 too21:49
LarstiQkirkland: that happens because you have bzrtools installed, which also provides cdiff21:49
mwhudsonjelmer: a tag would be nice, no need to bother with a release21:49
LarstiQkirkland: pager/vim wise, I usually | vim -21:49
LarstiQronny: that being standard supported?21:50
mwhudsonkirkland: also less -R works21:50
* LarstiQ falls asleep, ciao21:51
kirklandthanks guys21:51
luksbzr-pages can do that automatically for you21:51
luks*bzr-pager21:51
ronnyLarstiQ: yes, im not sure since what version tho21:52
jelmermwhudson: pushed, tagged as bzr-git-0.2.1a21:54
mwhudsonjelmer: ta21:54
mwhudsonoh wow, bzr tags -r branch:lp:bzr-git goes bang in a spectacular way21:56
mwhudsonReadOnlyError: A write attempt was made in a read only transaction on LockableFiles(lock, file:///home/mwh/canonical/repos/bzr-git/release-0.2.1/.bzr/branch/)21:56
=== dereine is now known as dereine[OFF]
mwhudsoni guess i should file a bug or something21:56
mwhudsonjelmer: pushed where?21:58
jelmerlp:~bzr/bzr-git/trunk21:58
mwhudsonjelmer: really?22:02
=== welten is now known as welterde
mwhudsonoh wow, yes, really22:02
mwhudsonjelmer: thanks happier now22:03
jelmercool22:03
* mwhudson just experienced svn's conflict handling for the first time in a few years22:04
mwhudsonit's .... different ow22:04
mwhudsonnow22:04
jelmeryeah, it's been improved22:04
mwhudsonsvn resolve --accept working <file> is pretty awkward though22:05
mwhudsonand i don't really want to be asked questions during 'up'22:05
mwhudsonah well22:05
=== weltende is now known as welterde
jelmermwhudson: what are you using svn for anyway now that you have bzr-svn ? >-)22:05
mwhudsonjelmer: it's codespeak :)22:05
jelmerahh :-)22:06
mwhudsonspeaking of which, i have a repo dump here...22:06
enigmajelmer: I'm having a strange bzr-svn error when you have a second.  bzr: ERROR: exceptions.AttributeError: 'SubversionPushResult' object has no attribute 'old_revno'22:06
enigmajelmer: "bzr missing" and "bzr pull" work just fine. It's just "bzr push" that has issues.22:07
jelmerenigma: with which version?22:08
enigmabzr-svn 0.5.4 with bzr 1.1422:08
mwhudsonjelmer: while you're here, python 2.4, bzr 1.14, subvertpy 0.6.5 and bzr-svn 0.5.4 should all get along reasonably happily?22:14
jelmermwhudson: yes22:14
mwhudsonjelmer: cool22:17
mwhudsonjelmer: i'll be asking you a similar question in a month, i guess :)22:17
* mwhudson stabs combinator22:17
mwhudsonuh!22:18
mwhudsonthe subvertpy tests just segfaulted on me22:18
jelmeruh?22:19
mwhudsonjelmer: subvertpy.tests.test_client.TestClient.test_get_config segfaults for me22:19
mwhudsonwith python 2.4, 2.5 and 2.622:19
mwhudsonon jaunty22:19
jelmermwhudson: subvertpy tip?22:19
mwhudsonjelmer: release-0.6.522:19
jelmermwhudson: That one is actually fixed since 0.6.522:20
* jelmer should probably release 0.6.622:20
mwhudsonjelmer: yes, trunk seems happier22:21
mwhudsonapart from subvertpy.tests.test_properties.TestProperties.test_time_from_cstring22:21
mwhudson    self.assertEquals(1225704780716938L, properties.time_from_cstring("2008-11-03T09:33:00.716938Z"))22:21
mwhudsonexceptions.AssertionError: 1225704780716938L != 1225701180716938L22:21
jelmermwhudson: export TZ=CET ;-)22:22
jelmerbut yeah, that's a bug too22:22
mwhudsonjelmer: ehhh22:22
mwhudsona bug in the tests, or in subertpy?22:23
jelmermwhudson: that's a bug in the tests22:23
mwhudsonok22:23
mwhudsonjelmer: i get this sort of thing when i try to run bzr-svn tests with python2.4 http://pastebin.ubuntu.com/161709/22:26
mwhudsonjelmer: does that make any sense to you?22:27
mwhudsonah, the message is actually22:28
mwhudsonImportError: subvertpy/client.so: undefined symbol: Py_InitModule4_6422:28
mwhudsonoh i see, i wasn't actually running the tests with trial22:29
mwhudsonjelmer: subvertpy doesn't actually seem to work with python2.422:31
jelmermwhudson: Tests seem to work fine here22:34
jelmermwhudson: did you rebuild for python2.4?22:34
mwhudsonjelmer: yes22:42
mwhudsonat least, i tried :)22:42
jelmermwhudson: what exactly doesn't work?22:43
mwhudsonjelmer: importing the extensions22:44
mwhudsonhang on, three conversations at once going on here :)22:44
pooliehello all22:56
jelmerhey poolie22:57
pooliei'm home again, yay22:57
mwhudsonjelmer: spm is pulling your oo branch by hand now22:57
spmpoolie: just in time for friday too! excellent timing! :-)22:57
mwhudsonjelmer: ok, python2.4 seems to be working now22:59
jelmermwhudson: cool - any source code changes necessary?23:01
mwhudsonjelmer: are you going to release a new subvertpy, or should i just use tip?23:01
mwhudsonjelmer: no23:01
mwhudsonjelmer: although you might want to fix the business about the error message when extensions fail to import23:02
sidneiyo poolie!23:02
pooliehello sidnei23:04
jelmermwhudson: if possible please just use the tip23:04
jelmermwhudson: I'd like to fix the timezone issue as well in 0.6.623:04
mwhudsonjelmer: ok23:04
sidneipoolie: im making good progress here. too bad it takes a hundred years to branch bzr on my connection :)23:04
mwhudson(we're not actually using subvertpy/bzr-svn yet, but i would like to get a mutually compatible set of stuff in our tree)23:04
mwhudsonjelmer: argh, the bzr-svn tests segfaulted23:06
* jelmer thinks mwhudson has some bad karma23:07
jelmermwhudson: bzr-svn 0.5.4, subvertpy tip, bzr 1.14 ?23:08
mwhudsonjelmer: python 2.4, jaunty23:08
mwhudsonjelmer: pastebin will follow in a sec, on a call now23:08
=== dereine[OFF] is now known as dereine
mwhudsonjelmer: it's bzrlib.plugins.svn.tests.test_workingtree.TestWorkingTree.test_get_ignore_list_morelevel that segfaults23:13
lifelesshi poolie23:16
pooliehi lifeless23:17
pooliei'm back, as you see23:17
pooliei'll answer your mail about news from london23:17
pooliei have a cold (hopefully not swine flu!)23:18
jelmermwhudson: do you have a gdb backtrace?23:20
fullermdI have a solution to swine flu.  It involves eating a whole lot of bacon.  Who's with me?23:20
lifelessfullermd: :)23:20
lifelessfullermd: bacon explosion!23:20
mwhudsonjelmer: no23:20
jelmermwhudson: I'm really not sure what could cause this, nobody has reported a segfault in months23:21
mwhudsonjelmer: on the phone, one sec23:21
mwhudsonjelmer: http://pastebin.ubuntu.com/161741/23:25
jelmermwhudson: are you getting an actual segfault or an assertion? which svn version?23:30
mwhudsonjelmer: segfault23:35
mwhudson1.5.4dfsg1-1ubuntu3~launchpad023:35
mwhudsonhmm23:35
mwhudsonthat ~launchpad0 is a bit suspicious :)23:35
lifelessmwhudson: probably a nochange rebuild for 2.423:36
mwhudsoni hope so23:36
sidneilifeless, poolie: any idea where TortoiseOverlays can be found? the build instructions are broken where the link should be: http://bazaar-vcs.org/BzrWin32Installer23:38
lifelesssidnei: no idea :(23:39
tyhicksQuestion from a git user: It seems like bzr repositories are made up of branches that are contained in subdirectories.  In git, I tend to like that I can checkout a branch (with git-checkout) and not cd into a subdirectory.23:40
tyhicksAm I missing something with bzr repos or will I just have to live with it? :)23:40
mwhudsontyhicks: there has been vigorous debate about this :)23:41
mwhudsontyhicks: one thing you can do in bzr is separate your trees from your branches and repository23:41
lifelesstyhicks: you can create a checkout and use switch to switch between branches23:41
tyhicksmwhudson: Ahh... I didn't mean to fuel the fire23:41
mwhudsonso you can have a repo in say ~/repos/project23:42
mwhudsonand branches  ~/repos/project/trunk ~/repos/project/feature-X23:42
mwhudsonand then a checkout in ~/checkouts/project23:42
mwhudsonthen in ~/checkouts/project you can say "bzr switch trunk", "bzr switch feature-X"23:42
mwhudsontyhicks: no worries, just wanted to say that you're not the first to ask this question :)23:43
tyhicksmwhudson: I didn't know about bzr switch.  I think that will work for me.23:43
tyhicksmwhudson: Thanks!23:43
sidneialright, gotta go. have a good weekend all!23:43

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