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

dOxxxlifeless: ah, my bad00:21
pooliehi dOxxx00:22
dOxxxhey poolie00:22
dOxxxI'm kinda stoked the merge tool gui stuff is finally getting into a release :)00:22
pooliegreat00:22
pooliei have to confess i hadn't seen that00:23
pooliedo you mean the upcoming bzr 2.4?00:23
dOxxxyeah, the corresponding gui changes in qbzr were merged in recently00:23
dOxxxso they should be in this next beta00:23
dOxxxif you're packaging trunk of qbzr, that is00:24
dOxxx~seen vila00:30
dOxxxpoo, no chanbot00:30
poolieprobably just a bit late for him00:32
pooliewell, 2:30am in france, so pretty late00:32
dOxxxyeah, I sent him an email00:34
=== medberry is now known as med_out
chrisvjI have a checkout of my code on launchpad. When I try to commit to it, I get http://pastebin.com/mNfaDG5X  can someone help me?03:53
spivchrisvj: possibly https://bugs.launchpad.net/bzr/+bug/571064 ?04:02
ubot5Ubuntu bug 571064 in Bazaar "TooManyConcurrentRequests when trying to commit to a network repo with no network connection" [High,Confirmed]04:02
chrisvjspiv, im running windows, not ubuntu04:03
chrisvjafk04:03
spivSure, I don't think that rules out it having essentially the same cause.04:04
spivThat said, I'm far from sure it's the same bug (but not because of Ubuntu vs. Windows).04:04
spivWhat does 'bzr info' say?  IIRC this might also be due URL aliasing or something like that.04:05
chrisvjback04:06
spivUgh, still jet lagged a bit.04:06
* spiv makes a coffee04:06
chrisvjhttp://pastebin.com/TZzf0Pug04:07
jimisI work on a lightweight checkout of a branch, and I have some uncommitted change that I want to find next time I work on this. How can I *switch* to another branch, and switch back later to continue my uncommitted changes?04:09
chrisvjspiv, any breakthroughs?04:11
dmuirI know this isn't really the place to ask, but I tried over in the mercurial channel, and nobody's responding... anyway, the question is, does hg have a direct equivalent of bzr merge?04:34
spivjimis: to switch, just use 'bzr switch'04:34
spivjimis: you may want to 'bzr shelve' your uncommitted changes first04:34
spivdmuir: I'm hardly an hg expert, but I would've guessed "hg merge".04:37
dmuirspiv: that's what I would have thought too, but it only works if a pull results in two heads. The problem I have is that pull is doing a fast-forward, so there's only one head.04:38
spivdmuir: huh.  I wouldn't have expected that based on my quick reading of the man page.  Unfortunately I have no other guesses for you!04:40
spivdmuir: I suppose you could try installing bzr-hg and using 'bzr merge' ;)04:40
dmuirspiv: haha, yeah, was thinking of doing that too04:41
jimisspiv: thanks, shelve worked fine04:48
jimisdamn, bzr 2.4 is *many times* faster than 2.3.3 on some operations05:40
jimisI just built a custom python in my homedir to be able to use it, because 2.3.3 took almost 9min for a "bzr switch"05:41
jimisand 2.4 is indeed much faster05:41
spivjimis: :)05:42
vilajimis: dropping compatibility with python-2.4/2.5 was a conscious decision based on the assumption that, for RH, getting a python2.5/2.6 was easy enough to not be a blocker05:42
jimisvila: easy enough only if you have admin :-)05:43
vilajimis: so the overall plan is to keep 2.3 compatible with 2.4/2.5 but any info about making it easy (or easier) to get python2.6/2.7 (or even .rpm packages) will be very welcome05:44
jimisvila: if you don't have admin privs you have to build python from source05:46
jimisvila: tedious, especially since that is the case you will be missing some -dev packages...05:46
jimisfor example, in my case bzip2-dev was missing and I just noticed that python was built without it, so bzr is misbehaving :-)05:47
vilajimis: that's a trade-off, we have limited resources too.05:47
vilajimis: file a bug !05:47
jimisvila: for what? bz2 is necessary isn't it? So it's my fault if I built python without it?05:48
vilajimis: we're generally pretty good at tracking hard and soft dependencies so that such issues are noticed and fixed05:48
vilajimis: it could be a soft dependency and gives a nice error message telling you what is missing05:49
jimisI see. So it's probably a bug since it setup.py didn't warn me that python didn't support bz205:51
vilajimis: could be there, could be in bzr itself, but definitely a bug, yes: http://pad.lv/fb/bzr ftw :)05:53
vilajimis: err, wait a sec, you used setup.py ?05:53
jimisyeap05:53
jimispython2.7 setup.py --prefix=$HOME/dist install05:54
vilajimis: ... as opposed to a bzr .rpm (I know almost nothing about how rpm works, so speak slowly ;)05:54
vilahuh ? You have a python-2.7 ??05:54
jimisvila: rpms are only for administrators05:54
vilajimis: you can run from source05:55
jimisvila: I have compiled python2.7 in my home dir, that's why I explicitly use it with setup.py05:55
vilagreat ! So you can use 2.4 on RH !05:55
jimisI'm having problems, that's what I'm saying :-p05:55
jimisbz2 module for example05:56
vilajimis: ... there should a place on the wiki to capture your experiments and bugs...05:56
jimis:-)05:56
vilahttp://wiki.bazaar.canonical.com/DistroDownloads#CentOS/RHEL05:56
vilajimis: you should be able to edit this page, ask for help here if you can't05:57
jimisvila: later maybe, I'll try to get it working first :-)05:59
vilajimis: if I read that right, it indeed requires admin privileges so describing what a *regular* user can do will be useful05:59
vilajimis: sure, thanks for that !05:59
jimisbut it's getting way too complex06:00
jimisI should compile custom bzip2 in $HOME, recompile python using that one, and *then* install bzr2.4 using that python06:00
vilaIs there any rpm packager around that could help ?06:03
spivvila: it's not an rpm packaging issue06:03
spivvila: jimis doesn't have the permissions to install rpms on that system06:03
vilaspiv: I get that. But building packages and being able to use them as a regular user is probably better understood by packagers nevertheless06:04
spivjimis: note that as vila says you don't need to install bzr, you can just do 'make build' and run it straight from its source dir just fine06:04
vilajimis: how is bzr failing with regard to bzip2 ?06:05
vilajimis: for a specific operation requiring bzip2 or for an unrelated operation ?06:05
spivWell, there is 'rpm install --prefix=/home/…' I suppose.  I imagine it's a bit fragile though06:06
jimisvila: for a "switch -b newbranch"06:06
vilajimis: right, so this shouldn't require bzip2, definitely a bzr bug06:08
vilajimis: did you get a traceback or something ?06:08
vilajimis: we just froze 2.4b5, but there is still  time to fix such issues before 2.4.006:09
jimisbzr switch -b df2-vecs06:09
jimisbzr: ERROR: No module named bz206:09
jimisYou may need to install this Python library separately.06:09
jimisvila: In how many points is bzr2.4 incompatible with python2.4? Will you accept patches that fix that?06:10
jimisIf they are a few maybe it's the easiest path :-p06:11
vilajimis: using 'with' to start with plans to use b'' and things like that06:12
vilajimis: I don't know if we have an official policy about such patches, but the tendency is to lower the burden of maintaining this compatibility with py2.4 :-}06:14
vilajimis: so making it easier to use py2.6/2.7 would be preferred ;)06:14
jimisah I see now06:14
spivThere was an extended discussion on the mailing list before we dropped 2.4 support06:14
jimisI thought it just happened and compatibility was lost :-)06:15
jimisok, I'll check it06:15
spivIt's unlikely we'd revert that; bzr 2.3 is still there for folks that are stuck with Python 2.406:15
vilajimis: but file a bug about bzip2 so we support it as a soft depedency06:15
jimisanyway, I agree that python2.4 misses lots of niceties06:15
jimisvila: ok06:16
spivYes, it's a bit surprising that bz2 is needed by 'bzr switch', I think we only use it for bundles, export to .tar.bz2, and in the smart server protocol.06:17
spivWe could probably usefully add an import tariff test about that...06:18
* vila nods @ spiv06:24
vilahmm, no poolie around ? EODed ?06:25
vilaspiv: ? ^06:27
spivHe was around this morning, but I wouldn't rule out a surprise jetlag-induced nap.06:27
vilafair enough, let him nap in peace :D06:27
spivOr he might just be away from IRC and thus actually getting some work done ;)06:28
vilatada !06:32
fullermdPhew!  Now we don't have to worry about work getting done   :p06:32
dmuirspiv: hg merge was the right command, but it only works when you're using named branches06:32
mgz<jimis> vila: In how many points is bzr2.4 incompatible with python2.4? Will you accept patches that fix that? <- I'd have kept it compatible had that been an option07:23
mgzthere wasn't really time in 2.4 to do anything but break things without using new features so I didn't really see the point, but most people on this list wanted to drop compat07:24
mgzand semi-related, I wish bzr would deprecate bz2 usage, only the smart server wants it and it's not a great cpu/bandwidth tradeoff in my opinion, just staying with zlib would be better07:25
pooliehi mgz07:26
mgzmorning poolie!07:27
poolieit is pretty expensive of cpu for what it gains07:27
lifelesshi poolie07:27
lifelesshappy friday07:27
pooliehi there07:30
pooliemgz, well, we have used some new features07:30
pooliethe big payoff will be if we can get to 3.0 support07:30
mgzbut that's not happening for 2.407:30
poolieit would probably be feasible to re-add python 2.4 support now that it's branched off07:31
pooliethat's ture07:31
poolie*true07:31
mgzand the cool 2.4 features would be cool regardless of python version07:31
mgzon the other hand, there aren't many jimises compared to people on the list who didn't want to have to think about backwards compatibility any more.07:32
vilamgz: yup, that was the trade-off, dropping py2.4 support is a significant step towards 3.007:40
mgzI have big doubts about that vila.07:46
mgzand trying to support py3k will make us all beg for the days of just having to support 2.4 to 2.707:47
spivOk, one mp submitted, and mysterious test failures irrelevant to the stacking fetch bug I'm working on diagnosed and worked-around.  A good time to EOD and EOW I think.07:49
=== mrevell-lunch is now known as mrevell
vilamgz: well, there have been feedback that maintaining a single code for 2.4 to 3.0 was... ouch, hairy08:10
vilamgz: but I don't have first hand experience with that08:10
mgzas far as I can see, the hairy stays even with 2.4 and 2.5 dropped08:17
mgzmost of the hard problems I've run into have been abstractions and interfaces shifting, not spelling changes08:18
=== hunger_ is now known as hunger
vilamgz: but some hairy can't go without dropping (that's my understanding and belief)08:27
vilamgz: overall, I expect *more* progress by dropping than by keeping (imbw)08:28
mgzthat's what I have doubts over.08:28
mgzeg.08:28
mgzpython 3 doesn't support u"" literals08:28
mgzso, the fact python 2.6 adds b"" literals helps not at all, as you still need to run a source-level rewrite to support both versions08:29
mgzpython 2.6 doesn't solve any of the actual problems with string types you'll run into trying to support python 3, even in the standard library let alone your own code08:30
poolieRiddell, hi?08:37
Riddellgood morning poolie08:38
poolieyeah, the py3 stuff may be just too hard08:38
pooliehi there, how are you?08:38
RiddellI'm all good thanks08:38
pooliecool08:41
pooliei was thinking this morning it would be good to have you do some more stuff that specifically connects bzr to ubuntu08:42
poolieand vice versa08:42
poolieone idea i had towards this could be if you were to review the new packaging guide that barry and co are working on08:42
Riddellsure, I can do that08:42
pooliethat would be cool08:44
pooliewe could get either some improvements to the docs08:44
poolieor, perhaps identify some things that are clunky to describe and could be reasonably easily technically improved08:44
pooliejam, hi?09:39
jamhi poolie09:39
pooliehey there09:39
jamjust away for a bit, had a "dutch integration interview"09:39
poolie!09:39
poolieaka "Let's go Dutch"09:39
jamApparently if you live here longer than 3 years you are required to learn Dutch, etc.09:39
pooliegood luck09:39
pooliecould you see if you could help doko with a workaround ofr  https://launchpad.net/bugs/79791509:39
ubot5Ubuntu bug 797915 in Launchpad itself "large bzr-svn imports failing" [Critical,In progress]09:40
jamsure, looking at it now09:41
pooliethanks very much09:45
pooliedoko's in #launchpad09:45
pooliegood night all10:34
AuroraBorealishello, i'm still having problems with bzr explorer getting hung up on 'could not acquire lock"10:51
vilajam: ping12:56
=== med_out is now known as medberry2
lparryHi guys, I'm looking into a  method of versioning CAD files as part of a collaborative engineering project. Would Bazaar be able to cope?14:09
=== medberry2 is now known as medberry
=== beuno is now known as beuno-lunch
=== beuno-lunch is now known as beuno
=== yofel_ is now known as yofel
=== medberry is now known as med_out

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