/srv/irclogs.ubuntu.com/2008/08/07/#bzr.txt

poolieigc, spiv, jam, hi00:05
poolieskype seems to be broken on my laptop now00:06
igchi poolie00:06
jampoolie: I'm just chatting with lifeless for now, I'll probably skip the standup00:06
pooliehello igc, how are you today?00:06
lifelesshi poolie00:06
igcpoolie: not too bad today00:06
poolieshall we just stand up here?00:07
spivHello.00:07
pooliefor myself i was planning to make sure usertest is running in the datacentre (if it's not at present)00:08
poolieand then look at the results for 1.6rc1 compared to previous ones00:08
poolieoh and also update the ppa which i didn't finish yesterday00:09
spivThinking of 1.6rc1... bzr.dev is now open for changes for 1.7?00:10
james_wis usertest extended to history now?00:10
poolieyes00:10
pooliei should mail about that00:10
pooliejames_w, i don't think it does large amounts of history atm00:10
poolieit should00:10
james_wjust wondered00:11
igctoday, I'm planning to catch up on email and add some more tests to my filtered views branch00:11
james_wpoolie: would you like 1.6rc1 in a distro?00:11
pooliei may either add that, or run ad hoc tests on a long history00:12
pooliemany distros! :_)00:12
igcjames_w, poolie: if usertest finds a .bzr directory inside a project archive, it skips the initial import task00:12
james_wigc: ah, cool.00:12
igcso it will handle whatever history you have already setup00:12
spivToday I'm working on the 'effort' tests described in my email from yesterday.00:12
james_wpoolie: I'll see what I can do00:13
pooliei should check if the ppa packaging has diverged from intrepid00:13
pooliejames_w:  what are you working on on the distro team btw?00:13
james_wpoolie: importing ubuntu in to bzr. I guess no VCS anywhere will have had this much code in it before00:14
pooliewow00:14
pooliethat must be a lot00:14
james_wI have tomorrow off though, so I can push 1.6rc1 to the archive, and possibly Debian as well00:15
james_wpoolie: fingers crossed for ~16k packages, ~4 years history of uploads00:15
james_wsorry to divert your stand-up00:16
lifelessjames_w: :)00:17
lifelessjames_w: single repo ?00:17
james_wlifeless: no00:18
james_wmaybe I lied then00:18
lifelesscause I have that megarepo :P00:19
james_wI'm pretty sure no DVCS will have that much code00:19
ToyKeeperWow.  I hope you've got plenty of space and time.00:19
lifelessI suspect MS's internal repos are pretty big00:19
james_wlifeless: sure, I'll sell that to the developers. To get started with development just download this 22G repo...00:19
lifelessjames_w: you can pull out of it in millisecond time :)00:20
james_wlifeless: I should have mentioned the meeting to you, sorry00:21
lifelessnp00:22
thumperwhat is the flag to bzr upgrade to do all the branches too?00:22
thumperin a shared repo?00:23
Peng_beuno: I think I ended up at /download just by messing with the URL to see what would happen.00:36
james_wthumper: I don't think there is one. I may have missed it though00:37
james_wthumper: but in most cases converting the repo is 90% of the work00:37
ToyKeeperIt may be 90% of bzr's work, but it's only one of many commands the user would need to run to convert the repo + branches.00:41
lifelessdato: which reminds me; no chance on that mail yet I guess?00:41
james_wToyKeeper: oh yeah, I realise that00:41
datolifeless: nope, sorry; weekend is the safest bet00:42
lifelesscool, I'll stop inquiring for a while then00:42
beunoPeng_, so the bug is, if you punch in a random URL, it redirects you to a random place, which, in this case, doesn't work. Correct?00:43
Peng_beuno: Yep. :)00:57
beunoPeng_, marked as duplicate of "we don't validate user input", because I think that if we fix that, then we fix that bug.  Feel free to un-duplicate it if you feel differently00:58
Peng_beuno: +0. Doing the redirect seems like an attempt to validate user input; it's just incorrect.00:59
Peng_Err, does it incorrectly, I mean.00:59
beunoyeah, although a pretty bad one I think01:00
beunohm01:00
beunoI'm off to dinner, so I'll leave it to you to decide  :)01:00
Peng_beuno: I unduped it.01:03
markhjelmer: you have a moment for my daily bzr-svn on windows question?01:17
jelmermarkh, heh, sure01:17
markhmany of the bzr selftests are failing when bzr-svn is installed - notably the blackbox tests, which seem to be getting an exit code of 0 when they expect a failure code.  Is that known by you?01:18
markhbest I can tell, bzr is actually doing the right thing - just the exit codes are screwy01:19
jelmermarkh, they're failing when bzr-svn is installed and not otherwise?01:19
jelmerwhat sort of errors?01:19
markhyes (although I admit I've only disabled *all* plugins - others are bzrtools and qbzr)01:19
markhsimply that the 'bzr' exit code was zero instead of (say) 301:19
jelmerno strange messages in the output?01:20
markheg, blackbox.test_merge.TestMerge.test_merge_with_missing_file01:20
markhnope01:20
jelmermarkh, hmm, that runs fine on linux01:21
markh  File "bzrlib\tests\blackbox\test_merge.pyo", line 132, in test_merge_with_missing_file \nAssertionError: Unexpected return code\nnot equal:a = 1 \n b = 001:21
markhI was afraid you would say that :)01:21
markh--noplugins makes it work fine for me.  My attempts at debugging have failed so far, but I was guessing that maybe bzr-svn *also* had a chance to handle the 'bzr merge' command being tested somehow...01:22
markhI'll dig some more...01:22
markhand it seems that all blackbox test which expect a non-zero exit code are failing01:23
markh(the log does show the command being executed and, in this case, failing with conflicts.  So its strange but probably just a test issue)01:23
james_wjelmer: how do you plan on handling bzr for Debian during the freeze?01:29
jelmerjames_w, haven't given it any thought yet01:29
jelmerjames_w, I guess we can just upload 1.6 & friends to sid since they won't propagate now01:30
jelmerjames_w, Not sure if there's a good reason for requesting a freeze exception01:30
jelmerjames_w, what do you think?01:30
Odd_BlokeI'm not sure we'd want 1.6 in lenny anyways, as it's introducing quite a lot that might be unstable (ha ha).01:31
jelmerwell, 1.5 breaks with bzr.debian.org atm..01:31
james_wjelmer: I thought maybe experimental01:34
james_wand maybe fixing the 1.5 problem would be a good thing for a freeze exception01:34
jelmerjames_w, any particular reason for experimental rather than sid?01:35
jelmerI'm finding that 1.6 works significantly better than 1.5 for me01:35
james_wjelmer: I was under the impression that was preferred to leave the unstable->testing route open for targeted fixes01:35
james_wperhaps we should ask the opinion of our tame release assistant tomorrow01:36
* dato waves01:37
jelmerdato: hi :-)01:38
jelmerdato: ^01:38
datothe responsible thing is to upload to unstable; if I was still the maintainer, I would probably had uploaded to sid; but doing that probably reduces your chances of fixing "important" bugs, because it'd have to go through t-p-u01:39
datoerrrrrrrrrrrrrrrrr01:39
datothe responsible thing is to upload to experimental, of course.01:39
lifeless:)01:41
james_whey dato01:42
Odd_BlokeIncidentally, I've started using bzr-builddeb for my packaging and it's great.  So thanks to people who wrote that. :)01:42
lifelesspoolie: btw, I want that brainstorm on marks :>01:43
jelmerdato, thanks01:44
* dato goes to bed01:44
jelmerOdd_Bloke: Please also set the Vcs-Bzr control field :-)01:44
Odd_Blokejelmer: I wasn't sure if that was meant to point to a bzr.debian.org location, which is the only reason I have yet to do so.01:46
Odd_Bloke(because none of my packages are on bzr.debian.org (yet))01:47
jelmerOdd_Bloke, no just any URL where your packaging can be found01:48
Odd_BlokeCool, I'll add it in.01:49
jelmerHmm, looks like bzr is the third vcs for debian atm, behind svn and git01:49
jelmeralthough the distance between git and bzr is pretty big01:49
lifelessI don't think it actually means a lot, though I'm sure people will think it does01:49
lifelessa bunch of maintainers switched with a disproportionate package count01:50
wildfireso, I accidently did 'bzr rm --keep .bzrignore' and then realised my mistake and did 'bzr add .bzrignore'01:50
wildfireand now 'bzr status' says that .bzrignore is being both added and removed01:50
wildfirenormal? should I care?01:50
jelmerlifeless, I think those numbers reflect reality01:50
jelmerlifeless, The number of bzr users in Debian seems to've diminished greatly :-(01:51
lifelesswildfire: normal, but you can do bzr revert .bzrignore to just reset it01:51
jelmers/in Debian/under DDs/01:51
wildfirelifeless, ah-ha, thanks01:51
lifelesswildfire: that will revert any content changes to the file too01:51
* wildfire hehs01:51
wildfireyes, I just realised, it had a conflict reverting things01:51
cjwatsonwildfire: (it showed up as remove+add because the add operation gave it a new internal file-id)01:51
wildfireand moved it all aside to .bzrignore.moved.01:52
lifelessah yes, because there is a file there:)01:53
lifelessbzr rm .bzrignore.moved01:54
lifelessbzr revert .bzrignore01:54
wildfirelifeless, in my case I wanted those changes, so easy enough to fix-up01:56
lifelessgood good01:56
lifelesspoolie: ping02:05
pooliepoing02:05
poolieok, how about now?02:05
lifelesscool02:05
=== mw is now known as mw|out
Odd_BlokeHow do I send targetted at a one branch (i.e. the mainline) but generating a patch against another branch (a change on which my branch depends)?03:45
lifelessOdd_Bloke: -r branch:dependent03:46
Odd_Blokelifeless: Thanks. :)03:48
lifelesse.g. -r thread:..03:51
=== timchen119 is now known as nasloc__
* pickscrape uploads loggerhead branch adding breadcrumb links05:48
mwhudsonooo05:56
* AfC eats all the breadcrumbs, dipping some of them in hummus.05:57
pickscrapeHopefuly it's any good. I've not done any python web development before.05:57
mwhudsonhm, maybe an a:hover of a different colour would be nice06:02
pickscrapeYes, I can see that. Unfortunately I'm the last person you want to be picking colours :)06:03
pickscrapeDo you have one in mind?06:03
mwhudsonnot really06:04
=== sabdf1 is now known as sabdfl_
=== sabdfl_ is now known as sabdfl
=== sabdfl is now known as sabdfl_
kiorky   /B 308:53
aquariusI'm getting a weird error when trying to commit to my sftp repos: bzrlib.errors.KnitCorrupt: Knit None corrupt: incorrect number of lines 318 != 253 for version09:07
aquariusI've filed it as a bug in launchpad (#254511) but, pending that being fixed, what can I do to make some forward progress? At the moment I can't commit at all :(09:08
meoblast001oh no09:55
meoblast001bzr: ERROR: Target directory "xeiso" already exists.09:56
meoblast001what does that mean09:56
AfCmeoblast001: you're trying to do a new branch [or checkout]?10:00
meoblast001lol i figured it out10:00
AfCmeoblast001: if so, I would guess that about 30 seconds ago you started doing such a thing, but then ^C aborted, and tried again.10:00
meoblast001i deleted the file10:00
meoblast001folder*10:00
meoblast001and i was cd'd into it10:01
meoblast001and it cd'd me into the trash10:01
meoblast001O_o10:01
meoblast001you learn something new every day10:01
AfCaquarius: you might try creating a new local branch from the remote repository and then try to create a new remote branch, committing there instead. That sort of thing tends to workaround [partial] corruption that is outside of Bazaar's control.10:03
AfCaquarius: or recreate remote repository, or...10:03
aquariusAfC: right, OK. The thing that's in the repos is my home folder; I've committed successfully from machine 1, I've checked it out onto machine 2, but now I can't commit machine 2's changes back.10:04
AfCaquarius: (ultimately, all branches are peers, so assuming your local branch isn't  missing anything from the remote branch, you can always nuke remote and recreate it)10:04
AfCaquarius: (and, are you using "I checked out" colloquially or do you really mean you did `bzr checkout` rather than `bzr branch`)10:06
AfCaquarius: (and, sftp://, huh? Can't get bzr installed on the remote machine? That's a shame; bzr+ssh:// might probably work better)10:07
AfC(and, KnitCorrupt ... hm. Does a more modern repo format still give such an error?)10:08
* AfC is out of interesting questions to ask10:08
cjwatsonyou might try 'bzr check sftp://path/to/remote/branch' (or 'bzr check /local/path' on the remote machine, faster if possible) to see whether it's the remote branch that's broken or the local checkout10:09
aquariusI really did bzr checkout. I'm using it like svn...10:09
aquariussftp because the remote box is running debian sarge. How cool am I, eh?10:09
aquariusthe repo format needs upgrading. But, it said do "bzr upgrade sftp://wherever" and I did that and it didn't help, so, well, I wasn't sure what to do next :)10:10
cjwatsonrsync branch over, bzr upgrade locally, rsync branch back?10:10
cjwatson(if all else fails, use brute force)10:10
aquariusok, trying bzr check on remote repo10:11
aquariusheh. I did think about the rsync thing but I'm worried about juggling two copies of my home folder around ;)10:11
cjwatsonyou only need to rsync the .bzr bit10:11
aquariusah, the remote repo has a .bzr folder, got it. I'd not actually looked in the repo at all; I assumed it was some clever collection of files that mustn't be fiddled with :)10:12
cjwatsonaquarius: the clever collection of files is inside .bzr ;-)10:16
pborgrazie10:22
pborops, wrong window10:22
AfCaquarius: for what it's worth, you might want to [manually] install at least bzr 1.5 (and even better yet, manually install >= 1.5 on both local and remote machines). If you are managing your home directory with a VCS I'm not so sure you want to be running an old version of the tool (assuming you were to be doing so).10:30
* aquarius nods. Yeah. This has occurred to me...10:31
aquariushrm. bbiab.10:36
awilkinsjam: You're a windows-boy now, yes?10:46
awilkinsmarkh: Ping?10:48
jonnydeehi :)10:49
jonnydeeI've got a question: is there any functionality like "svnadmin export REPO" in Bazaar?10:50
Odd_Blokejonnydee: What would you anticipate such a command doing?10:50
jonnydeeto export a repository/branch into a repository-neutral format10:51
awilkinsbzr-fast-export  ?10:51
jonnydeethis way I could export a rich-root-pack repository and import the dump into a new one using knits, for example10:52
Odd_Blokejonnydee: What version of bzr are you using?10:52
Odd_BlokeKnits are ooooolde.10:52
awilkinsThey're so old, they smell of wee.10:52
lifelessjonnydee: why do you want to do this?10:52
jonnydeeooh...there is a bzr-fast-export? I've only read about bzr-fast-import (which does not list bzr as a source)10:53
jonnydeewell, from time to time I get an error "bzr: ERROR: [Errno 22] Invalid argument"10:54
awilkinsIronically, the only source of it I can find is a git repo :-)10:54
jonnydeemy repository is located on a windows network share10:54
lifelessjonnydee: if you want to try knits rather than rich-root-pack, just do 'bzr upgrade --rich-root'10:54
lifelessjonnydee: that willdowngrade the repository to a knit based format10:55
jonnydeeMy local working copy is a checkout and after some commits this error occurs. But I don't know the reason, however10:55
lifelessjonnydee: exporting through fast-export will just destroy your ability to merge with your own history10:55
lifelessits a bad idea10:55
lifelessjonnydee: that said, packs are _way_ better than knits at windows friendliness10:57
AfCheh. You should call it `bzr downgrade --rich-root` [for the case that you're moving backwards]10:57
lifelessif you're getting errors its almost certain that its coming from the working tree logic10:57
lifelessand the best way to address that is to ensure there is a bug filed and work with us to fix it10:58
lifelessjonnydee: ^10:58
jonnydeeI already did a  'bzr upgrade --rich-root' just to see if a downgrade is possible (all other downgrades seem to be unsupported).10:58
jonnydeeI was thinking about filing a bug, but I haven't figured out a pattern which reproduces the mentioned error10:59
jonnydeeyet10:59
lifelessjonnydee: file the bug10:59
lifelessjonnydee: if you wait until you know everything about it you may as well just file a patch :) - with a bug, however vague, we can help10:59
jonnydeeok, I will file a bug. But I have no further information about when the error occurs...not yet, at least.11:00
lifelessthats fine11:00
lifelessI take the view that whenever bzr is not ideal there should be a bug filed11:01
lifelessfrom there we can talk/discuss/track/analyse the issue11:01
jonnydeeok, that's a godd view point -- I agree :)11:01
jonnydeeso thank's for your help11:02
jonnydeecu, bye11:02
awilkinslifeless: I have a change of yours here that causes errors in test_switch on win3211:09
awilkinslifeless: robertc@robertcollins.net-20080730095022-4tc7ij34c0tmejb511:09
awilkinsShould people log bugs for errors that the test suite shows up?11:09
awilkinslifeless: Reading the diff, it's specifically the bit that removes the osutils.isdir() check11:11
jonnydeeHi again, I just wanted to let you know about my bug report: https://bugs.launchpad.net/bzr/+bug/25565611:27
ubottuLaunchpad bug 255656 in bzr ""bzr: ERROR: [Errno 22] Invalid argument" when committing to a checkout (or doing a push) to a repository located on a windows network share" [Undecided,New]11:27
jonnydeeoh, sorry. there is a but which reports such reports....didn't know that...11:28
jonnydeebot11:28
jonnydeehave a nice day / night ;)11:30
sven_hi! when i get a 'contents conflict' during merge, how do i figure out what type of contents conflict it is?11:35
james_wjonnydee: it was just responding to you11:37
james_wjonnydee: thanks for reporting the bug11:37
jonnydeeahh, ok I see. Well, thank you for your support :)11:38
james_wjonnydee: it would be really useful to get the backtrace of the problem, could you look in ~/.bzr.log for the problem occuring and attach on of the stazas where it does to the report please?11:38
jonnydeeI'll have a look...just a moment11:39
james_wthanks11:40
jonnydeeok, done. I hope it helps...11:53
james_wjonnydee: thanks, would you say that it was around 10 commits before this happens?11:57
james_wI imagine it is seeing the backtrace11:58
james_wthere's a problem in the pack logic, and after around 10 commits it will try to autopack11:58
james_wjonnydee: at a guess this wouldn't happen if it wasn't on a network mounted drive. The operation is probably doing something that isn't liked by that filesystem12:02
james_wjonnydee: is your project particularly large?12:03
jonnydeesorry for the late answer:12:05
jonnydeeyes about 10 commits seems reasonable....12:05
ronnyhow can i show a revision graph with bzr?12:06
jonnydeewell i hav checked in 3 videos, which are about 90MB each...12:06
jonnydeeok, i have to go for lunch now... cu later12:06
james_wrocky: "bzr viz", or "bzr qlog" may be what you want12:20
james_wrocky: the first is in bzr-gtk, the second in qbzr12:20
rockyhuh?12:20
rockyjames_w: fix your autocompleter :)12:21
james_wrocky: ah, sorry, I've obviously not woken up yet12:21
james_wronny: ^ that was intended for you12:21
sven_hi! how do i find out which revision a file was removed from the repository?12:22
james_wsven_: that's pretty tricky at the moment unfortunately12:25
james_wsven_: there's no simple command to do it12:25
james_wIf you have an idea then I think looking in "bzr log -v" around that area may do it. Otherwise bisect is an option12:26
james_wIt's something we need to improve though12:26
sven_james_w, ok, thanks12:26
sven_james_w, yes, that would really be helpful to know!12:27
sven_james_w, another related issue: would it be possible to give better explanations of 'contents conflicts'? something like "file: removed in THIS, modified in OTHER" or "file: binary file modified concurrently"12:28
james_wsven_: I'm not sure, I don't know the conflicts code well12:29
sven_james_w, ok12:29
james_wsven_: I agree it would be nice to have though, would you file a bug please?12:29
sven_james_w, will do. thanks!12:29
ronnyjames_w: thanks12:30
=== mw|out is now known as mw
sven_james_w, i reported https://bugs.launchpad.net/bzr/+bug/255687 for my first question. about 'contents conflicts', there is already a bug: https://bugs.launchpad.net/bzr/+bug/3501512:57
ubottuLaunchpad bug 255687 in bzr "Please allow annotating removed files" [Undecided,New]12:57
sven_james_w, would it be possible to escalate these bugs? they hit us in MySQL quite frequently12:58
james_wsven_: I'm not the person to ask about that I'm afraid12:59
sven_james_w, ok. do you know who to ask?12:59
james_wsven_: I'm not sure how it's supposed to work, you're probably best off asking someone else at mysql how to go about that13:00
sven_james_w, ok, thanks13:00
awilkinssven_: A thought ; perhaps if you could get the log based on file_id ?13:22
awilkinsHow hard would it be to get a log for a file_id instead of a path?13:24
lukseasy, getting the file_id would be harder13:24
james_wit would be possible, as that's what the path one does13:24
luks(or slower, not harder)13:24
james_wbut yeah, luks is right13:24
luksextracting inventories is expensive, and to find a deleted file you need to extract them a lot13:25
james_wspecifying a path looks up the file id of that path in the current tree, and then gives all revisions that touch that file id13:25
luksunless it's deleted in the last revision13:25
awilkinsthe bug implies that they know a revision from the subset of revisions the file exsinted in, so it's not too bad13:25
luksif you know the revision, is should be a simple path -> id lookup13:25
sven_luks, how can i do the path->id lookup?13:27
awilkinsAnd non-text conflicts do need some usability work ; I have a small patch that adds some options to "conflicts" so you can filter on things other than --text, and use --null separators, but I haven't implemented tests for it yet so I've not submitted it.13:27
lukssven_: I meant in bzrlib code13:27
sven_luks, ah, i see13:27
luksI have a plugin that looks for deleted code somewhere13:27
luksbut I doubt it still works with bzr 1.613:27
luksand it's slow as hell13:27
lukser, I mean it looks for deleted files13:27
james_wsven_: it's really easy if you have a revision/tree13:28
codeRathi. I'm trying to setup bzr on my machines. So the way I want to use it is have a central repository on an ubuntu server. And commiting from two windows machines. I can't get it how the setup the thing :S13:28
codeRatI have bazaar installed on all three machines..13:29
james_wif you want to search for a path then you have to traverse history, so it's an O(history) operation13:29
sven_james_w, yes, i guess i have that: since it's a contents conflict, it still exists in one of the trees13:29
awilkinsDoing a log based on file_id should be simple enough, adding the option to the command would be easy13:29
bob2codeRat: once you have the repository setup, just 'bzr co sftp://ubuntu/blah' on the windows machines13:29
bob2(or branch)13:30
awilkinssven_: If you know a revision where your file exists, you can get the file-id by ``bzr ls --show-ids PATH -r REVISION``13:31
codeRatI allways get the Connection reset by peer13:31
awilkinscodeRat: i) Is Ubuntu running sshd (it's not part of the default install options)13:32
codeRatI am using http13:32
awilkinscodeRat: You can't commit over plain HTTP13:32
codeRathow do I check for sshd?13:33
codeRatI can ssh to the server..13:33
cody-somervilleI'm having a problem with the push-and-update plugin13:33
awilkinsTHen it's running13:33
cody-somervilleOn a Windows client, it says:13:34
cody-somervillerunning "ssh mba@redcow.ca bzr update "/home/mba/www/cristallandluckett/""13:34
cody-somervillebzr: ERROR: [Error 2] The system cannot find the file specified13:34
awilkinscodeRat: Ok, first, try opening the URI you are using vaia FileZilla13:34
awilkinse.g. sftp://ubuntu/~myaccount/mybranch13:35
james_wcody-somerville: try running with "-Derror" please13:35
cody-somervillejames_w, Okay. I'll get back to you.13:35
* cody-somerville will have to get his co-worker to run that when he gets into the office.13:35
sven_awilkins, i tried 'bzr ls --show-ids PATH' and 'bzr ls --show-ids PATH -r-1', where PATH exists in the current revision, but it doesn't print anything13:35
james_wcody-somerville: it might be on the remote side, in which case that probably won't help13:36
james_wcody-somerville: I'd also check that bzr is installed on the target machine, and is in the mba user's path, and that the directory quoted exists13:37
cody-somervillejames_w, I'm wondering if maybe bzr is erroring because it is trying to execute "ssh" and that binary doesn't exist on windows.13:37
james_wcody-somerville: I'd also try running the quoted command manually13:37
codeRatI can sftp to my server13:37
cody-somervillejames_w, ah, good point13:37
bob2codeRat: did you install bzr using the bzr windows instructions from the website?13:37
james_wcody-somerville: that could well be it, if there is no ssh on the user's path then it's clearly not going to work13:37
cody-somervillejames_w, Does that mean I'll have to modify the push-and-update plugin manually to use putty? lol13:38
codeRatbob2, on windows machines yes (I just run the installer :P )13:38
sven_awilkins, ah, it can't list individual files, only directories.13:38
awilkinssven_: Yes, it would seem so13:38
james_wcody-somerville: possibly, there may be some support in bzr for doing this that push-and-update should use13:38
awilkinssven_: I think that counts as a bug13:39
sven_awilkins, ok, i'll report it...13:41
abentleycody-somerville: Bazaar will use paramiko to do ssh if there's no SSH binary.13:44
cody-somervilleabentley, is that instlalled by default on windows?13:44
abentleycody-somerville: Yes.13:44
sven_awilkins, reported https://bugs.launchpad.net/bzr/+bug/25570513:45
ubottuLaunchpad bug 255705 in bzr "'bzr ls' should be able to list individual files" [Undecided,New]13:45
cody-somervilleso weird.13:46
james_wcody-somerville: bzr-push-and-update doesn't use paramiko13:48
james_w    cmd = ['ssh', user+host+port, remote_bzr, 'update', path]13:48
james_wsubprocess.call(cmd)13:48
awilkinssven_: Ok, I've implemented an extra option for the log command ; we run into our next issue ; it doesn't list the revision where it was deleted13:50
sven_awilkins, wow, that's fast! thank you :-)13:51
cjwatsonsounds like bzr-push-and-update needs to do the SSHVendorManager.get_vendor thing13:51
sven_awilkins, so, the extra option lists all revisions where the file was modified or rename or otherwise touched, except the one where it was removed?13:52
awilkinssven_: It was pretty easy ; the first thing the code does is calculate the file_id from the path so it's not hard to feed it one instead13:52
sven_awilkins, ok13:53
awilkinssven_: The reason it leaves it out is that it only allows revisions with text changes to the file through the filter (does it show renames?)13:54
sven_awilkins, i see13:54
awilkinsOk, it does show renames13:55
sven_awilkins, but there is a filter explicitly removing deletions? would it be easy to just update the filter?13:55
awilkinssven_: That's what I'm looking at13:56
awilkinssven_: You also have to bear in mind that it would be a change in the behaviour of the command (for the btter, but it might break someones process)13:56
awilkinssven_: It's not excluding deletions, it's only including modifications13:57
sven_awilkins, but if it was previously impossible to list deleted files, it ought not to affect the output unless the new option is used?13:58
awilkinssven_: hmm. Probably true13:58
lukslisting deletions is only possible if you do an equivalent of 'log -v'14:00
luksthat means, loading revision deltas14:00
awilkinsluks: What I've done is implement --file-id for log ; you can now log a file that has been deleted but the filter in  _filter_revisions_touching_file_id doesn't include the deletion14:01
luksawilkins: yes, because the revision where is was deleted doesn't touch the file14:02
luksit just disappears from the inventory14:02
awilkinsluks: So do you have to examine the inventory for each revision to see if it contains the file-id?14:03
luksawilkins: yes14:03
luksalternatively, calculate the revision delta for each revision and check if it's in delta.deleted14:04
luksbut that's really the same thing14:04
* sven_ has bad luck today... i ran into this: http://pastebin.com/d160d0b7f14:07
luksthat's a very old bug14:08
luksI sent a patch for it but it was rejected14:08
sven_luks, ok. do you know a workaround?14:09
lukssven_: not using -r branch:14:09
luksyou can get the head revision of that branch and use that instead14:10
sven_luks, i'm running this command because i want to know the gca of the two branches...14:10
lukssven_: I'm not sure if log will get you that14:10
luksit's an equivalent of bzr log -r revid:<head of the other branch>14:11
luksat least I think it is14:11
sven_luks, ah, right14:11
sven_luks, i confused branch: with ancestor:14:11
luksah14:11
awilkinsHow is the project fixed for a win32 test box at the moment?14:38
awilkinsAnd on the subject, I think the testing could stand to have more organized output14:38
awilkinsHmm, maybe this is a list hting.14:39
jamsven_: Just to mention, some of those content conflicts are actually bogus, and I have a patch up for review which should eliminate some of them.15:01
jamThe problem is that your complex history means we have to try harder to track what was actually changed15:01
jamluks: you can also use "bzr log -r -1:/path/to/branch"15:05
jaminstead of "branch:"15:06
jamI tried to do a different fix for it as well, and it got reverted.15:06
jamWe would *like* "bzr log -r branch:" to not fetch15:06
jambut it requires updating a lot of commands to handle when the revisions aren't available in the local branch.15:06
luksyeah15:06
abentleyjam: Fully agreed.15:07
jamawilkins: I do work on win32 most of the time, I don't (yet) run the full test suite here.15:08
jamI would love for "make check" to run cleanly15:09
jamI just don't feel it is as high a priority as getting stuff like merge working for sven_ :)15:09
abentleyjam: I've wondered about the best way to support that.  Perhaps methods like "def get_two_trees(revision_specs, source_location=None, target_location=None, require_revision_trees=False)"15:09
awilkinsjam: I was thinking that a more strutured test output (something you could upload to a web server with a test viwer like the one the mono project has) would be a boon.15:19
matkorI have file under bzr control now. I would like to leavie it as it is and make bzr ignore that file.so I do15:20
matkorbzr ignore app/config/database.php15:20
matkorWarning: the following files are version controlled and match your ignore pattern:15:20
matkorHow should I do that ?15:21
awilkinsmatkor: bzr rm --keep ? (it won't be versioned any more)15:23
james_wmatkor: you mean you want to keep the file versioned, but not commit any changes to it?15:23
matkorno, I want stop bzr to tracing changes and updating that fiels if changed in repo15:24
hsn_is bzr+ssh protocol stable enough for everyday use? we are using sftp for now15:25
james_wmatkor: that's not currently possible if I understand your request correctly15:25
beunohsn_, oh yes, absolutely15:25
beunoLaunchpad uses it by default with bzr15:25
hsn_but it needs to have all clients and server at same version?15:26
beunohsn_, ideally, but it's not mandatory. They shouldn't be too far away though15:26
matkorjames_w: Prolly I am unable to state it claerly bzr ignore + bzr rm --keep seems good solution to my problem ...15:27
james_wmatkor: ah yeah, that may be it15:28
hsn_how to configure user database for bzr serve ?15:30
beunohsn_, bzr doesn't do user authentication, so you have to do that on the ssh side15:32
awilkinshsn_: You don't need to run bzr serve for bzr+ssh either15:34
hsn_bzr push over bzr+ssh updates working tree on server?15:35
beunohsn_, no, but there is a plugin that can do that15:35
beunopush-and-update15:35
beunoif you *just* want the working tree on the other side, you can use bzr-upload15:36
hsn_plugin runs on server or client?15:36
beunoclient15:36
hsn_server side hooks are not done yet?15:39
beunoI think *some* are, but I don't know for sure, and they're probably in the unreleased 1.615:40
hsn_files in absolete_packs needs manual cleaning?15:41
bob2no, they'll get removed eventually15:41
alex-weeji'm having trouble mirroring my svn repo... i can use "bzr branch svn://url/trunk" but that only creates a trunk obviously15:42
alex-weeji tried svn-import, it asks me for my password 3 times and then fails15:42
Jc2ksvn-import is the way to go15:43
Jc2kyou are using the exact same url, without the /trunk ?15:43
Jc2khave you done an svn co of that url without the /trunk before? (earlier bzr-svn's (not sure when/if it was fixed) couldnt do a co unless svn had been used and it had cached the password before)15:44
Jc2kalex-weej: ^15:45
alex-weejyes hang on i will give you the error15:45
awilkinsjelmer: Is this unicode file name meant to be "I squared C" or "I funny-A squared C" ?15:46
awilkins(funny-a being circumflex-a)15:48
alex-weejJc2k: bzr: ERROR: exceptions.AssertionError: 'mirror/$reponame/branches/live' is not a valid path15:51
alex-weejJc2k: i don't know where "mirror" is coming from...15:51
alex-weejthat is with bzr svn-import http://svn.example.com/$reponame15:51
Jc2khmm15:55
Jc2kanything interesting in your .bzr.log?15:55
codeRatI installed python and paramiko but still if I want bzr to use sftp I get Unsupported protocol..any ideas why? (OS: windows xp)16:01
=== mw is now known as mw|brb
codeRatI'm trying to setup inetd16:24
codeRatI have this in the conf file:16:25
codeRat server      = /usr/bin/bzr16:25
codeRat        server_args = /usr/bin/bzr serve --inet --directory=/home/tinesu/bzr-repos16:25
codeRatOk, I solved it..Had to delete the bzr command from args16:26
codeRatthis is different in xinetd than inetd :)16:26
beunocodeRat, are you following a tutorial?16:27
=== mw|brb is now known as mw
codeRatI'm trying :)16:27
codeRatUser guide16:27
beunoif something on bzr's help confused you, it may be interesting to fix it  :)16:27
codeRatIn the userguide there is the line for inetd16:27
codeRatwhen you convert it for xinetd ..you have to change what I told before..that's all16:28
jelmerawilkins, I squared C16:36
awilkinsjelmer: Encoding in Python appears to be confusing then :-(16:37
awilkinsjelmer: I stabbed at it for some minutes without fixing it.16:37
jelmerawilkins, which file?16:37
awilkinstest_commit_unicode_filename in test_commit.py16:38
jelmerawilkins, please make sure it's got -*- coding: utf-8 -*- at the top16:38
awilkinsIt has16:38
awilkinsThe code says "Icircumflex-asuperscript-2C"16:38
awilkins(sorry, non-unicode IRC client)16:39
awilkinsAh, ok, vim renders it like that16:40
awilkinsnotepad2 is fine with it16:40
awilkinsi(superscript-2)C16:40
awilkinsHow is the file named in Linux? Windows write the file in text-base just fine (with unicode filename)16:41
codeRatI still need some help. I can connect trough bzr:// protocol..but can't with bzr+ssh:// I get this:16:42
codeRatbzr: ERROR: Connection closed: please check connectivity and permissions16:42
bob2check ~/.bzr.log16:44
codeRaton the server or client?16:44
bob2also, bzr+ssh is unrelated to bzr:// (i.e. you don't need inetd for bzr+ssh to work, but you do need a working ssh account)16:44
alex-weejJc2k: 10.068  failed to import pycurl: No module named pycurl16:45
codeRatI have a working ssh account, but how do I which username to use?16:45
bob2how do you tell bzr which to use?  bzr branch bzr+ssh://username@host/path/to/branch/16:46
=== rocky is now known as rocky|away
beunocodeRat, bzr+ssh://username@host/path/to/branch16:46
beunohah16:46
bob2creepy ;)16:46
Jc2kalex-weej: that shouldnt be fatal..16:46
Jc2kalex-weej: did it get very far before it errored?16:47
codeRatstill getting the same error :(16:47
jamawilkins: can you give the line that is the problem?16:47
jamIn general, we don't put UTF-8 into our source code16:47
Jc2kalex-weej: i presume this is an internal svn repo i'm not going to be able to poke16:47
jaminstead using u'\uAAAA" to define chars16:47
bob2codeRat: pastebin the last bit of .bzr.log on the client16:47
awilkinsself.build_tree({u'dc/I²C': "data"})16:47
jamawilkins: is this in bzr or bzr-gtk?16:48
awilkinsbzr-svn16:48
awilkinsTest code16:48
jamah, ok16:48
jamThat's Jelmer's realm, and he can do what he wants :)16:48
codeRatbob2, Where is htis file (on windows )?16:48
jamI would *recommend* not using UTF-8 literals16:48
jelmerjam: What's a good alternative?16:48
awilkinsjam: It still fails if you escape it16:48
bob2codeRat: /Users/username/, I guess16:49
jamjelmer: Just use the escape code: u'dc/I\xb2C'16:50
jamthat way you don't have to worry about text editors interpreting the chars wrong16:50
jamI know Vim on Win32 thinks it is latin-116:50
jamthough I can force it to UTF-816:50
jamawilkins: I don't know what "build_tree" Jelmer is using, it doesn't match the TestCaseWithTransport's build_tree16:51
jamawilkins: You're on win32? Are you on FAT by any chance?16:51
awilkinsjam: Nope, NTFS6 (and FAT32 can use unicode filenames, not sure about FAT16/12)16:52
jamawilkins: weird, I'm running NTFS on Vista (not sure the exact version) and doing:16:52
jamopen(u'I\xb2C', 'wb').close()16:52
jamworks fine16:52
jamAnd Explorer shows the I^2C file16:53
codeRatbob2, http://pastebin.com/m60287138 here it is16:53
awilkinsjam: That's not the issue16:53
jamawilkins: are you just saying that the *test* is failing? I thought the build_tree was failing16:53
awilkinsjam: Not sure.. build-tree seems fine, the file is appearing in the SVN working copy with a unicode filename16:54
bob2codeRat: does 'ssh tinesu@xxx.xxx.xxx.xxx bzr rocks' work?16:54
codeRathmm windows doesn't have ssh16:55
codeRatI mean the command ssh16:55
awilkinsjam: jelmer: think the problem is it being passed ascii/encoded to the SVN client (can that cope with unicode?)16:56
jelmerawilkins, the svn client only accepts encoded unicode (e.g. utf8)16:56
codeRatheh, I renamed plink to ssh and the error changed :)16:56
codeRatbzr: ERROR: [Error 2] The system cannot find the file specified16:56
jamawilkins: I would assume it has to be UTF816:56
jamit sounds like there is a layer doing implicit conversion16:57
jam(accidentally)16:57
jamcan you paste the traceback?16:57
awilkinshttp://pastebin.ubuntu.com/35117/16:58
jamawilkins: well, I'll give you a quick rundown on the code I have available17:01
jamIt uses:17:01
jamdata = osutils.fingerprint_file(open(self._abspath(relpath)))17:01
jamAnd what is happenning17:01
jamis that self._abspath17:01
jamdoes17:01
jam        return wc.get_pristine_copy_path(self.workingtree.abspath(relpath).encode("utf-8"))17:01
jamSo it seems to be returning a UTF-8 string17:01
jamwhich is not valid on Windows17:02
jamto access local files you *must* use Unicode17:02
jamI think it works on Linux17:02
jambecause the filesystem is UTF-817:02
jamso the UTF-8 str path == Unicode path17:02
jamIf I'm right17:02
jamthe fix would be something like:17:02
awilkinsSo utf16 rather than utf8 ?17:02
jamj        return wc.get_pristine_copy_path(self.workingtree.abspath(relpath).encode("utf-8"))17:02
jamsorry bad copy17:02
jam                osutils.fingerprint_file(open(self._abspath(relpath).decode('utf-8')))17:02
jamawilkins: if you use the 8-bit apis, it uses OEM encoding17:03
jamwhich is usually something slightly random17:03
jamCP1252 (which is *almost* latin-1, but not really)17:03
jamSo you need to use the Unicode apis17:03
jamLike you say, something like UTF-16 (though again it is MBCS for windows filesystems, which is very similar, but IIRC not exactly UTF-16)17:03
jamBasically, passing a 'unicode()' string to open() will use the Windows FooW api17:04
jamrather than the FooA api17:04
jamI would also guess that SvnBasisTree._abspath() should really be returning a Unicode string17:04
* awilkins thinks perhaps encoding-specific hungarian var names would be good here.....#17:05
awilkinsjam: That would be my interpretation ; all the paths should be unicode if both OSs support them17:05
jamawilkins: well, the Bazaar model was that file paths are always Unicode in memory17:05
jamAnd that gets serialized/deserialized at the "write bits to disk" or "over the wire" layers17:06
jamOn the other hand17:06
jam*urls* are always 8-bit strings17:06
jam(well, technically, always 7-bit strings)17:06
jamBecause *bzr* doesn't have control over all portions of the path17:07
jamIt took us a while to get it right in bzrlib17:07
awilkinsjelmer: Is this down to the pyrex bindings? THe sticking points all seem to be calls into pyrex extensions.17:07
jelmerawilkins, there's no pyrex remaining anymore :-)17:07
awilkinsjelmer: Pardon, C extensions ?17:08
awilkinsAll the places where encodings are occurring for reasons I don't understand are calls into the extensions like client and wc17:08
jelmerawilkins: The bindings do indeed require encoded strings17:09
jelmerawilkins, not unicode objects17:09
jelmerawilkins, I don't understand why that's a problem though17:09
jamawilkins: I would also mention that doing a bare "open()" like that is a good way to leave a file handle open on windows, causing problems when trying to rm directories :)17:12
Pilkydoes anyone know of a way to remove a file completely from your bzr history?17:13
beunoPilky, you can't17:13
beunoonce it's versioned, it's there for ever and ever17:13
Pilkyok17:13
beunounless you remove all history after you added it17:13
beunoor you may be able to break things someway with rebase17:14
Pilkyyeah, I suppose if one really wanted to you could create a branch for every revision back to when you added it, uncommit from the main branch and then just copy the changes over and recommit, but that would be a bit long winded17:14
beunoit would  :)17:15
meoblast001how do you insert a line break into a commit message?17:16
beunomeoblast001, bzr ci17:17
beunoand it will go into editor mode17:17
meoblast001ok thanx17:17
beunoyou can do anything you want in there17:17
bob2or bzr commit -m "something<hitenter>more stuff."17:17
beuno(ci is an alias for commit, you just avoid the -m"17:17
LeoNerdIts' actually an alias to "check in", which goes riiiight back to pre-RCS days17:18
* beuno isn't that old :O17:18
jambob2: I will caution that on windows, bzr.bat doesn't seem to pass through line-breaks17:18
jamI think it is a problem with the .bat functionality itself17:18
bob2ah, that sucks17:19
jamI used it for a while17:19
jamand didn't realize it wasn't working17:19
meoblast001bzr: ERROR: no changes to commit. use --unchanged to commit anyhow17:19
jamso I rewrote a .sh wrapper for cygwin17:19
meoblast001O_o17:19
meoblast001i made 3 major changes17:19
bob2meoblast001: did you save them?17:19
meoblast001yes17:19
meoblast001hmmm17:19
meoblast001i guess that bzr ci automatically commited for me17:19
bob2"bzr ci" will commit after you save and exit the editor it started17:20
meoblast001yay17:21
codeRatjust one question..I did init on the server and got a branch.I co it from the client..everything went ok..I then add some files..did a commit. But no files are on the server? What is the right way?17:25
LeoNerdWhen you say "no files", what do you mean?17:26
bob2that's fine17:26
bob2the "working tree" of the remote branch won't be updated17:26
LeoNerdThe branch won't look like it has any files in it, no... those files are the working tree. If there isn't one, it won't appear there17:26
bob2if you would like it to be, you need a special plugin17:26
LeoNerdThe branch data is all stored within the .bzr subdirectory17:26
bob2push-and-update plugin17:27
codeRatbut what's the point of having the central repos then17:27
bob2?17:27
codeRatwhen I try to co from another client I don't get anything..17:27
bob2the branch data is there, the working copy just isn't updated17:28
bob2ah, that shouldn't happen17:28
bob2did you 'bzr co' or 'bzr branch' on the client?17:28
codeRatco17:28
codeRaton both clients17:28
beunocodeRat, you did "bzr add", right?17:28
codeRatyes17:28
bob2does 'bzr status' on the client show that everything has been commited (i.e. it should say nothing)17:29
codeRatit doesn't (say anything)17:29
bob2what does 'bzr info' say on the client side?17:30
codeRatI did just "bzr commit" Than it said Committed revision 1. It seems that everything worked fine..17:30
codeRatLocation:17:30
codeRatCheckout root:.17:30
codeRatCheckout of branch: bzr://ip/test/17:31
bob2cool17:31
bob2then the changes in that commit should be propagated to the central repository17:31
lukstry `bzr log bzr://ip/test/`17:32
codeRatso now..if I do a bzr co on the other client..should I get thos files I added?17:32
bob2yup17:32
codeRatlog is fine (I tried on the other client)17:33
luksthen the data are on the server17:33
lukswhat does bzr co on the other client says?17:33
codeRatbzr: ERROR: File exists: u'P:/Bazaar/test/.bzr': [Error 183] Cannot create a file when that file already exists17:35
codeRatbut I got the data17:35
codeRatcan someone explain what is all about with bind/unbind ?17:36
lukswhen you do 'bzr co' instead of 'bzr branch', your local branch is bound to the server branch17:38
luksthat means a local commit goes directly also to the server17:38
lukswith 'bzr unbind' you can break that and the branch will become a standalone branch17:38
luksthen you need to use 'bzr push' to upload the data to the server17:39
codeRatat that time when I do the commit it's saved only locally ?17:39
luksyes17:40
codeRatwhat happen If I do bind ?17:40
luksI'm not sure what happens with existing local commits, but I guess they will get uploaded next time you commit17:40
codeRatok, Thank you very much..17:41
codeRatAll of you for the patience :)17:41
jelmerawilkins, your patch fails the testsuite:17:43
jelmerrunning 13479 tests...17:43
jelmer...-workdir/home/+trunk/bzrlib/doc/api/branch.txt)   OK                  92ms17:43
jelmer...rkdir/home/+trunk/bzrlib/doc/api/transport.txt)   OK                   1ms17:43
jelmer...til.tests.test_bencode.TestBencode.test_bdecode   OK                   0ms17:43
jelmer...til.tests.test_bencode.TestBencode.test_bencode   OK                   0ms17:43
jelmerblackbox.test_add.TestAdd.test_add_control_dir    ERROR                  13ms17:43
jelmer    'module' object has no attribute 'join'17:43
awilkinsOh ass17:44
awilkinsIt's joinpath, not join. I am an idiot17:47
awilkinsHmm, ok17:47
luksnice example of effective code reviewing, it got two approves :)17:47
jelmerluks, well, the code looked alright, no problem there :-)17:50
* awilkins submits again while hanging head in shame17:53
luksthat's why you should always add a test case, no matter how small the change is :)17:54
bob2does bzr-svn go through a pqm?17:55
lukshm, I could swear there were some tests for the test suite17:55
luksbut I can't find them17:55
jelmerbob2, no17:56
jamawilkins: Actually, I think the one you want is "pathjoin" yeah, bad naming FTL18:04
jamjoinpath explicitly denies stuff like '..'18:04
jampathjoin == os.path.join when appropriate18:04
=== rocky|away is now known as rocky
corporate_cookieto issue a command like bzr branch lp: launchpad_project_name ..do i need to install a plugin ?18:05
lukscorporate_cookie: the plugin is built-in18:05
corporate_cookieluks: thanks : )18:05
luksbut its bzr branch lp:launchpad_project_name (no space)18:05
jamIt was my fault for pointing you incorrectly.18:05
corporate_cookieah : )18:06
corporate_cookiestupid spaces18:06
luksalso, where is your nose? :)18:06
corporate_cookie:^) ?18:06
corporate_cookieluks: would bzr ERROR: socket.error: (61, 'Connection refused') be indicative of a proxy related issue ?18:08
lukshmm, could be18:09
corporate_cookiealas : )18:09
corporate_cookiethanks for the help18:09
luksyou can just use the full url18:09
luksthe lp: thing seems to use a xml-rpc over https18:10
luksso if you don't have a https proxy, it won't work18:10
corporate_cookiethat works : )18:18
corporate_cookiethanks18:18
alex-weejwhen i am working with git and i want to work on an orthogonal change, i do "git checkout -b new-work master"19:00
alex-weejthat branches new-work from master and checks it out19:00
alex-weeji am a bit confused with bazaar... branches are directories?19:00
=== mw is now known as mw|food
bob2yes19:06
bob2however, bzr also has the concept of repositories and checkouts19:06
cjwatsonalex-weej: you have the choice; it's more usual to have one directory per branch, but you can also use 'bzr switch' to take the git approach19:06
alex-weejif i use a repository can i branch without having it have to copy my entire working tree?19:06
bob2alex-weej: yes, make a checkout of one of the branches, then use 'bzr switch /repo/branchname' to switch that checkout between them19:07
cjwatsonhttp://doc.bazaar-vcs.org/bzr.dev/en/user-guide/index.html section 5.5 has some information about this19:09
alex-weejcjwatson: thanks19:29
pickscrapemwhudson: I've added a hover style to the breadcrumbs branch. Nice suggestion, it does look a lot better like that.19:33
rockstarjam, hi19:56
=== mw|food is now known as mw
rockstarbeuno, hi20:34
beunorockstar, howdy20:34
rockstarbeuno, we've been talking about unifying the loggerhead templates, so that they are more easily skinnable.20:35
beunorockstar, unifying?20:36
beunoLP and LH's trunk?20:36
rockstarWell, I guess "unifying" is not a good term when applied to trunk.20:36
rockstarBasically, thumper has other gnome loggerhead stuff, which is slightly different than the ACTUAL loggerhead templates.20:37
beunoright20:38
jamrockstar: hey, sorry for the delay, TWiB time, right?20:38
rockstarI think the gnome stuff has some different needs.20:38
rockstarjam, I have to run out to Rinchen's house in 20 minutes to help out with their sprint.20:39
rockstarI'll be there for the rest of the day, but I'm pretty open tomorrow.20:39
beunorockstar, so, what's on your mind?  Changing the templates so you can drop in headers?20:39
rockstarbeuno, header and footer first.20:40
rockstarbeuno, then, probably make it so we can drop in a search bar, etc.  At least, that was the brainstorm.20:40
jamrockstar: well, we'll need to actually *do* it. I skipped last week, and the week before I was late by 5 days or so ... :(20:41
beunorockstar, sounds like a good idea. Is someone going to be doing that work, or is that why you're talking to me?20:41
jamI can't say I'm in the mood, but I know people felt it was helpful20:41
rockstarjam, yea, and after the good feedback on the mailing list specific to TWiB, I'm really anxious to do it.20:41
rockstarbeuno, I'm actually working on that right now.  I have been all day.20:42
beunorockstar, oh, very cool20:42
rockstarI'm just at a point where I need to let you know what I'm doing, before I can't turn back.20:42
beunosure. Do you have a branch somewhere?20:43
pickscrapeHow are loggerhead contributions handled (reviewed etc)? Via launchpad?20:43
rockstarjam, so, should I ping you in the morning tomorrow?20:43
beunopickscrape, yeah, for now. Upload a branch, file a merge request20:43
rockstarbeuno, I don't have many changes, but I'll shoot you the branch before I quit tonight.20:43
pickscrapebeuno: I think I already have requested a merge. Do I need to also need to "Request a review"?20:44
beunopickscrape, hm, no, that should be enough. Do you have the URL handy?20:45
beunorockstar, cool. I love the idea, if that's what you where looking for20:45
pickscrapehttps://code.launchpad.net/~pickscrape/loggerhead/breadcrumbs/+merge/664 <- hopefully this is the right URL20:45
cody-somervilleCan someone take a look at this error one of my coworkers is getting?20:45
cody-somervillehttp://pastebin.ubuntu.com/35191/20:45
cody-somervillebzr: ERROR: exceptions.KeyError: 'file:///C:/WebDev/Projects/mba/investfred2/.bzr/repository/upload/r21oxweo2g2wsh2vvcln.pack20:46
beunopickscrape, oh, I did see that this morning. It's on my ToDo!20:46
pickscrapecody-somerville: might want to consider upgrading to 1.5 if that is possible20:46
beunoI still can't match your nickname you your real name  :)20:46
pickscrapebeuno: cool! No rush, just didn't know how this whole process works yet :)20:47
beunopickscrape, you nailed it from the start!20:47
pickscrapeYeah, weird nickname. I have no imagination. It's a guitar playing technique. :)20:47
luksthe traceback is not the real problem, it just masks it20:47
luksso it's hard to say what's wrong20:47
cody-somervillepickscrape, the remote server is running the beta20:47
beunocody-somerville, can you make him peak at his ~/.bzr.log to get the traceback?20:48
pickscrapeSo is the "Request a review" for when you don't think it's worth merging yet but you want feedback?20:48
beunopickscrape, I don't really understand what that's for  :)20:49
cody-somervillebeuno, what would be the equivalent in windows?20:49
beunoabentley might, I think that's his work20:49
beunocody-somerville, oh, windows...  I have no idea  :)20:49
jamrockstar: yeah, please ping me, I probably won't be ready until post 12 central (11 yours, iirc)20:49
beunolet's see what launchpad says20:49
beunocody-somerville, maybe related to bug #191409 ?20:50
ubottuLaunchpad bug 191409 in bzr "commit on bound branch yields KeyError" [High,New] https://launchpad.net/bugs/19140920:50
cody-somervillebeuno, this is a branch20:50
abentleypickscrape: In many projects, you must not merge until you get feedback.20:50
jamcody-somerville: My Documents\.bzr.log20:51
jam(it may move in the future)20:51
jamdoing 'bzr --version' will show you where it is20:51
pickscrapeabentley: is the workflow documented anywhere on launchpad?20:51
abentleypickscrape: Launchpad is meant to support many different workflows.20:52
pickscrapeI found myself wondering if registering a branch with a project that I wasn't involved with would be 'socially acceptable' or not.20:53
rockstarjam, ack, will do.20:53
beunopickscrape, it's encouraged. Although I do agree it doesn't say anywhere20:53
pickscrapeAnd following that, what the project would expect from my contribution. i.e. standards that I should follow, files that I should edit etc.20:54
jampickscrape: I think the feeling (for us at least) is that registering a branch is like posting a patch to their tracker20:54
abentleypickscrape: most projects will consider it socially acceptable to register a branch.20:54
jamonly in a *more* convenient form20:54
jamIt is a bit different if the project doesn't *use* bzr/lp, but as long as they do, I would guess they would be fine with you posting your own branches.20:55
abentleypickscrape: We do not dictate how a particular project handles patches.20:55
abentleypickscrape: Some projects use Launchpad only for bugs.  Others host their code there, but do code reviews elsewhere.20:56
chadmillerFor bzrlib.log.show_log(), what's the least ugly way to make it not emit merged revisions?  Something in the log formatter, I suppose, but I can't place what.20:56
pickscrapeabentley: understood. However, I think lp could have some place where the project can document "contribution guidelines" or something similar to help out new people.20:56
abentleypickscrape: wouldn't the project web site or source code be a more appropriate place?20:57
pickscrapeSome projects won't have a website other than launchpad. I agree that the code would be a good place to put that, but that requires the user digging about for it. Perhaps allowing links to specific files on the primary branch that appear on the front of the 'code' page?20:58
pickscrapeWould be a good way to make things like 'release notes' accessible too while simultaneously version controlled with the code20:59
abentleyI believe we already allow that.21:00
cody-somervillebeuno, http://pastebin.ubuntu.com/35196/21:05
pickscrapeabentley: I can't see where you can do that21:06
abentleyI believe you can enter any URL you like in the project description.21:06
beunocody-somerville, [ 2800] 2008-08-07 14:58:55.887 WARNING: Server is too old for streaming pull, reconnecting.  (Upgrade the server to Bazaar 1.2 to avoid this)21:06
beunothat should be a pretty good tip on what to do21:06
cody-somervillebeuno, it would be21:07
cody-somervillebeuno, except he is running 1.421:07
cody-somervilleand the server is running 1.621:07
beunocody-somerville, well, that doesn't seem to be the case21:07
beunocody-somerville, can you run "bzr version" on the server?21:08
pickscrapeIsn't this because of an API call that was removed in 1.6, which makes a pre-1.6 client think the server is 1.2?21:08
cody-somervilleYes.21:08
beunocody-somerville, I don't really know then21:11
beunospiv?21:11
cody-somervillespiv?21:12
* cody-somerville will see about getting everyone to upgrade to 1.6 beta :P21:12
beunolifeless, I;ve been trying to reproduce bug #248018, but I'm not able to get it to override results.  The javascript should prevent it, and I can't get it to misbehave  :)21:14
ubottuLaunchpad bug 248018 in loggerhead/1.6 "slow search results override fast ones" [High,Confirmed] https://launchpad.net/bugs/24801821:14
jambeuno: that is a "known bug", the 1.5 client connecting to the 1.6 server21:14
jamSpecifically, there was a verb added in 1.221:14
jamwhich we removed in 1.621:15
jamAnd 1.5 tries it and then thinks you must have an older server21:15
jamWe can't really fix that without: a) Patching 1.5 (which doesn't help clients over just upgrading to 1.6) b) Implementing the verb, which is *hard* to do efficiently and correctly21:15
jam1.5 correctly falls back (though it unfortunately also reconnects)21:16
beunojam, the bug is it telling that it needs 1.2, not the keyerror thoough, right?21:17
jambeuno: right the "needs 1.2" is the bug21:17
jamcody-somerville: the client should still *work* just give a semi-bogus message and reconnect21:18
cody-somervillejam, it usually does21:18
jamcody-somerville: Is this consistently failing?21:18
cody-somervillejam, yes21:18
jamthis actually looks like there is some *other* error which is being triggered, and then this error is covering it up when we cleanup our stack21:19
jamcody-somerville: check the permissions on .bzr/repository/upload (If you can)21:20
jamIt *feels* like we go to create a new pack, mark it for creation, fail to write to it, get an exception21:20
jamand then we want to clean up and close the file21:20
jambut it was never properly opened21:20
jamcody-somerville: You may try just adding a "try/except: KeyError: pass" around the del line21:21
jamand see if you don't get a different error21:21
chadmillerAh.  I test the revision.merge_depth now, in the log formatter.  That does what I want.21:25
cody-somervillejam, will I want to do this on remote host or local host?21:26
=== meteoroid__ is now known as meteoroid
jamcody-somerville: the failure is local21:26
jamSo only on the local machine21:26
* cody-somerville goes to see if he can reproduce the error himself.21:26
jamnote that the failure is 4,400 seconds after the process reconnects, which is a bit surprising21:27
jamYou *can* add '-Dhpss' to the bzr branch line21:27
jambut I have the feeling that is just going to dump a lot of nonuseful information21:27
cody-somerville:-|21:29
cody-somervilleDoes Canonical provide paid support for bazaar?21:29
beunocody-somerville, AFAIK, they do21:36
beunoemail poolie21:36
beunoso, it's official: http://beuno.com.ar/archives/8221:53
pickscrapeCongrats :)21:56
=== cprov is now known as cprov-afk
cody-somervillebeuno, you're starting this upcomming Monday?22:54
beunocody-somerville, yeap.22:54
cody-somervilleme too!! :)22:55
beunocody-somerville, really?  you're joining Canonical?22:55
cody-somervilleYes sir22:55
Odd_Blokebeuno: Congrats. :)22:55
beunocody-somerville, cool!  what are you going to work on?22:56
beunoOdd_Bloke, thanks  :)22:56
* mwhudson looks around the channel for people we haven't hired yet22:56
cody-somervillebeuno, Release Engineer for Canonical OEM Solutions Groups22:57
cody-somerville*Group22:57
beunocody-somerville, w00t!  congrats!22:57
beunoso, we'll meet at some point  :)22:57
beunomwhudson, :p22:57
cody-somervillebeuno, For sure! Maybe California?22:57
beunocody-somerville, very likely.  I'll know in the following months22:58
cody-somerville:]22:58
Odd_Blokemwhudson: Pick meee!22:59
=== abadger19991 is now known as abadger1999
thumperOdd_Bloke: :)23:07
jonnydeelifeless: regarding my bug report (https://bugs.launchpad.net/bzr/+bug/255656): You asked me to do a "bzr pack REPO_PATH"23:35
ubottuLaunchpad bug 255656 in bzr ""bzr: ERROR: [Errno 22] Invalid argument" when committing to a checkout (or doing a push) to a repository located on a windows network share" [Undecided,New]23:35
lifelessjonnydee: yes, I did23:36
jonnydeeI already tried that and as far as I can remember it faild indeed with the same error23:36
lifelessjonnydee: please do try it and attach what it puts in the log23:36
lifelessshouldn't take long23:37
jonnydeebut, unfortunatelly, I'm not at work now and, therfore, I cannot access .bzr.log. But I will have a look to it tomorrow23:37
jonnydeeAnd I recovered already from the "buggy" repository so I need to wait until I stumble over the "Invalid argument" issue again23:38
jonnydeeI will report information as soon as I can. Thanks for your interesst :)23:39
lifelessjonnydee: ok; running bzr pack - if it gives us a way to trigger it repeatedly we can move on to determining exactly why it is happening for you without having to wait for it sporadically happening23:42
jonnydeelifeless: that sounds very good -- I will try it tomorrow. But just to be sure I got your idea: You think "bzr pack REPO" should (or might) always fail, so I don't need to wait until auto pack mechanism is triggered, right?23:45
lifeless'bzr pack' and autopack both end up exercising the same code path23:46
lifelessso doing 'bzr pack' should fail immediately in the same way that autopack is23:47
jonnydeeok, I understand. Thanks a lot -- I will post feedback tomorrow. So have a nice day/night ;)23:47
jonnydeeCU23:47
lifelessthanks23:48
jamOdd_Bloke: Aren't you hired for the summer?23:51
pooliegood morning23:51
jammorning poolie23:51
pooliejam, shall we talk here in lieu of a standup?23:52
jamif you want23:52
jamspiv is away23:52
jamand I don't know about igc23:52
=== mw__ is now known as mw|out
jampoolie: do you want to stay in #bzr?23:53
pooliesure. i was just going to say i'm going to update the ppa, read some documents for amanda, take my dead video card back to the shop, do the monthly report, hopefully do some reviews and finish at 523:55
lifelessI'll believe it when I see it23:55
lifeless:)23:55
poolieheh23:55
poolieit does sound a bit ambitious23:55
lifelesswhere is spiv ?23:55
pooliemaybe i should run sudo -b shutdown 17:00 now?23:55
poolieat the physio23:56
poolieand i would guess igc is asleep23:56
lifelessah yes I remember23:56
pooliejam, lifeless, how about you?23:58
jampoolie: so, I'm working on comparing my lazy revno stuff to bzr.dev's merge_sort23:58
jamAnd I found a bug in merge_sort as it stands23:58
jamwhich I've submitted a simple patch for23:58
lifelessjam: was this bug in the original merge sort? (You already reimplemented it once I believe?)23:59
jamlifeless: I believe it is from my change to use simple 3-digit numbers23:59
jamIt is because of a pre versus post increment bug23:59

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