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

igcmorning00:00
jmlwith loom up-thread conflicts, do the *.THIS files refer to the lower of the two threads?00:16
lifelessjml: IIRC, yes. Its switched because we use symmetry to make the operation faster00:17
jmllifeless: ahh ok. how hard would it be to make them .UPPER and .LOWER, for example?00:17
lifelessjml: patches appreciated00:17
lifelessjml: (I don't know)00:18
jmlor .<thread-name>, I guess.00:18
* igc breakfast00:32
lifelesspoolie: ping01:09
lifelesshttp://bundlebuggy.aaronbentley.com/request/<1214359843.1536.41.camel@lifeless-64> <- I'm blocked on that; igc has commented but neither as tweak or resubmit01:09
thumperI use a shared repo with no trees01:30
thumperand use cbranch most of the time01:30
thumperhowever now I need to make a new checkout of someone else's branch01:30
thumperand I want to use --hardlink01:31
thumperwhat's the magic?01:31
lifelessEPARSE01:31
thumpercheckout --lightweight --hardlink ??? <branch location>01:31
thumperlifeless: did the last bit help?01:31
lifelessthumper: is branch location on your local disk ?01:31
thumperyes01:31
lifelessuhm. I don't know that co --lightweight knows about hardlink01:32
thumperbut the branch has no working tree01:32
thumperhm, ok01:32
lifelessthen there is no point01:32
thumperI'll just use the lightweight01:32
lifelesscan't hardlink to files that don't exist01:32
lifelessthumper: hardlink is only relevant for working trees, it doesn't hardlink history01:32
thumperI was hoping that there would be some magic where it could link to trunk if it knew the file was unchanged01:32
lifelessthumper: uhm01:33
thumperI have a working tree of trunk01:33
lifelessthumper: cp -al trunk foo; cd foo; bzr switch otherbranchname01:33
thumperbzr col it is (another alias :-)01:33
thumperETOOMANYCMDS01:34
igclifeless: I'm just wrapping up that review now.01:35
lifelessigc: thanks01:36
igclifeless: there were some questions buried in my comments. Can you reply to those please?01:39
lifelesssure01:39
poolielifeless: pong01:41
lifelessigc: done01:47
lifelesspoolie: nvm, igc is here today :)01:47
nanderssonWhat is the easiest way to see if plugin bzr-xmloutput is installed or not? Can I try something from the command line? bzr + ???01:50
Odd_Blokenandersson: bzr plugins01:50
nanderssonOdd_Bloke, Thanks! I see bzr_xmloutput in the list!01:51
Odd_Blokenandersson: No worries.01:51
poolielifeless: he'll be away in the afternoon but i'm trying to do reviews today01:53
nanderssonAm I able to checkout a bzr branch in Eclipse into my project? It seems that feature is not implemented01:55
nanderssonI'm using BzrEclipse that is01:55
lifelessnandersson: you can, but its a bit weird, because of eclipse's project concept01:56
lifelessbeuno: do you know the trick?01:56
nanderssonlifeless, No, what's the trick?01:58
pooliejust what is the limit on transferring revisions between rich root and other repositories?01:58
nanderssonlifeless, I do it from the command line from within the project folder?01:58
poolie(referring to Marius's mail)01:58
pooliedoes it depend on the revision or is it blocked altogether?01:58
lifelesspoolie: subtrees -> rich root is blocked on subtrees being used I think; rich root->plain is full blocked02:00
lifelesspoolie: because we can't tell 'made here' from 'converted'02:01
nanderssonIn Eclipse I select "New Project" - "Bazaar" - "Branch as a new Project". In the next dialog I choose "Use existing branch location" but then the "next" button is greyed out and I can't go further. Is it a bug? Using Eclipse 3.4 and most recent BzrEclipse.02:07
nanderssonHrmm.... seems it work if I use "New branch"... *investigating*02:11
igclifeless: That review is complete now - I've voted tweak fyi. The email should come through soon.02:49
lifelessigc: thanks very much02:49
jelmerspiv, Thanks for that memory analysis02:55
spivjelmer: not a problem.  I just wish I had a clear idea of what we can do about it...02:56
jelmerspiv: not just because of the bzr push analysis but also because it explains Python memory usage analysis a bit02:57
* spiv nods02:57
spivYeah, I learned a bit while doing it.02:57
spivI'd like to be able to introspect CPython's memory management a bit more02:57
spivIt shouldn't be hard conceptually for CPython to tell me about all the arenas its allocated and what their stats are.02:58
mwhudsonheh, the coloured diffs plugin for tbird does extremely strange things to that mail02:58
spivmwhudson: heh.02:58
mwhudsonspiv: have you trying compiling python --without-pymalloc ?03:02
spivmwhudson: I haven't, and I don't want to :)03:03
spivI think that is where I'm headed, though.03:03
mwhudsonwhy not, it shouldn't be hard03:03
spiv(But not today, I have other things to do as well...)03:03
spivAdmittedly the last time I compiled Python was around 1.5.2.  It's probably a little less icky than it was then.03:04
spivBut I don't really fancy tracking down random C extensions and things.03:04
PengIt's easy to compile it. The only problem is if you don't have all of its build deps installed, it'll lack readline, or bz2, etc.03:04
mwhudsonspiv: it _really_ isn't hard03:04
spivI'll probably be compiling it myself soon anyway, because I want to play with 2.603:04
spivAnyway, why do you suggest --without-pymalloc?  To see if the fragementation is better/worse?03:05
mwhudsonyes03:06
lifelessspiv- apt-get source03:06
lifelessspiv: apt-get build-dep03:06
spivlifeless: yep03:07
spivmwhudson: Hmm, I'm not sure how that would help me, really03:07
lifelessspiv: it would let us file bugs03:07
lifeless:P03:07
mwhudsonspiv: it would be data03:07
spivI see.03:07
spivWell, I have data. :P03:07
mwhudsonspiv: i don't know that it would help with finding a solution necessarily03:08
* spiv nods03:08
* lifeless speeds up on the b+tree index03:09
meuserjIs there any way to have a remote repository which you CAN update the working files by pushing (or similar) to it?  I have a project I need to work on which I don't have shell access and would like to be able to push to it to update it.03:34
meuserjwell, repository is the wrong term.. branch I guess03:34
Verterokmeuserj: maybe the bzr-upload plugin might be useful03:35
meuserjVerterok: ah, that looks perfect, thanks.03:38
meuserjquit03:38
Verterokbye meuserj03:39
=== lamont` is now known as lamont
lifelesspoolie: ping03:57
lifeless(Pdb) print original_size03:57
lifeless530857603:57
lifeless(Pdb) print len(contents)03:57
lifeless256409603:57
pooliepong03:57
beunomwhudson, poking at your dont-hold-branches branch now, while I pack03:57
mwhudsonbeuno: cool, i'm still working on it a bit03:58
beunomwhudson, haven't looked into bzr.lru_cache, but does that cache automagically?04:06
mwhudsonbeuno: it's like a dict04:07
mwhudsonthat throws items out when it reaches a certain size04:07
beunowell, code looks good, and from the looks of it, this should reduce RAM consumption a bit. Let's give it a spin...04:13
beunonot a good start:04:14
beuno  File "/home/beuno/bzr_devel/loggerhead.dont_hold_branches/loggerhead/apps/filesystem.py", line 48, in __call__04:14
beuno    cached = self.root.cache.get(path)04:14
beunoAttributeError: 'BranchesFromFileSystemRoot' object has no attribute 'cache'[A[A[A[A[AA[A[A[A[A04:14
beunoright, serve-branches hasn't been tweaked yet04:15
mwhudsonbeuno: try pulling maybe04:15
mwhudson?04:15
beunomwhudson, I'm on revno 19104:16
* spiv -> lunch04:16
mwhudsonhm04:16
beunostart-loggerhead works though04:16
beunobrowsing the project has a small glitch: Exception: 'BranchWSGIApp' object has no attribute 'history'04:16
lifelessspiv: when you return, I'd like to chat memory with you04:17
beunomwhudson, other than those two things, code looks sensible to me, and it *feels* faster, although I don't have any facts to back that up04:18
mwhudsoni'm working on the browse view now04:19
beunomay be my head is working slower04:19
thumperAfC: ping04:21
AfCthumper: hello04:22
mwhudsonoh argh i hate the browse view04:22
mwhudsonbeuno: try rev 194, just pushed04:29
beunomwhudson, fixed both issues, can't find more  :)04:33
mwhudsonbeuno: ok, now see if the code makes sense :)04:33
mwhudson(i guarantee config.py won't)04:33
beunoI'm curious on to how this affects memory usage.  Where is Peng when you need him...04:33
mwhudsonit should be a bit better i guess04:34
mwhudsonnot massively04:34
PengHe's watching TV. :)04:34
beunoah, view_data_by_name is interesting...04:35
mwhudsonbeuno: that's one word for it04:36
lifelessoh04:37
beunoit's not bad, maybe with some docstring slapped on it explaining a bit of the logic would work04:37
lifelessthat reminds me04:37
lifelessbzr-search_integration?04:37
beunoPeng, tv is bad for you  :p04:37
Pengbeuno: Yeah, I'm gonna die young.04:37
* Peng eats some potato chips.04:38
beunolifeless, well, that's in a mergeable-ish state. I'm not sure mwhudson is in a reviable-ish state though  :)04:38
beunoPeng, you dare devil....04:38
mwhudsonmaybe04:38
beuno"reviewable-ish" state is probably what I meant, but since I'm already making up words...04:39
beunomwhudson, if this fixes the problem with too many branches open, some explanation in config.py should be good enough, IMHO04:41
mwhudsonbeuno: ok, thanks04:42
* mwhudson writes some docstrings04:42
beunomaybe even try to get the guy with the 100% CPU bug to give it a spin04:42
beunoyou know, make him break his server before you break LP  :p04:42
beunodamn, still haven't started packing04:43
lifelessigc: the pb thing is tricky04:44
lifelessigc: passing it to the child - and each child will do 0..total04:44
lifelessfor total == what the child has04:45
igclifeless: yes, it's ugly04:45
igcnot passing it the child means the pb only shows the progress of local revisions04:46
igcit's almost like you need to pass through an offset and total so the one pb can just keep stepping04:47
lifelessigc: also, get_sha1s -04:47
lifelessigc: its part of the overall 'VersionedFile is dead, long live VersionedFiles'04:48
lifelessigc: agreed on the pb thing - thats the sort of tweak that would work04:48
igcwrt no NEWS you mean?04:48
lifelessigc: yes04:48
igcok04:48
lifelessigc: we can list every single method if wanted, but its essentially everything that broke in that space; highlighting get_sha1s isn't very useful IMO04:48
igcagreed04:49
lifelesscool04:49
igcmy concern is always plugin authors04:49
lifelesshappy for me to land this?04:49
igcyes04:49
lifelesswooo04:49
igclooking forward to it :-)04:49
igclifeless: well done on this, being able to stack across formats will be pretty magic when it all comes together04:50
lifelessigc: it is :)04:51
lifelessigc: I've been playing with it04:51
lifelessigc: I'm pushing the latest shallow-branches loom too04:52
igccool04:52
lifelessok, with that done, I'm going to go write a parser/reader for BTreeIndex's04:53
igclifeless: I'm heading off to the doctors soon for most the afternoon so I probably won't get much more reviewing done today sorry04:54
lifelessigc: thats cool; I'll sweet talk poolie04:54
igclifeless: yep, I'm hoping poolie can keep you unblocked04:55
lifelessit is his job :)04:55
lifelessnow, where is that plumbers friend04:55
PengEek, LH's memory usage is still going up a bit.04:59
thumperPeng: where are you looking?05:01
beunoPeng, even with mwhudson's new branch?  :)05:01
Pengbeuno: No, I haven't tried that. Want me to?05:01
Pengbeuno: Should it be reasonably stable? And does serve-branches.py work?05:01
beunoPeng, https://code.edge.launchpad.net/~mwhudson/loggerhead/dont-hold-branches-open05:01
beunoPeng, "yes" and yes  :)05:01
mwhudsonPeng: yes, just pushed revision 19505:01
PengThose are some ominous quotation marks. :P05:01
mwhudsonwill probably merge to trunk soon05:01
PengHow soon?05:02
mwhudsonin a few minutes05:02
PengOh. I'll wait then.05:02
PengMy Loggerhead setup uses a custom branch in ~/loggerhead, so I'm not sure how I'd try a different branch than trunk.05:03
mwhudsonman, 1221 lines of diff05:03
Peng(And yes, it is a stupid reason not to try another branch, but I'm lazy. :D )05:04
lifelessPeng: serve-branches ../differnet05:06
lifelessspiv: pingish (refreshing scrollback)05:06
mwhudsonPeng: trunk revno 18005:09
mwhudsonit's landed05:09
PengOkay.05:09
mwhudsonPeng: when you said that the memory usage was going up, how much memory was it using?05:11
Pengmwhudson: It had gone from 101 to 102 MB.05:12
mwhudsonPeng: oh05:12
mwhudsonthat's not especially exciting :)05:12
PengI was surprised it hadn't stopped growing.05:13
mwhudson(given that it routinely uses upwards of a gig on launchpad, though that's old old code now)05:13
PengWell, I'm on a 360 MB VPS, so it is concerning. :P05:14
mwhudsonok05:15
PengAnyway, I'm using the latest trunk now.05:15
mwhudsondo you know what revno you were on before?05:15
PengThe last one.05:16
PengSo, 179, I guess.05:16
mwhudsonok, so you had the streaming output05:16
PengYeah.05:16
PengStreaming can't be used with compression, right?05:17
PengBecause that would really reduce bandwidth use..05:17
mwhudsonum, don't really see why not05:17
lifelessget apache to do it ? :)05:18
lifeless(because compression is a great way to break buggy browsers, and the apache modules have the workarounds well noted)05:18
Penglifeless: I use lighttpd. 1.4 doesn't support compressing dynamic stuff, though 1.5 does.05:18
lifelessPeng: there you go then :)05:18
lifelessPeng: though, if they followed the spec, and didn't read mod_gzip etc from apache, expect problems :)05:19
mwhudsonhm, it looks like paste.gzipper will stop the streaming from streaming indeed05:20
Penglifeless: The only breakiness I know of is IE and CSS and JS?05:20
PengWoah.05:20
PengI'm still connected, right?05:20
lifelessPeng: ye05:21
lifelesss05:21
PengI thought I wasn't. I was about to reconnect everything when it started working again...05:21
spivlifeless: pong05:21
lifelessspiv: memory usage; would a new index with an LRU cache help much do you think? (can we talk voice?)05:21
spivlifeless: perhaps (and yes)05:22
lifelessis that you?05:23
spivit is05:23
lifelesshandset out of juice05:23
spivAh.05:23
spivskype?05:23
lifelessits a silly bug in the battery05:24
lifelessyes skye05:24
igcbbl05:35
lifelesspoolie: chatted with spiv; the memory from reading existing indices was a significant thing.05:49
lifelesspoolie: also - for my copy of python-in-bzr-packs:05:50
lifelessOriginal aggregate index size:  3901634505:50
lifelessB+Tree aggregate index size:    758593605:50
lifelessDifference:                     3143040905:50
lifelessspiv: ^05:50
spivThat's a huge improvement!05:52
spivI hope the improvement in memory consumption is as good :)05:52
lifelessit will be different05:52
lifelessI'll need some pointers on string interning etc05:52
mwhudsonwow05:53
spivInterning strings is easy, at least.  Just "intern(s)", it's a builtin.05:53
spivOh, rather "s = intern(s)"05:53
lifelessspiv: whats the overhead? (why isn't it the default)05:55
spivIt's the default for string literals that look like python identifiers.05:56
mwhudsonthe overhead is looking in and storing references in a big-ass global dictionary05:57
spivBut Python doesn't automatically check every str you read from disk to see if it is already intern'd.  I assume the cost is roughly similar to checking a big dict.05:57
lifelessI'm a little concerned about the cost of running millions of keys through that05:58
spivI am too, although from what I saw from my testing it wasn't a big cost.05:58
spivIt's definitely worth benchmarking it more carefully though.05:59
spivThe upside speed-wise is that string comparisons get slightly faster (s1 == s2 is quick if s1 and s2 are the same str, it's just a pointer comparison).06:02
spivIt wouldn't shock me at all if it was less of a win with B+Tree indices...06:04
lifelessspiv: an open question to think about is making index creation use less memory06:09
spivHmm, yeah.06:11
beunomwhudson, I'm off to bed, have to catch a plain in a few hours. I'll probably be fairly unresponsive the next few days, especially on IRC, I may do better with email. Hopefully, long hours on the plane will get me to finish setup and directory-templates06:13
mwhudsonbeuno: ok, sounds good, sleep well06:14
mwhudsoni'm stopping for the day too06:14
mwhudson(no internet at home yet, should get connected tomorrow)06:14
beunomwhudson, ah, so we can expect less mwhudson_'ns?06:14
mwhudsonwe shall see06:15
beunowish you luck with that  :)06:15
bob2AttributeError: 'KnitPackRepository' object has no attribute 'weave_store'06:31
bob2ah, fixed already06:36
lifelessbob2: what plugin?06:36
bob2ah, search06:37
lifeless:)06:37
bob2(doesn't happen with 3515)06:38
lifelessbob2: 3515?06:38
bob2r of bzr.dev06:38
lifelessoh, revno of bzr.dev? VersionedFiles hath landed:)06:38
bob2ah, piffy06:39
bob2well, spiffy06:39
lifelessbob2: yes, massive API breaks R us06:39
* spiv ducks out for a bit06:39
PengSo far, I think the dont-cache thing improved Loggerhead's memory usage, but I can't really tell.06:56
PengAt the least, it sent back a 490 KB page and is using less than 22 MB of memory.07:11
PengSo the point of that branch was keeping branches open and stuff, but still, that surprised me.07:11
catsclawAnyone around for a quick question?07:22
catsclawIs anyone around for a quick question?07:23
RAOFcatsclaw: Generally it's a better idea to ask the question.07:23
catsclawI've never had much luck doing that.07:23
RAOFYou've obviously been in the wrong chanels :)07:23
catsclawAt any rate, I'm hosted on Dreamhost and I'm trying to use Bazaar.07:23
PengHow unfortunate.07:24
RAOFI'm not familiar with dreamhost, but at worst you've got sftp access, right?07:24
PengYes.07:24
catsclawYes.  But then I have to define shell access for every one of my users.07:24
catsclawCorrect?07:25
PengIsn't it possible to restrict a user to sftp with no other ssh access?07:25
bob2yes07:25
sabdfleven better, use bzr+ssh, restricted07:25
Pengsabdfl: That would involve installing bzr on the server, which is more of a pain.07:26
catsclawAt the moment, all access is generated from a database, which dynamically writes an .htaccess file and the svn access file dynamically07:27
catsclawI don't know of any way of doing the same with the ssh users and passwords07:27
catsclawAnd because the ssh usernames have to be unique across the server, I couldn't have easy logins to the site.07:28
catsclawIs there any way to share an ssh login, but keep the contributor's logins distinct?07:29
PengWith bzr, commit authors and ssh users are not related in any way.07:29
catsclawWhere do commit authors get set, and is that secure?07:29
Peng~/.bazaar/bazaar.conf, or by running "bzr whoami"07:30
PengAnd anyone can claim to be anything.07:30
catsclawThere's no way to include validation?07:30
RAOFPeng: And presumably the next statement is "but you can GPG sign your commits" :)07:31
PengOh, right.07:31
bob2are you using svn over ssh?07:32
catsclawI'm planning on using sftp07:33
Odd_Blokecatsclaw: For SVN or for bzr?07:34
catsclawbzr07:36
Odd_Blokecatsclaw: So what protocol are you using for svn?07:36
bob2must be raw svn:// or you'd have the same spoofing potential as with bzr07:37
catsclawIt's http07:38
bob2how usable is the bzr webdav thing?07:38
catsclawNot, at the moment.  It requires 1.6.07:39
Odd_BlokeI'm not sure, it's vila's thing (SUBTLE PING).07:39
catsclawHow do I uninstall a plugin, btw?07:41
lifelesscatsclaw: reverse however you installed it07:41
lifelesscatsclaw: if you used the plugins setup.py, it will have installed to python_lib_prefix/bzrlib/plugins/NAME07:42
lifelesscatsclaw: but if you installed via apt, use apt to uninstall, if you installed by branching into ~/.bazaar/plugins/NAME, just remove NAME from there07:42
catsclawI did a bzr branch command from lp07:43
PengWhere did you branch it to...?07:43
catsclawI don't know.  I was sitting in the Bazaar plugin directory, but it didn't put it there07:43
vilabob2: webdav is usable, the 1.6 requirement is a bit artificial, I haven't the resources to test it against 1.5 and nobody will care in a few weeks. I'm just trying to minimize my entropy :)07:44
lifelesscatsclaw: if you ran 'bzr branch lp:FOO' then it made a basename(FOO) directory in the directory you were in07:44
catsclawWell, it did it in such a way that it doesn't show up in explorer or a command line07:44
lifelesscatsclaw: interesting :)07:45
Odd_Blokecatsclaw: 'bzr plugins -v' will tell you where it is, if it's affecting bzr.07:46
drxnelehi07:46
catsclawnot installing http[s]+webdav:// support (only supported for bzr 1.6 and above)07:46
catsclawUnable to load u'bzr.webdav' in u'C:/Program Files/Bazaar/plugins' as a plugin b07:46
catsclawecause the file path isn't a valid module name; try renaming it to u'webdav'.07:46
drxnelecan somebody help07:46
Pengdrxnele: Not without knowing what you need help with.07:46
drxnelebzr push lp:~screenlets-extras-team/screenlets/screenlets-extras07:46
drxnelebzr: ERROR: Cannot lock LockDir(http://bazaar.launchpad.net/%7Escreenlets-extras-team/screenlets/screenlets-extras/.bzr/branch/lock): Transport operation not possible: http does not support mkdir()07:46
Odd_Blokedrxnele: 'bzr launchpad-login'07:46
Pengcatsclaw: You should do that then.07:47
catsclawC:\Program Files\Bazaar\plugins\webdav07:47
catsclawOnly the only thing listed there is Launchpad07:47
drxneleNo Launchpad user ID configured.07:47
drxnelehow to do this?07:47
Odd_Blokedrxnele: Sorry, I meant 'bzr launchpad-login <username>'.07:47
drxnelemeny thanks07:49
drxneleit worked07:49
catsclawI just deleted the plugins directory.  I get the same error, and the same results from bzr plugins -v07:49
bob2vila: awesome07:49
lifelesscatsclaw: run bzr --version07:50
lifelesscatsclaw: it will tell you where the 'log file is'07:50
lifelesscatsclaw: delete the log file, then run the command that is showing an error, then pastebin (e.g. to http://rafb.net/paste) the contents of the log, and the output bzr gave07:50
PengYou shouldn't have deleted that directory...07:51
catsclawI can reinstall it07:52
catsclawhttp://rafb.net/p/7tqMoL85.html07:54
lifelesscatsclaw: so in C:/Program Files/Bazaar/plugins07:55
catsclawYes?07:55
lifelesscatsclaw: you would appear to have a directory called 'bzr.webdav'07:55
lifelesscatsclaw: and bzr is telling you to rename that to 'webdav'07:55
lifelesscatsclaw: please do that, then try again07:55
catsclawWhich I would do, if I had a directory "C:\Program Files\Bazaar\plugins"07:56
catsclawI don't.  I deleted it.07:56
Odd_Blokecatsclaw: Are you on Vista, by any chance?07:56
lifelesscatsclaw: [ 6096] 2008-07-01 01:51:29.979 WARNING: Unable to load u'bzr.webdav' in u'C:/Pr07:56
lifelessogram Files/Bazaar/plugins' as a plugin because the file path isn't a valid modu07:56
lifelessle name; try renaming it to u'webdav'.07:56
lifelesscatsclaw: that says that you do; please check :)07:56
catsclawThere wasn't a subdirectory except for "launchpad" there before, either07:57
catsclawI am on Vista.07:57
Odd_BlokeRight, it does some screwy stuff in Program Files.07:57
Odd_BlokeAll in the name of saving you from yourself, of course.07:57
catsclawThere is no subdirectory named "plugins" in the Bazaar directory.07:58
Odd_BlokeI'm not sure what to suggest, but I think you're right when you say you can't see anything and bzr is right when it says there is something there.07:58
lukswell, try to search for bzr.webdav on your disk07:58
luksbut first look to C:/Users/catsclaw/AppData/Roaming/bazaar/2.0/plugins07:59
catsclawDirectory of C:\Users\catsclaw\AppData\Local\VirtualStore\Program Files\Bazaar\plugins08:01
catsclaw07/01/2008  01:05 AM    <DIR>          bzr.webdav08:01
luksso there is a bug in bzr, which reports incorrect directory08:02
catsclawMore to the point, when I ran the bzr branch command, why did it extract things to the VirtualStore?08:03
catsclawAnd not the directory I was sitting in?  And shouldn't bzr know about that, and warn you?08:03
Odd_Blokebzr _should_ be told about it.08:04
luksI'm guessing it's Vista playig tricks on you08:04
Odd_BlokeWhether it actually is or not is another matter.08:04
luksbzr was probably not allowed to write to C:\Program Files or something like that08:05
RAOFIt looks like bzr is triggering some of the "don't break permissions-ignorant code" workarounds in Vista08:05
catsclawI'm sure that was it.08:06
RAOFSo you need to do whatever the vista equivalent of "sudo bzr branch ..." is.  Presumably it has one.08:06
catsclawI can launch a cmd window as an administrator08:07
lifelessyay windows.08:07
lifelesscatsclaw: sorry, I didn't realise just how much Vista gets in users way :)08:07
catsclawBut no point, since I can't use the webdav stuff without 1.608:07
catsclawAnd if people can log in with different commit names under ssh, that works anyway08:08
Odd_Blokevila: Is there the chance for subtle bugs if the webdav stuff is used with <1.6, or will any problems be glaringly obvious?08:08
vilaOdd_Bloke: You tell me :-)08:09
vilaseriously, I'm not aware of any potential problem08:09
Odd_BlokePresumably it would be API mismatch, which'll ditch before anything could go wrong.08:10
vilaevent there, the only API I use that may cause problems with old versions is test related only, the transport API is pretty stable08:11
vilathe last transport API break was requiring writable transport to implement list_dir and stat. This was the only reason I stop working on it for some months08:12
vilaNow, that plugin has of course not been widely used, so file bugs, file bugs, file bugs :)08:13
Odd_Blokecatsclaw: You could try using the plugin with <1.6 if you want to.  Just change the 'minor < 6' on line 31 of __init__.py to something lower.08:13
Odd_BlokeOf course, the SSH route is safer. :)08:13
catsclawbzr: ERROR: Permission denied: "/.bzr": [Errno 13] Permission denied08:14
catsclawThat's when I try init-repo on the sftp site08:14
catsclawLogin works, though, and I can manually upload files08:15
Odd_Blokecatsclaw: Find the relevant part in bzr.log and that should help us out.08:16
lifelesscatsclaw: when I see that its usually a virtual vs absolute path difference08:16
lifelesscatsclaw: if you are doing 'bzr init-repo sftp://HOST/FOO', be aware that that is '/FOO' on the host, not '~/FOO' aka 'FOO'08:16
lifelesscatsclaw: if you want 'the current directory' you need 'sftp://HOST/~/FOO'08:16
catsclawAh.  Sure enough.08:17
catsclawFinal question tonight, I swear08:20
lifelessthe more the merrier08:20
catsclawThere's nothing out there that allows you to edit bzr files from a web interface, is there?08:20
catsclawEdit text files stored in a bzr repository, I mean.08:21
Odd_Blokecatsclaw: ikiwiki might do it.08:21
Odd_BlokeWait, do I mean ikiwiki.  *thinks*08:21
Pengcatsclaw: There are lots of programs to edit files from a web interface, but committing them with bzr afterwards is another story...08:21
catsclawGot any good ones to recommend?08:22
PengOdd_Bloke: I'm not sure if ikiwiki can use bzr as a backend.08:22
Pengcatsclaw: DreamHost has WebFTP set up.08:22
Odd_Blokehttp://jameswestby.net/bzr/ikiwiki.bzr/trunk/ suggests that james_w has looked at it at some point.08:22
lifelessspiv, I have iter_all_entries workig08:23
lifelessspiv: is there a simple test to check memory impact?08:23
spivlifeless: I included a simple script in my mail08:23
spivlifeless: want me to pastebin it for you?08:24
lifelessyou did? I'll grab it08:24
Odd_BlokeActually, that just looks like a conversion of ikiwiki's history to bzr.08:24
lifelessspiv: (by simple I mean, no bzr needed :P)08:24
PengOdd_Bloke: I think I heard that bzr doesn't support one of the hooks ikiwiki sues.08:24
spivOr, just bzr push bzr.dev into /tmp and watch top ;)08:24
PengOdd_Bloke: That may have changed, of course.08:24
lifelessspiv: I don't have a repo format using this08:24
lifelessspiv: that needs iter_entries working08:24
lifelessspiv: and possibly iter_entries_prefix08:25
spivFair enough.  So, search my email for iter_all_entries08:25
Odd_BlokePeng: http://ikiwiki.info/rcs/bzr/08:25
aantnhello08:26
Odd_Blokeaantn: Hi.08:26
aantnis it possible to uncommit one specific revision after other revisions have been made08:26
aantnhey Odd_Bloke08:26
Odd_Blokeaantn: Do you want to remove it from history, or just undo the changes it made?08:27
aantnOdd_Bloke: remove it from the histroy08:27
aantnit has an incorrect commit log :-[08:27
catsclawOk.  I gotta jet.08:28
catsclawThanks for the help.  I'll have more later, have no doubt.08:28
Pengaantn: How incorrect? Most people learn to live with typos..08:28
aantnPeng: I forgot to add files, so it picked up on a tiny minor change and missed the big change08:28
aantnPeng: another developer ended up committing the big change08:29
lifelessspiv: 117M vss, 58M res08:31
hsn_anybody knows if bzr is installed on sf.net shell server?08:31
lifelessspiv: http://rafb.net/p/zCpYDb71.html08:31
lifelessspiv: thats for my bzr.dev's indices converted08:32
lifelessspiv: robertc@lifeless-64:~/source/baz/integration$ du -sh --apparent /tmp/fo/08:33
lifeless5.5M    /tmp/fo/08:33
spivlifeless: interesting, that's vs. 61M res I get with bzr.dev and my original script.08:33
spivAlthough your vss is much higher.  But you have a 64-bit system, I think?  So the comparison isn't 100% fair.08:33
lifelessspiv: I do08:34
lifelessspiv: lets get a baseline08:34
spivThat suggests your new stuff is a bit better, though.  That's a promising sign.08:35
spivHmm, also your vss is double mine, which seems odd.08:35
lifelessspiv: 16474 robertc   20   0 72804  11m 2800 S    0  0.6   0:00.20 python08:35
lifelessspiv: thats before any indices are processed08:36
spivOk, so the oddness is someone else's fault :)08:36
lifeless16474 robertc   20   0  117m  58m 2864 S    0  2.9   0:02.56 python08:36
lifelessand thats after it finishes08:36
lifelessnow, the largest index is 2.5MB08:36
lifelessand readv() does some interesting data slicing08:37
lifelessoh, hmm, lets gc() too08:37
lifeless16565 robertc   20   0  117m  58m 2864 S    0  2.9   0:02.62 python08:38
lifelessso, gc isn't freeing anything :)08:38
spivYeah, I'd be a little surprised if you had reference cycles.08:38
spivWorth being careful with our measurements, though.08:39
lifelessspiv: http://rafb.net/p/iDf7SP71.html08:39
spivSo, what do you get on your system with my script (i.e. the current index format)?08:39
lifelessspiv: thats what I've ended up with08:39
spivThat script consumes memory?  It looks like it should be freeing everything before the final raw_input08:40
lifelessspiv: thats right08:43
lifelessspiv: strange huh08:43
spivVery.08:43
lifeless16825 robertc   20   0 91764  18m 2980 S    0  0.9   0:00.56 python08:43
lifelessusing bzr.dev08:43
lifelessyour script (well, nearly)08:43
lifelessI'm buggered if I know where its going08:44
=== timely is now known as timelyx
spivTry my countrefs hack?  (http://twistedmatrix.com/users/spiv/countrefs.py)  Getting the counts before and after might tell you something.08:45
lifeless16984 robertc   20   0 74368  13m 2860 S   48  0.7   0:03.74 python08:47
lifeless        for item in index.iter_all_entries():08:47
lifeless            pass08:47
lifelessthat tells me all I need to know :P08:48
spivHeh.08:48
lifelessfragmentation anyone ?08:48
lifelessseriously, I think I'm better off getting this code out there in a repo format for you to try08:48
spivYeah, I'd like that.08:49
lifelessI wanted to see if it was potentially useful :)08:49
hsn_any work in progress on making commited log messages editable by other commits?08:52
berto-jelmer: hello.09:03
lifelessspiv: I'd be interested if chewing rather than listing the iterators affects your results09:03
lifelessspiv: also, going down to the _indices attribute and doing each one might also be useful09:04
lifelesshmm, 12 second test case. not good09:07
berto-jelmer: i figured out my compilation issues on OS X.  it had to do with having MacPython installed on my system.  Once I cleaned that up, running make worked just fine.  I also updated the OS X instructions: http://bazaar-vcs.org/BzrForeignBranches/Subversion#mac-os-x09:21
berto-is bzrsvn a good way to migrate over to bzr?  i noticed that bzrsvn uses SvnRepository; how different is that from the standard Bzr repository?09:24
gourberto-: have you tried tailor?09:27
berto-gour: no, what's that?09:27
gourberto-: kind of universal migration tool09:27
Pengberto-: bzr-svn stores the data in a regular rich-root-pack repository; I'd think SvnRepository is just how it communicates with the svn server.09:27
luksberto-: bzr-svn uses SvnRepository only if you want a checkout09:27
berto-thanks, everyone.09:28
PengAlso, I dislike Tailor.09:28
gourwhy?09:28
PengI only used it once, to convert from bzr to hg, and the result was a bit messy.09:29
PengAlso, it might be a "jack of all trades, master of none" thing.09:29
berto-more general, if i wanted to put a bunch of related codebases in a single bzr repository how would i go about doign that?  for example, i'm now converting an svn repo with bzrsvn, can i bzr init-repo and somehow move the contents over?09:30
gouri found the recent version as the only tool able to migrate from darcs09:30
Pengberto-: I think you have to "bzr branch" into the new repo.09:31
Pengberto-: Note that all a shared repository is is a data storage optimization; it has no other meaning.09:32
berto-Peng: because it keeps one copy of common stuff between branches, right?09:34
gourberto-: right09:37
berto-ok, cool.  i think i get it.  :)09:38
berto-tailor may help me get stuff out of git.09:38
Pengberto-: You should check out bzr-fastimport for git (and hg).09:38
berto-peng: cool, checking it out.09:38
gourberto-: pick latest tailor if possible, it improved in many ways09:38
Pengberto-: (I'm not sure how production-ready it is, but in any case, it might work, and it's good stuff.)09:39
LarstiQvcs-fast{export,import} seems to be the way of the future09:42
gourLarstiQ: with darcs, my experience of darcs-fast was darcs-SLOW-and-broken and that's why i used tailor09:43
goursee https://bugs.launchpad.net/bzr-fastimport/+bug/23217709:45
ubottuLaunchpad bug 232177 in bzr-fastimport "Better darcs support needed" [Undecided,New]09:45
LarstiQgour: future, because things might not be there overall. The tailor author has lots of darcs experience, so I expect that to be rather good indeed.09:45
gourymmv, though09:45
LarstiQgour: interesting09:46
PengYeah, Tailor seems to be good for Darcs.09:46
berto-awesome, just got django via bzr.  :)09:46
berto-finally got this working.  took me forever to track down problems on my system09:47
=== weigon__ is now known as weigon
berto-nite, all10:30
=== gour is now known as sportman|sleep
=== sportman|sleep is now known as gour
lifelessok, b+tree querying up and running11:00
lifelessnow for a repository format to use it11:00
lifelessspiv: ^ pushed too11:06
=== gour is now known as gour|afk
=== emgent_ is now known as emgent
jelmerlifeless, ping?13:44
lifelesshi13:44
lifelesslp:~lifeless/+junk/bzr-index213:44
lifelesstoy^ play ^ enjoy13:44
jelmerlifeless, I've implemented item_keys_introduced_by()13:44
lifelessjelmer: cool13:44
jelmerlifeless, what branch of bzr-index should I try on a svn repo?13:44
lifelessjelmer: bzr-search; trunk13:45
lifelessjelmer: look for commits_only = True13:45
lifelessjelmer: change it to False, and it will try for texts13:45
jelmerlifeless: Hmm, bzr-index triggers svn to return new and interesting errors13:54
lifelessjelmer: :)13:55
=== guilhembi is now known as guilhembi|pause
jelmervisik7, ping14:09
weigonhow do I convert svn-tags into bzr-tags ?14:09
visik7yes ?14:09
jelmervisik7: Any chance you can try the branch from django again with the latest version of bzr-svn?14:10
jelmervisik7: No hurry, I'm just wondering what is causing the breakage for you14:10
jelmervisik7: Can't reproduce it here, so it's pretty hard for me to fix those two bugs atm :-/14:10
visik7jelmer: I should upgrade bzr too latest bzr-svn doesn't work with 1.514:10
jelmervisik7: ah, yeah14:10
jelmerweigon: How do you mean? After importing a svn repository using bzr-svn?14:11
weigonyep14:11
visik7actually I'm not setuped to keep bzr from bzr :)14:11
weigonI would like to get rid of the tags/ folder afterwards and use bzr-tags instead14:11
jelmerlifeless: bzr index completed >-)14:11
weigonthis shall be a one-time operation, the svn tree will be abonded afterwards14:12
jelmerweigon: I believe somebody wrote a script to do that14:12
jelmerweigon: Something like this should also do it:14:12
lifelessjelmer: cool14:13
lifelessjelmer: I shall remove the hack then tomorrow14:13
jelmerlifeless: It was slow, but not unbearable14:13
jelmer(290 seconds for gnome-specimen)14:14
lifelessjelmer: bling bling14:14
jelmervisik7, :-)14:14
weigonjelmer: after branching from svn into bzr, applying the bzr-tags, removing tags/ and branches/ it makes sense to move trunk/ one level done into the basedir of the repo (like bzr move trunk/* .), right ?14:14
jelmerweigon: Sure, though you wouldn't use "bzr mv" for that (since the root of the repository is not a branch)14:15
jelmerlifeless: Now we only need tracker integration >-)14:16
lifelessjelmer: I looked at that14:16
lifelessjelmer: I'm not sure its a good fit. But openchange could use a search engine :P14:16
lifelessjelmer: also, new index layer, half-size indices for bzr; will probably make bzr-search much snappier14:17
weigonjelmer: you lost me: isn't $ bzr branch svn+ssh://.../ creating _one_ repo with 3 folders (tags/, branches/, trunk/) is in SVN ?14:17
weigonor are they already in shared-repo with 3 different repos ?14:17
jelmerweigon: You would use bzr branch on the trunk/ URL rather than on the repository14:17
uwsjelmer: heh. it seems gnome-specimen has become a bzr/svn playground for a bunch of people :)14:17
jelmerweigon: "bzr svn-import" will import a repository (and create separate bzr branches for trunk, branches/*, tags/*)14:18
weigon*doh* thanks14:18
weigonthat's what I was missing14:18
jelmeruws: yeah :-) It's a nice fit for testing since it's not too big but contains some regular and some bzr-svn commits14:19
jelmerweigon: I'll see if I can add a warning14:19
jelmerlifeless; 9-:14:20
jelmers/9/(14:20
jelmerlifeless: So, now that I have this index, how do I use it?14:20
lifelessjelmer: 'bzr search'14:21
jelmerlifeless: I indexed a remote URL14:21
lifelessjelmer: or fire up loggerhead on this branch and then type in the search field (using a bzr-search integrated loggerhead of course)14:21
lifelessjelmer: you did something like:14:21
lifelesssvn co foo bar14:21
lifelesscd bar14:21
lifelessbzr index14:21
lifelessright ?14:21
jelmerno, I did "bzr index svn://svn.gnome.org/svn/gnome-specimen/trunk"14:21
lifelessjelmer: ok, its probably indexed in ~/.bazaar/bzr-search/svn-lookaside/UUID14:22
lifelessjelmer: which is cool, I so didn't expect that to work :P14:23
lifelessjelmer: do a svn co of trunk14:23
lifelessjelmer: cd to it14:23
lifelessand do 'bzr search foo'14:23
sabdfllifeless: where's the trunk of the search plugin?14:23
jelmerlifeless: Too late, I already started working on "bzr search -d" :-P14:24
lifelesssabdfl: lp:bzr-search14:24
lifelesssabdfl: (where else ? :)14:24
sabdflit was the "bzr-search" bit I was looking for14:24
lifelesssabdfl: ah14:24
sabdflwe need bzr branch lp:+search/"bzr search plugin" ;-)14:24
lifelesssabdfl: that would be fun14:25
lifelesssabdfl: if you want something really shiny, run bzr index on launchpad14:25
lifelesssabdfl: then run beuno's bzr-search integrated loggerhead locally14:25
lifelesslp:~beuno/loggerhead/bzr-search_integration14:25
lifelessit needs python-simpletal, python-paste and python-sqlite installed14:26
sabdfllifeless: it blows up on bzr.dec14:26
sabdflv14:26
lifelessthe serve-branches.py script is now used to run it - just give it the path to a branch14:26
lifelesssabdfl: indexing bzr.dev?14:26
sabdflyes14:26
lifelesssabdfl: let me try14:27
lifelesssabdfl: are you running bzr.dev? or 1.6b2 ?14:27
lifelessbeuno: btw, loggerhead is definitely returning bogus revisions in searches still; we need to track that down14:28
lifelesssabdfl: if you are running bzr 1.6b2, use lp:~lifeless/bzr-search/pre-1.6 instead14:29
lifelessits 50% through indexing bzr.dev from scratch for me, no errors14:29
jelmerlifeless: -d patch sent14:31
lifelessjelmer: ! nice. (With test?)14:31
jelmerlifeless: of course (-:14:31
lifelesssabdfl: yeah, I think you are running bzr 1.6b2, I had no trouble indexing bzr.dev14:33
lifelesssabdfl: let me know how you go, I'm crashing soon as this test completes; midnight!14:45
sabdfllifeless: ./bzr index worked in bzr.dev14:45
lifelesssabdfl: ok cool14:46
jelmerlifeless: lp:~jelmer/bzr-search/debian14:54
lifelessjelmer: mail me I'm halt()ing14:56
lifelessgnight all14:56
jelmerlifeless: will do14:56
jelmerlifeless, goodnight14:56
weigonjelmer: the svn-import did the trick15:04
liminalHi, I'm having problems with svn-push: it gives me a C++ assertion error. Can anyone help me?15:50
liminalWould the mailing list be a better place to get advice for this issue?15:57
LarstiQliminal: did you check the bzr-svn buglisting?16:00
liminalI hadn't... just did a search for 'svn-push' and it doesn't seem to turn up anything16:01
jelmerliminal: Please file a bug16:01
liminalsure. in the meantime is there any other way to get a repo into svn?16:02
jelmerliminal: Probably easiest to see first if we can fix this bug16:02
jelmerOnce you file the bug, I'll see how hard it would be to fix16:03
liminalok, thanks. Should I let you know the bug # or anything?16:03
jelmerliminal, yeah, please paste it here16:08
liminaljelmer, the bug # is 244583 -- thanks16:19
jelmerbug 24458316:21
ubottuLaunchpad bug 244583 in bzr "Svn-Push Assertion Error" [Undecided,New] https://launchpad.net/bugs/24458316:21
jelmerliminal, what version of bzr-svn is this?16:22
liminalhttp://d5190871.u44.websitesource.net/bzr-svn/bzr-svn-0.4.10-svn-1.4.6-setup-0.exe16:23
jelmerliminal: Ah, Windows..16:32
jelmerliminal: Do you have a build environment available? If so, you may want to try the latest bzr-svn16:33
jelmerwhich no longer uses the patched Python subversion bindings16:33
jelmerI can't find that assertion that's being triggered in my copy of bzr-svn - it looks like yours has been patched16:33
jelmers/bzr-svn/subversion/16:34
liminaldo you mean the development version of bzr-svn? on the project page it lists 0.4.10 as the latest16:35
jelmerliminal, yeah, the development version16:35
=== mtaylor_ is now known as mtaylor
liminalI used the precompiled installer because all the instructions for deploying from source seem to assume running from linux16:36
jelmeryeah, compiling on windows may be a bit of a hassle16:37
jelmerIt'd be happy to help get it to work (also so the instructions for building on windows can be updated)16:38
liminalok, thanks for taking a look. It seems that this won't be simple to address. I'll work around this instead (commit latest version to svn and keep the current bzr repo in case I need past history)16:38
liminalthanks for the offer, but a colleague just came in and we need to focus on other stuff. Thanks again.16:39
jelmerk16:39
liminaljelmer, I saw your comment about adding a backtrace to my bug. How would I do that?17:20
=== mw__ is now known as mw
mrevelljames_w:  Hi are you around>18:37
james_whey mrevell18:37
mrevelljames_w: unping, sorry :)18:38
james_wno problem18:38
awilkinsVerterok:19:06
guilhembi|pausejam: hello! could you please post a progress note in support issue 2413?19:08
jamguilhembi|pause: I'm having the guys test some win32 installers right now19:10
jamFound a weird issue with a system lib getting bundled in the installer19:10
jamI can post that to tracker if you want19:10
jamI was waiting for them to give the "all clear" and post then19:10
Verterokawilkins: hi19:48
=== mw is now known as mw|food
awilkinsVerterok: Hi, I was going to discuss this SaveableEditorInput thing with you ; I'm going to see how Subversive does it first though20:13
Verterokawilkins: Ok that would be great, I looked a bit how subclipse is doing it.20:13
awilkinsVerterok: Good to cover the bases :-)20:14
Verterok:)20:14
Verterokawilkins: it's ok if we start with this in a while, I'm not 100% available right now :( , maybe in a hour?20:15
awilkinsVerterok: Sure, no problem20:15
Verterokawilkins: cool, thanks :D20:16
tolstoyAnyone have any docs on bzr_access? I can't figure out if it's supposed to be used on the client side, or the server side.21:02
=== mw|food is now known as mw
james_wtolstoy: server side21:04
james_wit's supposed to go as the command in the authorized_keys file on the server.21:04
=== guilhembi|pause is now known as guilhembi
tolstoyjames_w: Hm. Okay. I think I get you. I'll try that out.21:24
mkanatmwhudson: I updated to tip, it's going fine so far.21:26
mwhudsonmkanat: awesome21:26
mkanatmwhudson: I saw that you fixed webpath, too, and that seems to be working well.21:26
mwhudsonoh yes21:26
mwhudsonmkanat: the 100% cpu thing is still odd, i'd like to understand it21:26
mwhudsonbut if it's stopped happening, good enough for me21:27
mwhudsonmkanat: is your loggerhead accessing some of the branches it's viewing over http?21:27
mkanatmwhudson: Nope.21:28
mkanatThey're all local.21:28
mkanatmwhudson: Well, I'm not entirely sure it's stopped. :-)21:28
mwhudsonheh, ok21:28
mkanatmwhudson: I just upgraded recently, we'll see how it goes.21:28
mwhudsonplease let me know either way21:28
mwhudsonhow's memory usage?21:28
mkanatUsing 300m RES right now.21:29
mkanatWhich seems better for its uptime.21:29
mwhudsongood good21:31
PengHmm, no-op pulls over bzr+http are a definite improvement. It's about a dozen <85 byte requests (not counting headers), vs. a couple hundred KB of index requests.21:41
mwhudsonoh, beuno is travelling isn't he21:44
barttAny advise/pointers for using bzr as a local client to CVS? I'd like to use bzr as a 2 way client to a CVS repository. bzr then allows me to branch locally, experiment and merge back when ready to commit to CVS.21:59
* mwhudson points at launchpad's code browsing, now running trunk loggerhead22:00
mwhudsonbartt: i'm not aware of anything like that22:00
PengIt's running both trunk bzr and Loggerhead? Spiffy.22:00
mwhudsonPeng: well, it's not quite trunk bzr, it's r350822:01
Pengmwhudson: That's the trunk, just not the very latest.22:02
mwhudsonPeng: i guess so yes22:03
lifelessmoin22:07
berto-hello.  i'm trying to build bzr-svn on a debian etch box using python2.4; i'm getting this error: http://paste.pocoo.org/show/78310/  any thoughts?22:11
lifelesswhich branch of bzr-svn are you trying to build ?22:14
lifelessberto-: I would unset your CFLAGS22:14
jelmerberto-: looks like 2.4 doesn't have Py_ssize_t22:15
jelmerI've added a typedef for it22:16
jelmerberto-, should work if you pull current 0.422:20
berto-jelmer: that did it, thanks!22:27
berto-jelmer: not sure if you saw my message to you last night; i got things working on os x and updated the bzrsvn wiki to reflect the new stuff.22:28
jelmerberto-: Ah, nice - thanks!22:29
awilkins jelmer : You appear to have traded spaces for tabs on your indents22:30
jelmerawilkins: yeah, in the c files22:30
berto-jelmer: in commit.py, line 716; is that py2.5 syntax ?22:35
jelmerprobably22:35
* jelmer fixes22:36
berto-jelmer: i can do that one ...22:37
berto-jelmer: how do i send you a patch?22:38
jelmerberto-: bzr send <0.4-url>22:38
awilkinsjelmer: Bah, you haven't changed that C99 syntax22:38
jelmerawilkins: no, sorry - havent had time for that yet22:38
awilkinsjelmer: Is there a simple way of changing it that a C-idiot can grasp?22:39
jelmerawilkins: Yeah, I think so22:40
jelmerawilkins: look at object.h in the python development files22:40
jelmerPyTypeObject is defined there22:41
jelmerWith C99 it's possible to assign a struct member using ".tp_<name> = foo,"22:41
jelmerwithout C99, the members have to be specified in the right order22:41
jelmer(preferably one on each line, with a comment at the end of the line with the name, to keep things maintainable)22:42
jelmerI can convert an example one, if that helps22:42
awilkinsjelmer: So this is the struct ending on line 345 of object.h?22:42
jelmerawilkins, yep22:43
awilkinsjelmer: Do you need all the members or just the ones you are using?22:43
berto-jelmer: sorry, i'm *very* new to bzr.  i get this: bzr: ERROR: No mail-to address specified22:43
berto-bzr send22:43
berto-Using saved location: http://people.samba.org/bzr/jelmer/bzr-svn/stable/22:43
awilkinsberto-: bzr send [target] --mail-to22:43
jelmerberto-: Please try again22:44
jelmerberto-: I forgot I removed the child_submit_to setting22:44
jelmerschierbeck, !22:44
schierbeckjelmer!22:44
schierbeckhi :)22:44
jelmerawilkins: All members up to the last one we need to set explicitly22:45
jelmerawilkins: The members in between need to be set to 0 or NULL (depending on their type)22:45
berto-jelmer: ok, that worked.  so you changed something on the server side, eh?  where is child_submit_to set?22:45
awilkinspointers NULL, ints 022:45
awilkinsRighto (blech).22:45
jelmerawilkins: yep, exactly22:45
jelmerschierbeck, hi (-:22:45
jelmerberto-: child_submit_to is set in .bzr/branch/branch.conf on the server side22:45
berto-ok, cool.22:46
awilkinsjelmer: Some of these members sound like they need poitners but they are not declared with *22:46
schierbeckjelmer: i see you've been busy working on bzr-gtk -- nice!22:46
lifelessgarh, needing too many keys for this test :(22:46
schierbecki've been way too busy at work recently22:46
awilkinseg descrgetfunc tp_descr_get  : 0 or NULL  ?22:47
jelmerawilkins: yeah, the various things ending in func would be NULL22:47
jelmerthe compiler will probably warn you as well if you try to assign 0 to a pointer or NULL to an integer22:47
awilkinsRighto, off we go.22:47
jelmerschierbeck: yeah, among other things your signature work is enabled again now22:48
schierbeckjelmer: nice :)22:48
schierbeckalthough it doesn't seem to detect seahorse at all right now22:49
schierbeckperhaps an issue with dbus activation?22:49
jelmerschierbeck: yeah, I have to comment out the  "if BUS_NAME not in bus_names:" bit22:50
jelmerotherwise it doesn't get activated22:50
jelmerthat line only seems to work if seahorse already was triggered by some process22:50
schierbeckjelmer: i'm not sure what the canonical (hehe) way to do it is22:51
vadi2How does one break a lock when bzr break-lock fails? we messed up our branch a bit and now can't access it: http://pastebin.com/m2480833e22:52
schierbeckjelmer: we've been through quite a bit of different approaches...22:53
jelmerschierbeck: yeah...22:53
berto-found another py2.4 incompatibility; just used bzr send again.22:53
mcraelvadi2: I am having trouble breaking a lock also. I hope someone here can point us in a good direction.22:57
jelmerberto-: did you send an email earlier? I haven't received anything yet22:58
jelmerschierbeck: sanest approach would probably be to just try to use seahorse and catch the possible exceptions that indicate it wasn't found22:59
berto-jelmer: thought so: just ran "bzr send" and figured that had some magic.22:59
berto-is there a file i need attach to an email somewhere?22:59
schierbeckjelmer: yup, think that's best22:59
jelmerberto-: bzr send should take care of sending the email for you22:59
jelmerand launch an email client, etc23:00
berto-hmm, might be the mail server on the machine i'm using ... 1 sec.23:00
berto-is there a way to have bzr send just give me a file i can attach?23:00
jelmeryeah, "bzr send -o <filename>"23:00
berto-boo, relaying denied.23:01
berto-ok, 1 sec.23:01
vadi2mcrael: I think I'll just delete branch and make it again in my case, since it's a relatively new one23:01
mcraelvadi2: I may have to do the same.23:01
berto-jelmer: sent.23:02
jelmermcrael/vadi2: try "bzr break-lock lp:~gufw-developers/gui-ufw/0.0.6"23:03
jelmerberto-, thanks23:03
berto-np.  let me know if there is some naming convention you usually use.23:04
vadi2jelmer, already remade the branch, but thanks for the reply23:04
jelmerberto-, Still nothing received..23:12
schierbeckjelmer: i'm off to bed, g'night23:13
jelmerschierbeck: ok, see you later23:13
berto-jelmer: that's odd; jelmer-at-samba.org ?23:13
jelmeryep23:14
jelmernever mind23:14
jelmerlooks like it was just slow23:14
jelmerberto-, thanks, merged!23:16
=== arjenAU2 is now known as arjenAU
berto-how do i get the bzrsvn manual?  just tried bzr help svn but that doesn't give me much.23:37
lifelessjelmer: ^ :P23:37
jelmerberto-: see the FAQ23:37
lifelessberto-: I believe much/all of it is on the wiki23:38
lifelessjelmer: do you see my point about people trying the inline help system23:38
jelmerlifeless: yes, I do get your point23:38
jelmerI just don't want to add a verbatim copy of the current files in the py files23:38
lifelessjelmer: sure, I got that23:39
berto-so getting my changes into the svn repo is just a matter of using "bzr push"?23:39
jelmerberto-: if you're pushing a new branch that isn't in svn yet, "bzr svn-push"23:39
berto-no just changes to trunk, so that should work, i suppose.23:40
jelmeryep23:44
berto-jelmer: svn-push failed while "Obtaining username for SVN connection" on a file:/// transport ?23:44
NfNitLoopberto-: is this a repo you checked out from SVN?23:45
berto-yep.23:45
NfNitLoopdo bzr info.  find what it says for "parent branch".23:45
NfNitLoopand just "bzr push" to that.23:45
berto-same problem23:46
NfNitLoopodd.23:46
berto-NfNitLoop: it is a repo accessed via file://, wonder if that's the problem.23:47
NfNitLooptry svn+file:// ?   (just brainstorming here... been a while since I touched bzr-svn)23:47
berto-hmm, blew up another way.  :)23:48
berto-SubversionException: ("Can't write to connection: Bad address", 14)23:50
NfNitLoopberto-: and you can "bzr pull" from that location OK?23:51
berto-yeah, just did about an hour ago.23:51
jelmerberto-: haven't seen that error before23:51
jelmerberto-: You're pushing to a remote location?23:51
jelmerberto-: That doesn't look like file:// at all..23:52
berto-jelmer: it's a file:/// transport on the same machine.23:52
berto-jelmer: oh, right. that last one i used svn+ssh:// to come back to the same box.23:52
jelmerberto-: Anything in ~/.bzr.log ?23:52
jelmerberto-: Are you sure you typed the path correctly?23:52
berto-almost certain.23:52
berto-i grabbed it from bzr info23:53
berto-parent branch: /home/dev/repo.svn23:53
jelmerand you're pushing to /home/dev/repo.svn/trunk or something?23:53
berto-jelmer: oh, i should specify trunk ...23:55
berto-let me try that.23:55
berto-in bzr i'm in the trunk branch, then i push to svn's trunk branch and i get a "diverged" error.23:56
berto-i think i saw that one in the faq ...23:56
pooliehello23:56
jelmerberto-: You should push to the same location that you pulled from23:57
jelmerhey poolie23:57
Verterokhi poolie23:57
berto-jelmer: hmm, i was trying that and it wsn't working.  merge is thinking right now, not sure what it's doing.23:57
jelmerberto-, what error did you get exactly when you did that?23:57
berto-jelmer: http://paste.pocoo.org/show/78324/23:58
jelmerberto-: Any chance you can run that inside of gdb?23:59

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