/srv/irclogs.ubuntu.com/2009/05/26/#bzr.txt

GaryvdMHi igc00:03
igchi jelmer, GaryvdM00:04
* igc lunch03:31
LarstiQronny: create_branch_convenience returns the branch as a result08:53
ronnyLarstiQ: then something is weird, i got none, let me check again what i did break08:53
ronnyok, pdb sucks08:55
mwhudsonLarstiQ: i guess you're not here at uds?08:55
LarstiQmwhudson: correctly guessed.08:56
mwhudsonboo08:56
LarstiQmwhudson: I will be at EuroPython fwiw.08:56
LarstiQmwhudson: yeah :/08:56
mwhudsoni won't, but oh well08:56
LarstiQmwhudson: what would be the next intersection point?08:56
ronnyLarstiQ: ok , pretty much found the issue - pdb wont print bzr branches when typing them in, wraping str/repr around kinda fixes it08:57
* LarstiQ blinks at ronny 08:57
LarstiQronny: the print fine in ipython, I wonder what pdb is doing?08:57
mwhudsonLarstiQ: coming to lca? :)08:58
ronnyno idea, defered finding the issue08:58
LarstiQmwhudson: eh, I'll take it into consideration, will have to look for travel sponsorship I guess :)08:58
mwhudsonyeah, that's the problem08:58
* igc dinner08:58
LarstiQigc: eet smakelijk08:59
mwhudsoni guess there will be other bzr sprints08:59
ronnyLarstiQ: ok, pdb itself is pretty much broken, and nothing to easy fix08:59
LarstiQmwhudson: yeah09:01
LarstiQronny: does ipdb fare any better?09:01
ronnyLarstiQ: no idea, afair thats not in py.test09:03
LarstiQronny: something like --enter-pdb-on-error?09:05
ronnyyes09:05
LarstiQright, probably not then09:05
hsn_you guys are working on versioned properties aka editable commit messages?09:20
jelmerhsn_, I'm not aware of anybody actively working on it, but there are some vague plans for it09:47
mwhudsonjelmer: could mrevell and i get you to write a little paragraph on why bzr-get kernel imports don't work yet?09:53
mwhudson(for the launchpad blog)09:53
jelmermwhudson: sure09:56
mwhudsonjelmer: thanks09:56
mwhudsonjelmer: email it to me?09:56
=== Kissaki^0ff is now known as Kissaki
jelmerigc, hi09:59
jelmermwhudson, I hope evolution cooperates long enough for that to be possible :-)10:01
mwhudsonjelmer: heh10:01
mwhudsonjelmer: you can sms it to me if that doesn't work? :)10:01
igchi jelmer11:09
igchi mwhudson11:09
mwhudsonhi ig11:09
mwhudsonc11:09
jelmerigc: Thanks for the send review; I think I might've read more into your original review after seeing bzrlib.version_info11:10
igcjelmer: yeah - sorry for the multiple round trips11:11
igcjelmer: btw, is there an easy way for me to benchmark your bencode revision stuff?11:12
igcI could fastimport OOo again but I was wondering if there was a quicker script for just converting the revisions?11:12
jelmerigc, No worries11:15
lifelessigc: to microbenchmark the revisions, use the serializer interface directly11:21
mwhudsonbeuno:11:22
awilkinsjelmer: Would a fastimport that produces a bzr-svn compatible branch be feasible11:31
igchi lifeless, sure11:31
awilkinsjelmer: The bzr-svn behaviour of holding a whole revision in memory requires some heavy iron for some repositories11:31
pooliehello11:32
igcawilkins: in theory, yes11:32
igcit's doesn't yet though11:32
igcawilkins: I'm pretty sure the fast-import code is designed though so that the rev-ids could be bzr-svn compatible (if we added some way of enabling that)11:33
igchi poolie11:33
* igc bbl - time to get the kids to bed :-)11:33
jelmerawilkins, It shouldn't actually keep the contents of the revision in history11:34
=== mrevell is now known as mrevell-lunch
=== mrevell-lunch is now known as mrevell
igcnight all13:55
poolienight igc14:01
ronnyhi14:44
ronnyis there any simple way to get the workingtree of a branch in case them sharing the same path?14:44
jelmerthey share a container14:44
jelmerYou can use something like b.bzrdir.open_workingtree()14:44
ronnyjelmer: oh, intresting, that should do14:45
jelmerronny, it'll raise bzrlib.errors.NoWorkingTree if there's no working tree present14:45
ronnyjelmer: the vast differences in terms of separation betwen repo/branches/workdirs and the different sets of syncronisation are still making headaches for me14:47
ronnyi end up with the issue of lacking a coherent way to create light/heavy checkouts from local/remote locations for all of the vcs's14:50
awilkinsronny: If it's any help, I'm using the following ; a .repo folder with the repository in, a `list` file, and then I can synch to the svn stuff by doing  ; for B in `cat list` ; bzr pull -d $B/trunk svn+http://server.com/svn/$B/trunk ; done15:14
awilkinsronny: Then I branch each trunk so it has a sibling, local15:15
awilkinsAnd take lightweight checkouts of those local branches15:15
ronnyawilkins: what do you think the context is?15:15
awilkinsContext?15:15
awilkinsronny: Your comment above at 145015:16
ronnyawilkins: but im not talking about bzr/bzr-svn15:17
awilkinsronny: Fair enough15:17
mrevellhey jelmer, were you able to look at that paragraph for the Launchpad blog post?15:29
beunomwhudson, ping15:30
jelmermrevell, Sorry, I forgot about it. Michael just reminded me about it and I'm working on it now15:30
mrevellah thanks :)15:30
bialixjelmer: hi15:36
jelmerHi bialix15:36
bialixmay I ask about some strange bzr-svn behavior?15:36
jelmerbialix: sure, np15:36
bialixI've tried to catch you yesterday15:37
bialixI've branched svn repo from http://projects.serverzen.com/pm/p/cluemapper/browser/ClueBzrServer/trunk15:37
bialixI can see the log of the branch15:37
bialixbut when I'm trying to see diff I've got: NoSuchRevision: KnitPackRepository('file:///C:/Temp/ClueBzrServer/trunk/.bzr/repository/') has no revision rocky@serverzen.com-20090226184017-m3cemyrz487uxhg315:37
bialixthis svn repo contains bzr branches inside15:37
bialixor used bzr-svn to interact with15:38
bialixI see many ghost merges15:38
bialixdoes I branch trunk in wrong way?15:38
bialixI'm using bzr 1.14 (for Windows) with bzr-svn 0.5.415:39
bialixjelmer: ^15:39
jelmerbialix, That URL doesn't actually work for me, are you sure it contains a Subversion repository?15:40
bialixI've used this command: bzr get https://dev.serverzen.com/svn/cluemapper/ClueBzrServer/trunk15:41
bialixthe first URL is Trac site URL15:41
jelmerbialix, I think this may be a bug that's fixed in 0.6.115:43
bialixentire svn repo root at https://dev.serverzen.com/svn/cluemapper/15:43
jelmerbialix, At least, branching that URL works fine here15:43
bialixbranching is OK15:44
bialixtry to run bzr diff -c815:44
bialixin your copy15:44
bialixof that branch15:44
bialixdoes it work for you?15:44
jelmerbialix, that breaks here as well and is a bug in Bazaar dealing with diffing ghosts15:44
jelmerthere's an open bug report about it I think15:45
LarstiQbialix: does branching the bzr branch work?15:45
LarstiQbialix: and or running `bzr reconcile`?15:45
bialixbut... it seems this ghost revisions were created with bzr and then pushed back to svn repo15:45
bialixLarstiQ: hi15:45
LarstiQbialix: if they bork, I think I know which bug it is15:46
LarstiQa rather elusive one :/15:46
bialixLarstiQ: what do you mean by: "does branching the bzr branch work?"15:46
LarstiQbialix: 'bzr branch svn:/// foo; bzr branch foo test'15:46
bialixyes, this works15:46
LarstiQbah :)15:46
* LarstiQ hoped to have found a way to reproduce a bug of his15:47
bialixtry yourself. there is only 15 revisions15:47
jelmerLarstiQ, it's a known bug, where bzr diff tries to get the file mtime of a ghost text15:47
jelmerLarstiQ, different from the one you and Ted Gould have been hitting15:47
bialixjelmer: but why there is ghost?15:47
LarstiQjelmer: k15:47
bialixjelmer: run bzr log --show-ids15:49
jelmerbialix, There are ghosts because there have been pushes into svn with just the mainline, not the merged revisions.15:49
bialixit looks like these revisions have pushed using bzr-svn15:50
jelmerbialix, Sure15:50
poolielifeless: are you home now?15:50
bialixperhaps I don;t understand how bzr-svn push works15:51
jelmerbialix: So, if you use "bzr push" from bzr-svn and have "push_merged_revisions = False" it only pushes the revisions on the mainline into the branch you're pushing into15:54
bialixjelmer: branching entire project with command: bzr get https://dev.serverzen.com/svn/cluemapper/ClueBzrServer15:54
jelmerbialix, so the right hand side revisions end up as ghosts if you later try to get them out again15:54
bialixthis one does not have ghosts15:54
jelmerbialix: This is all expected behaviour15:54
jelmerbialix, except that Bazaar doesn't handle the ghost case very well in diff15:54
jelmerbut that would also happen in other situations in which we end up with ghosts15:54
jelmerit's nothing to do with bzr-svn15:55
bialixjelmer: I think there is something strange15:55
bialixthese revisions ARE in the svn repo15:55
bialixI've just get entire project with trunk-branches-tags and now I don't have this error15:56
bialixit looks for me that when I get only trunk bzr-svn does not try to get corresponding merged revisions from branches/15:56
bialixlooks like bzr-svn round-trip breaks somewhere in the middle15:57
jelmerbialix, in that case there's two bugs here, one in bzr and one in bzr-svn15:57
jelmerbzr-svn missing revisions during fetch15:58
bialixmaybe15:58
bialixyou're the master of bzr-svn, not me15:58
bialixI hope you understand what's going on better than me15:59
bialixmaybe it's another use case for colocated branches16:00
jelmerHow are colocated branches related to this?16:01
bialixpull all related branches from svn repo at once, maybe16:03
bialixGaryvdM around?16:04
GaryvdMHi bialix16:04
bialixhi Gary16:04
bialixI found that qlog does not show ghost merged revisions in revision properties. Is it right?16:04
GaryvdMDone the log -> diff changes. Just doing some testing before I push.16:05
jelmerbialix, pull is already supposed to pull in all merged revisions16:05
GaryvdMbialix: I have never found a way to create a branch with ghosts, so I've never been able to test how it behaves.16:06
bialixGaryvdM: try this: bzr get https://dev.serverzen.com/svn/cluemapper/ClueBzrServer/trunk16:07
bialixand then compare output of bzr log --show-ids and qlog16:07
* GaryvdM installs bzr-svn16:07
bialixjelmer: so it's a bug in bzr-svn then16:07
awilkinsbialix: Is cluemapper a SNOMED-CT product?16:08
bialixGaryvdM: I can push to lp16:08
bialixawilkins: I don't know, saw the link from Gary yesterday16:08
GaryvdMdon't worry - allready branching.16:08
bialixhttp://projects.serverzen.com/pm/p/cluemapper16:09
bialixawilkins: ^16:09
* awilkins looks16:09
awilkinsOk then, no it isn't16:09
awilkinsSorry, we have this thing called CLUE16:09
awilkinsAnd mapping is a logical thing to do with the stuff it manages16:10
jelmerbialix, trying to verify that now16:10
* bialix waves16:31
jelmerGaryvdM, bzr revert -rtag:bzr-svn-0.5.416:34
mwhudsonjames_w: jml is looking for you16:40
james_wmwhudson: room 1216:40
mwhudsonjml has now run away, damn him16:40
james_wdamn him indeed16:40
poolieestella damm17:14
GaryvdMpygi: http://sourceforge.net/project/showfiles.php?group_id=121075&package_id=13225517:14
LarstiQpoolie: ah, found the barcelona beers? :)17:17
pygipoolie: the icons are working :p17:18
hsn_what command is used for setting parent branch?17:22
pooliepygi: yay17:24
LarstiQhsn_: `bzr pull --remember parent/url`17:32
hsn_LarstiQ: thanks17:35
trondnHi folks :)18:09
trondnis there any speed improvements planned for the "bzr log -v" command??? currently it takes 7 minutes on a branch from lp:drizzle on my 2.4ghz quad core box (with 4gb ram)...18:11
poolietrondn: it should be much faster in the development-rich-root format18:13
trondnpoolie: can I convert my repository to this format?18:13
trondnthe reason I ask is because I need it for OpenGrok (see http://src.opensolaris.org/source if you want to see it in action)... I need to get the complete list of files in each revision along with the commit message...18:14
poolietrondn: yes, but there are two caveats: this format is still in beta for a 2.0 release later, so there will be bugs18:15
poolieand the conversion takes some time18:15
poolielike hours, for a large branch18:15
pooliealso, there are some log improvements coming up soon18:15
poolieeven for other formats, so just using 1.15 may help18:15
trondnpoolie: I'm running 1.15 already :)18:15
trondngreat to know!18:16
trondnRight now this is the biggest problem I have with bazaar :-)18:16
poolietrondn: so this is just a readonly mirror?18:17
pooliethen i'd definitely recommend upgrading18:17
poolieyou can still pull from lp:maria18:17
pooliei mean lp:drizzle18:17
poolieand we'd like to hear your feedback18:17
trondnpoolie: Yeah, the browsing will be from a readonly mirror :-)18:17
trondnpoolie: I am currently using it (opengrok) to index mercurial repositories with over 76 gb disk footprint on src.opensolaris.org. I would like to have the same search options on the source I am working on from launchpad (btw. I love the complete integration of everything on lp!! nice work :) )18:19
pooliethanks!18:20
schmichaelhow do i get diff (preferably colorized somehow) output in vim when i'm writing a commit message?18:58
fullermdWell, the colorizing would be vim's turf.18:58
fullermdBut try ci --show-diff18:59
schmichaelfullermd: cool thanks, anyway to make --show-diff the default behavior of ci?18:59
fullermdI have it aliased.19:00
schmichaelseems setting filetype=diff or filetype=<lang> in vim pretties it up a bit, wonder how to make that automatic19:00
fullermdau BufEnter bzr_log.* <whatever>19:01
schmichaelfullermd: i owe you a beer ;-)19:01
schmichaelthanks19:02
* fullermd has his uses 8-}19:02
rindolfHi all.19:34
rindolfWhat is the equivalent of svn export for http://bzr.savannah.gnu.org/r/gnash/trunk ?19:34
rindolfI want a snapshot of the sources. Don't care about the history.19:34
schmichaelrindolf: bzr export dest http://bzr.savannah.gnu.org/r/gnash/trunk19:37
rindolfschmichael: thanks!19:38
=== BasicPRO is now known as BasicOSX
rindolfschmichael: is bzr export like that faster than doing bzr branch?20:05
LarstiQrindolf: I haven't looked at it, but I can imagine a worst case in which it's slower than bzr branch20:08
LarstiQrindolf: so, I wouldn't place faith in statements about it's speed without backing it up with some evidence20:08
rindolfLarstiQ: ah.20:09
LarstiQrindolf: exporting a revision tree is not a usecase the storage is optimized for20:10
schmichaelrindolf: yeah, bzr repos are compressed so they might actually be signficantly smaller than the working copy if the project has little history and easily compressed files (i think ;) )20:10
LarstiQrindolf: test it I say! :)20:10
rindolfLarstiQ: I'm trying to download a gnash snapshot.20:11
rindolfI gave up on bzr branch because it took so long.20:11
rindolfBut bzr export downloaded 167408KB so far20:11
schmichaeldamn!20:12
emmajanebeuno, ping!20:25
emmajanebeuno, http://wiki.services.openoffice.org/wiki/Renaissance/Design_Proposals_for_%E2%80%9CAccessing_Functionality%E2%80%9D <--- usability testing for OOo20:25
=== jelmer is now known as Guest85613
=== Guest85613 is now known as jelmer
=== jelmer is now known as Guest78963
=== Guest78963 is now known as jelmer
Peng_mwhudson or beuno: ping22:09
mwhudsonPeng_: hi, about to go to sleep; send email22:09
Peng_mwhudson: D'oh. One quick question? :D22:10
Peng_mwhudson: Anyway, good night. :)22:10
mwhudsonPeng_: ok22:10
Peng_mwhudson: The "bzr serve" registry landed in bzr.dev. Do you want to keep the code to override cmd_serve for a few months?22:11
Peng_Or can we break compatibility now?22:11
mwhudsonhmm22:12
mwhudsondon't konw22:12
mwhudsonask beuno :)22:12
* mwhudson zzzz22:12
Peng_mwhudson: Okay. :)22:13
lifelessPeng_: delete it; label the release as requiring a minimum bzr22:14
Peng_lifeless: Sure, but backwards compatibility is nice, and no extra effort.22:15
lifelessPeng_: you did ask :)22:15
LarstiQimo, I'd raise the minimum bzr version after there is another release of bzr22:17
Peng_lifeless: :P22:17
lifelessLarstiQ: sure, I have no strong opinion22:17
* LarstiQ nods22:18
LarstiQlifeless: my condolences btw22:19
lifelessLarstiQ: thanks22:20
Peng_Oh, that's right. My condolences as well, lifeless.22:28
lifelessPeng_: thanks22:35
cellofellowhow do I enable the bazaar nautilus integration? I have bzr-gtk installed.22:46
robeyhey guys... my coworker is getting an OOPS for any "bzr branch lp:(anything)"23:25
robeyand i do too... is launchpad down or something?23:26
Peng_robey: It's read-only for maintanence right now.23:26
robeyyeah the website says that, but even "branch" fails23:26
Peng_I guess the XML-RPC server didn't take it well.23:27
robeyi'm hoping there's something simple we're missing cuz this is his first impression of bzr after i've been promoting it for months, and he has the rage23:27
robeyit looks completely broken :(23:27
Peng_Launchpad looks completely broken, not bzr.23:27
robeyi doubt he cares about that distinction... oh well. :(  thanks23:28
cellofellowrobey: too bad for your friend. Have any local branches he can branch?23:28
dashso give him a non-launchpad url23:28
Peng_Looks like bazaar.lp is down as well.23:28
robeyit's something hosted on launchpad, and launchpad only seems to advertise the lp: names these days... i couldn't find any page that divulged the real url23:29
cellofellowrobey: but maybe you could use `bzr serve` and he branch from your copy.23:30
Peng_Like I said, bazaar.lp is down anyway.23:30
robeyi've never fetched that project23:30
cellofellowah23:30
robeynevermind, i think the damage is done. thanks for helping tho.23:31
Peng_Oh, good, lp: URLs work again. Though bzr+ssh://bazaar.lp.net doesn't.23:35
Peng_...Which makes sense if it's read-only, I guess...23:36
cellofellowtoo bad robey is gone23:36
Peng_robey's friend isn't very patient23:39
cellofellow:(23:39
=== jelmer is now known as Guest97317

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