/srv/irclogs.ubuntu.com/2010/11/07/#bzr.txt

glyphlifeless: fwiw, it's not a dpush bug00:01
glyphlifeless: it's a bug in the svn mac installer, which I've reported and yelled about in here like 5 times00:02
glyphhttps://bugs.launchpad.net/bzr-mac-installers/+bug/62144600:02
glyphplease, somebody fix this00:02
ubot5Launchpad bug 621446 in Bazaar Mac Installers "AttributeError: paths when trying to svn-import (affected: 6, heat: 46)" [Undecided,New]00:02
glyphit's shipping with a prerelease bzr-svn that's broken.00:02
lifelessahh00:02
lifelessexarkun: ^00:02
lifelessglyph: perhaps you could drop a mail to the list; its more likely to catch the mac installer dudes eyes00:03
* exarkun arrives00:03
exarkunbtw the launchpad login experience sucks00:03
glyphexarkun: what are you talking about, it's great.  It is super secure.  What if you accidentally informed launchpad.net of your launchpad.net credentials?  that would be terrible!00:04
glyph(sorry, apparently in a snarky mood tonight)00:04
glyphalso, I may have asked this one before00:06
glyphbut is there any way to change qbzr's fonts?00:06
glyphthe code font it has selected for me is painfully ugly00:06
lifelessglyph: no idea about qbzr, sorr.00:07
lifelessexarkun: what about the experience sucks?00:07
glyphlifeless: I suspect exarkun is complaining about the same part of the experience that I'm snarking about.00:08
exarkunlifeless: The "did you actually mean to log in" page that comes after the log in page00:08
glyphI'm on launchpad.net.  I click 'log in'.  I type my username and password, and hit 'continue'.  It then says "The following information will be available to Launchpad:", but clearly that information is _already_ available to Launchpad.00:09
glyphAlso, at the top of that page it says "Logged in as ..." even though I am (apparently?) not actually logged in00:09
glyphPersonally, having worked on federated authentication, I understand the difference between authenticating to the login service and relaying that authenticating to the application, but that is an extremely subtle distinction00:09
glyphthat I think is lost even on most programmers.00:09
lifelessmmm00:16
lifelessso it might be useful to file a bug or two here00:16
lifelesswe are working on allowing any provider00:16
lifeless- becoming a general rp00:16
glyphlifeless: That would be great.00:19
glyphlifeless: I really, really want LP to be a general RP so I can throw these credentials in the garbage, along with all of my other random web credentials00:20
lifelessyeah00:20
glyphlifeless: actually, is there a launchpad bug for that?  I'd love to be notified when it's ready.00:20
lifelesssure is00:20
glyphbut still, in that case, I want the LP login service to special-case the case where I am logging in *to* launchpad *on* launchpad :).00:21
lifelesswell00:21
lifelessLP doesn't have its own provider anymore00:21
glyphlogin.launchpad.net looks like a provider00:21
lifelessit does00:21
lifelessits login.ubuntu.com themed00:21
lifelessdifferent DB00:21
glyphlifeless: it says "launchpad" at the top, that makes me think it's launchpad ;)00:22
lifelessI know00:22
lifelesswe had one for a bit00:22
lifelessthen folk used it00:22
lifelessthen we move it to a different department ;)00:22
lifelessle sigh.00:22
glyphlifeless: when I said "is there a launchpad bug", what I really meant was" what is the URL for that launchpad bug" ;-)00:23
lifelessI don't know00:23
glyphlifeless: well, I spent about 20 minutes searching, and I found nothing.  So: <https://bugs.launchpad.net/launchpad-foundations/+bug/672004>01:10
ubot5Launchpad bug 672004 in Launchpad Foundations "launchpad should be an openid relying party (affected: 1, heat: 6)" [Undecided,New]01:10
lifelessglyph: https://bugs.launchpad.net/launchpad-foundations/+bug/21094301:21
ubot5Launchpad bug 210943 in Launchpad Foundations "be an openid consumer (affected: 32, heat: 221)" [Low,Triaged]01:21
lifelessglyph: its on the first page of a search for openid in launchpad01:21
lifelessglyph: I'm sorry you spent so long looking01:21
glyphlifeless: not for me it isn't01:23
glyph"No results for search openid"01:23
glyphhttp://bit.ly/9LDsKk01:24
lifelesshttps://bugs.launchpad.net/launchpad-project/+bugs?field.searchtext=openid01:24
glyphoh, I already found this bug01:24
glyphah01:26
glyphnot launchpad itself01:26
glyphor launchpad foundations01:26
glyphbut launchpad project :)01:26
lifelesswe use launchpad badly01:26
lifelesssorry :(01:26
glyph(ok sorry for talking about launchpad so much in #bzr, I will go back to talking about bzr in here and join #launchpad if I want to talk about launchpad)01:26
lifeless:)01:26
glyphso, regarding qbzr01:32
glyphthere are a couple of places where it hard codes "Courier New, Courier"01:32
glyphand you can just edit it01:32
glyphand https://bugs.launchpad.net/qbzr/+bug/619301 is a bug about fonts, albeit maybe there should be more bugs01:34
ubot5Launchpad bug 619301 in QBzr "Commit dialog: Font should be choosable (affected: 3, heat: 15)" [Undecided,New]01:34
luke-jr_Can I reconstruct a Subversion repository from a bzr-svn branch of its root? ☺01:41
jelmerluke-jr_: No, as the zeroth revision in svn is immutable.01:49
glyphjelmer: Can't you rebase onto an empty trunk?01:58
glyphoh, wait, maybe not.01:58
glyphluke-jr_: Why bother, though?  If you are in the happy situation of having lost your SVN repository but still having a bzr backup, sounds like it's time to just switch to bzr :)01:59
luke-jr_jelmer: svnadmin can load over it ☹01:59
luke-jr_glyph: bzr doesn't work nicely with subtrees01:59
luke-jr_glyph: I'd want to at least import it back to Subversion, then branch from the trunk02:00
jelmerluke-jr_: I think you might be able to do a push if you use svnadmin to change the uuid to match the original repo first, and get rid of your bzr-svn cache for that repo02:00
luke-jr_hmm02:00
luke-jr_any idea how to find the UUID? ☺02:00
jelmerit's part of the bzr revision id02:00
luke-jr_hmm, does seem to be working02:03
luke-jr_any idea if this is lossless? :P02:03
luke-jr_or at least keep compatibility with the real original repo, in case it returns someday?02:03
jelmerluke-jr_: yes, this would be lossless in terms of what bzr supports (otherwise bzr-svn would refuse to push)02:03
jelmerso svn:externals and other custom properties would be lost but svn:executable will be kept02:04
luke-jr_i c02:04
glyphjelmer: I mentioned this yesterday but just got around to filing a bug on it: <https://bugs.launchpad.net/bzr-svn/+bug/672016>02:04
luke-jr_so only lossless from Bazaar's limited view02:04
ubot5Launchpad bug 672016 in Bazaar Subversion Plugin "'bzr branches' is pathologically slow with an svn+ssh URL (affected: 1, heat: 6)" [Undecided,New]02:04
glyphbut my main purpose is that I am trying to write a little shell script that synchronizes a whole repository, including all of its branches.02:05
glyphI'd like it to work with a bzr repo or an svn repo.02:05
glyph'svn ls' isn't quite right if you've got things which aren't branches in /branches, so it would be nice if bzr branches worked right.02:05
glyphis there a different suggested method for doing this?02:05
jelmerglyph: hmm02:08
* jelmer tries locally02:09
jelmerglyph: it looks like this is an issue with the way the branches command works02:16
jelmerit just find all possible places with a control directory and then filters out the ones that have branches02:17
jelmerin svn, every directory is a possible control directory02:17
glyphjelmer: While it's theoretically possible to have a branch within a branch, it seems like you'd be pretty hosed if you tried that02:20
jelmerglyph: it's perfectly possible in bzr02:20
glyphreally?02:20
jelmerwell, the branch inside the other branch wouldn't be versioned as such, but it can exist.02:20
jelmer(ie the container branch wouldn't know about it)02:21
glyphright02:21
glyphWell, certainly this is up to you, but personally I think it would be fair to say that anything which has the metadata to suggest that it's a branch is the end of the line for searching for more branches :)02:21
glyphand you could possibly have some configuration to disagree with that, for pathological repositories02:22
jelmerglyph: it's not up to me :-)02:22
glypharen't you mr. bzr-svn?02:22
jelmerglyph: I guess :-) But bzr-svn doesn't get into the picture here except to answer the question "does this control directory have a branch attached to it?"02:23
jelmerso there's no way I can make it scale from within bzr-svn, bzr core has to be changed.02:23
glyphjelmer: Doesn't bzr-svn also get asked "is this a control directory?"02:24
jelmerglyph: Yes, but control directories can exist without branches.02:25
glyphjelmer: It should be possible to at least look at the directory and say 'no' if it was copied from somewhere else (i.e. probably a branch)02:26
glyphat any rate this is implementation, all I want is for 'bzr branches' to be super fast, just make it happen, etc ;-)02:26
jelmerglyph: I don't think copies are a good indication of whether something is probably or not probably a branch. Also, finding out will have a performance impact too.02:30
jelmerI'd like to fix this properly, by having bzr ask bzr-svn for the list of branches in a repository. I'm just not sure yet what the proper API for that is.02:30
glyphjelmer: My understanding is that SVN's revision calculus makes it formally impossible to determine the list of branches in the repository.02:33
glyphAll you can do is look to see if a directory was copied from 'trunk' or something that looks like it.  Is that wrong?02:33
jelmerglyph: yes, but bzr-svn has a mechanism for determining what is a branch and what isn't.02:34
jelmerglyph: that's what e.g. "bzr svn-import" uses to determine what branches to import.02:34
glyphjelmer: oh.  I always assumed that _was_ the mechanism.  What's the actual rule?02:36
jelmerglyph: it uses heuristics to find out what repository layout a svn repository has and then uses that layout, which is usually path-based.02:37
spivmgz: http://washort.twistedmatrix.com/2010/11/unicode-in-python-and-how-to-prevent-it.html07:02
=== oubiwann is now known as oubiwann-away
=== oubiwann-away is now known as oubiwann
loldrup...how do I tell which revision my branch is currently at? Neither 'status', 'log' or 'info' tells18:03
lifelessbzr revno18:03
lifelessor bzr log -r -118:03
loldrupthanks :)18:03
gthorslundloldrup: if you've done a bzr update -r<oldrevno> then you'll need bzr version-info to get it18:24
lifelessgthorslund: bzr revno --tree18:31
gthorslundlifeless: aha! I've missed that one. thx18:37
=== luks_ is now known as luks
glyphso, I'm getting on a plane in 15 minutes20:48
lifeless\o/20:48
glyphcan anyone figure out why svn+ssh://svn.twistedmatrix.com/svn/Twisted/branches/modules-so-2871 thinks that it needs to branch 14341 revisions, in a shared repository with an up to date copy of svn+ssh://svn.twistedmatrix.com/svn/Twisted/trunk20:49
glyphin less than that amount of time?20:49
glyph(svn+http should work as an anonymous mirror of the same thing)20:50
lifelesswell20:50
lifelessjelmer: probably can, but I'd expect tha tmost of the history is identical and the progress counter should do a huge jump and be done quickly.20:50
glyphwell, no20:51
glyphI know what it looks like when it does that20:51
lifelessok20:51
glyphand it's definitely not doing that now20:51
lifelessdon't stop the operation20:51
glyph  4519kB    15kB/s | copying revision 1126/1434120:51
glyphoh20:51
glyphoh I'm a liar20:51
lifelessbut what does 'bzr missing svn+ssh://svn.twistedmatrix.com/svn/Twisted/branches/modules-so-2871 say, run from your trunk mirror20:51
glyphI have an up to date copy of http://svn.twistedmatrix.com/bzr/Twisted/trunk20:52
glyphwho knows what the differences are there20:52
lifelessif its the same bzr-svn version, it should be the same-same.20:52
lifelessOTOH perhaps its building its bzr-svn cache first, if this is the first direct to svn operation you've done.20:52
lifelessthat can take a little time.20:52
mwhudsonjam: oops, i wish i hadn't subscribed to ~jameinel/launchpad/lp-service :-)20:54
glyphlifeless: nope, not that either.  I just made sure that I did have an up-to-date trunk; branching trunk took no time at all20:55
glyphthere's something wonky with that branch20:55
glyphI'll have to repro this when I have better network connectivity and more time, I guess.20:55
glyphMaybe I'll get lucky and the plane will have wifi ;)20:55
lifelessgood luck.20:56
glyphlifeless: thanks for the attempt at help, anyway :)20:57
lifeless:P20:57
mwhudsonglyph: if the branch was branched at the wrong level in svn, it can behave like that20:58
glyphmwhudson: it wasn't; it's right under /branches, it's a copy of trunk20:58
glyphmwhudson: I mean, you have the appropriate credentials, go ahead and inspect it :)20:58
mwhudsonthat's unlikely if combinator is being used20:58
mwhudsonglyph: well, i'm trying to reproduce at leat21:01
mwhudson*least21:01
mwhudsonglyph: ok yeah, i see the same21:02
mwhudsonoh hang on, different versions of the svn mapping in effect?21:06
mwhudsonglyph: it seems lp:twisted contains a mix of the v3 and v4 bzr <-> svn revid mappings21:09
mwhudsonand when you import from svn, you just get the v4 mappings21:12
spivmwhudson: a mix?  That seems odd.21:18
spivAren't they unrelated ancestries from bzr's point of view?21:19
mwhudsonspiv: it does a bit doesn't it?21:20
mwhudsonand it seems that bzr-svn is somehow smart enough to know that21:26
mwhudsonbzr log --show-ids svn+ssh://svn.twistedmatrix.com/svn/Twisted/trunk -r 1463921:26
mwhudsonshould give a v3 revid21:26
mwhudsonbut not smart enough to know that svn+ssh://svn.twistedmatrix.com/svn/Twisted/branches/modules-so-2871 -r 14639 should too21:26
mwhudson... no21:27
mwhudsonoh right21:28
mwhudsonyes21:28
mwhudsoni guess this is a bzr-svn bug21:29
=== nailuj24 is now known as yailuj24
spivmwhudson: how does bzr-svn know that 14639 should be svn-v3?21:37
mwhudsonspiv: magic jelmer sauce?21:37
mwhudsonspiv: actually, i guess that because there are revisions in tm.com svn that are actual bzr commits, this somehow forces all older commits to be of a known mapping21:38
spivhmm!21:46
* mwhudson wants to know what bzr log --show-ids svn+ssh://svn.twistedmatrix.com/svn/Twisted/branches/modules-so-2871 -r 14775 says, but it's taking freaking ages21:49
mwhudsonah21:49
mwhudsonbzr: ERROR: Requested revision: '14775' does not exist in branch: svn+ssh://svn.twistedmatrix.com/svn/Twisted/branches/modules-so-287121:49
mwhudsoni think maybe what's happening is that the revision that 'forces' the trunk into v3 mapping isn't present in modules-so-287121:50
spivmwhudson: ah, that seems plausible21:59
mwhudsoni don't know what you could do about that22:00
spivnothing pleasant, I suppose...22:02
spivWell, Twisted could land branches faster? ;)22:03
mwhudsonyeah, that would definitely help22:03
peitschiemornin all :)22:26
mgzthanks for that link spiv.23:07
spivmgz: you're welcome!  I haven't actually tried ascii_with_complaints yet myself... I suspect the noise will be a bit overwhelming.23:39
mgzI think part of the pain is there's no decent way to specify interfaces.23:43
spivAs in “the first arg of this function takes unicode not bytes”?23:44
mgzevery time you write a function or method that takes some kind of string, you don't want to write a type check at the top.23:44
mgzas generally that should have already been handled somewhere else anyway.23:45
spivYeah.23:45
spivWell, it was handled somewhere else...23:45
spivThat somewhere else being ~1970, where only ASCII mattered ;)23:45
NET||abusehi folks, i'm a bit confused, i have a branch on my local machine of a repo on my server, i also hhave a branch on the server for deployment, but i also made a sql backup to the server branch and checked that in on the server, but i can't get the updated sql back down on my local machin.e23:49
NET||abusehmm, never mind, backupappeared after i pushed tothe server...??? werid23:51

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