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

enigma42Hm...I ran into a strange bzr-svn error.01:11
enigma42It's throwing out stack trace.01:11
enigma42bzr-svn 0.6.501:12
jelmerenigma42: please file a bug01:12
enigma42OK01:12
enigma42Oh...should I try 1.00 first?01:13
jelmerenigma42: probably01:13
enigma42How much of a difference is there between 0.6.5 and 1.0?01:13
enigma42OK.01:13
enigma42Oh...another quick question...01:14
enigma42How do I clear the svn cache now that it's using sqlite01:14
enigma42?01:14
jelmerenigma42: it's always been sqlite :-)01:14
enigma42Oh. Where did the cache move to?01:14
jelmerenigma42: ~/.bzaar/svn-cache ~/.cache/bazaar/svn01:14
enigma42Oh...OK.01:15
jelmereither of thoes locations01:15
zsquarepluscis there a bzr command to remove a remote branch? (bzr+ssh URL)01:15
enigma42jelmer: I'm curious, where does the svn repo ID come from? Such as: daff2dd8-1c3d-0410-9cd2-f6297dd8f96401:23
enigma42Does subversion generate that itself?01:23
enigma42I've noticed that bzr-svn always seems to come up with the same ID no matter which machine01:25
enigma42So long as I'm pointing to the same repo.01:25
lifelesssvn has a GUID repository ID01:27
jelmerenigma42: yeah, svn generates it itself01:28
meoblast001lifeless: i just wanted to tell you i think i got everything straighted out01:39
meoblast001i'm making a backup copy of the old branch just in case01:39
meoblast001scratch that, getting errors01:42
meoblast001http://codepad.org/3P2U2cGQ01:42
enigma42jelmer: https://bugs.launchpad.net/bzr-svn/+bug/43697101:44
ubottuLaunchpad bug 436971 in bzr-svn "NoSuchRevision error when trying push a new branch into branches directory for the project in subversion" [Undecided,New]01:44
enigma42it just affects a couple of my projects.01:45
enigma42We have about 70+ projects using trunk1 layout.01:45
enigma42But just a couple of them get this error when I try to push a new branch into /project/branches01:45
meoblast001is that because i init'd a new branch on my system and imported my stream into it?01:46
enigma42Cooincidentally, only the problematic projects have been used with bzr-svn since the dawn of time. I'm wondering if it's an old metadata problem.01:46
meoblast001how do i make these repositories compatible01:54
meoblast001i have a stream of my branch, so all i have to do to create a new branch with the contents of this one is init it and then import it01:55
fullermdThose two in particular?  You don't.  Working across a rich root divide isn't practical.  You'd have to switch one or the other.01:56
meoblast001what do you mean?01:56
fullermdRevisions with rich root info can't be put into a repository with an impoverished-root format.01:57
meoblast001what is rich root and impoverished root?01:58
fullermd(in this case specifically, 2a is the trigger pull; it's the first default format that's rich-root.  Previous rr formats were all non-default choices)01:58
meoblast001oh, you mean because i have bzr 2.x and my old repository was 1.x?01:59
fullermdWell, impoverished root is just my term, 'cuz I feel silly typing 'non-rich-root' or variants of it all the time...01:59
fullermdAny opportunity to play games with language.01:59
meoblast001well, how do i make an impoverished root branch?02:00
fullermdSpecifically, your 'old' repository is in a non-rr format.  So you'd have to use one compatible with that (something like 1.9, say).02:00
meoblast001so i have to install Bazaar 1.9?02:00
fullermdAlternately, upgrade the poor branch to a rr capable format; that's the future.02:01
meoblast001but 2.x is still in RC02:01
fullermdNo, just use --format=1.9.02:01
meoblast001so bzr init --format=1.9?02:01
fullermdSure, but there've been rr formats back as far as bzr 1.0 (rich-root-pack), and rr versions of every format since.02:01
fullermdIt's just with 2 that the _default_ starts being rr.02:01
fullermdYah.02:01
meoblast001ok02:02
meoblast001i can upgrade to rich-root later without causing problems, right?02:02
fullermdYeah, that way works fine.  It's going the other way that doesn't.02:03
fullermd(rich root stores strictly more information, so trying to go the other way would be throwing things away)02:04
meoblast001yes, but throwing away useless information02:04
meoblast001i want to upgrade when everything is for sure stable02:04
meoblast001i'm a little cautious02:04
fullermdNo, it's not useless information.02:04
meoblast001oh, i heard it was :/02:05
fullermdAnd throwing it away would mean you now had two versions of the same revision out there.  That's a serious no-no.02:05
meoblast001i heard instead of saving whole lines in the differences, it would only store character changes02:05
fullermdNo, it's nothing like that.02:05
fullermdAnd that change wouldn't be incompatible anyway, as long as it assembled the same text in the end.02:05
fullermdSpecifically, the different is that rich root formats store an identity for the root of the tree.  Poor roots don't.02:06
mzzhttp://doc.bazaar-vcs.org/latest/en/upgrade-guide/index.html says I should "unset the current trunk from being the development focus" in launchpad. Where's the control for that? I can find a way to set a different development focus, but not to unset it completely.02:21
wgrantmzz: You unset the branch from the series, not the series from the development focus.02:25
wgrantmzz: https://launchpad.net/PROJECT/SERIES/+edit02:26
mzzwgrant: and set "Branch" to the empty string there?02:27
wgrantmzz: Probably.02:27
* mzz tries02:28
mzzok, that did something, let's see if the rest of the steps work02:28
mzzdoes it make sense to just delete ~me/project/trunk and re-push it from scratch?02:29
mzzno, wait02:29
mzzI should push a new one just in case anyone stacked on the old branch. Bleh, naming. migrated-trunk?02:30
wgrantYou can't delete the old one if anything is stacked on it.02:30
SamB_XPwgrant: oh, that's nice!02:31
SamB_XPwhat happens if you try it from the command line ?02:31
mzzwgrant: ah, so if launchpad lets me I won't really inconvenience anyone by doing it?02:31
wgrantmzz: Well, unless they have local stacked branches, in which case they're insane.02:31
SamB_XPindeed02:31
SamB_XPwhat if they lost connectivity for a time?02:31
mzzwell, this *is* a pretty insane project, but I seriously doubt anyone branched off it at all, let alone stack on top of it02:32
* mzz smites the branch02:32
wgrantSamB_XP: Or if they want to do anything even slightly unslowly.02:32
SamB_XPwgrant: yes, or that02:32
SamB_XPit's about as insane as doing a lightweight checkout from launchpad or SVN02:33
mzzhey, I just did that02:33
mzz(to look at a file, I didn't need any history)02:34
mzzok, this seems to have worked02:34
mzzlet me do the same delete and fresh push on my two +junk branches02:35
SamB_XPmzz: if I wanted to look at just one file, I'd probably just use loggerhead or the HTTP URL ...02:38
SamB_XP... if I could figure out what the latter was02:38
SamB_XPsince I clearly can't type lp:foo in my browser's URL bar02:38
mzzSamB_XP: I was already on the commandline, not a browser. Typing "bzr co lp:whatever" and feeding the file to less was faster than switching to a browser and navigating through loggerhead02:39
SamB_XPmzz: oh, that defaults to --lightweight now?02:39
mzz(I have co aliased to checkout --lightweight)02:39
SamB_XPoh02:39
mzzI have a probably slightly odd setup where most of my code lives in no-trees repositories on a fileserver on my lan, while I work in local lightweight checkouts of those02:41
SamB_XPmzz: that's a bit less dumb02:45
mzzthanks? :)02:45
SamB_XPI sometimes work in directories that are themselves on a fileserver02:45
SamB_XPwell, it's an NFS server, really02:46
SamB_XPand something about the setup makes the time to access a file pretty high ...02:46
SamB_XPI mean, if you untar something it can take quite a while02:47
mzzthis setup is usually fast enough, and if it isn't I can always do a full local branch02:47
mzzadvantage is that I can't forget to push changes off my desktop onto the fileserver so they're accessible remotely when the desktop is off02:47
fullermd...  computers turn off?02:48
mzzmy fileserver doesn't02:49
SamB_XPsomeone keeps turning off the print server here ...02:49
mzzmy desktop occasionally does02:49
SamB_XP... might be something to do with the fact that it runs windows 98 ...02:49
mzzhah02:49
* mzz is upgrading all his stuff to 2a while simultaneously clearing out cruft02:51
mzzapparently I have a lot of that02:52
Peng_I keep my server on the latest formats and relatively clean, but my PC is a huge mess of formats. :D03:03
RenatoSilvaIs it common to develop oriented to bugs? I mean, every change you developer want to do, you register a bug before that, making every or many commits having a bug id assigned?03:03
fullermdThat sounds like a "community standards" question.03:04
RenatoSilvafullermd: mine?03:12
fullermdYeah.03:12
RenatoSilvafullermd: I think I'll do that only for important bugs, even though it's not possible to tell launchpad since what milestone the bug applies03:14
RenatoSilvathansk anyway!03:15
fullermdOh, see, now you're trending toward one of the two Great Unanswerable Questions.03:15
fullermd(1) What is the meaning of life?03:15
fullermd(2) Is it possible to make a bug tracker that doesn't suck?03:15
fullermd(obviously, of course, the answers are "chocolate" and "no".  But I haven't figured out for sure which answer goes to which question yet.)03:16
RenatoSilvachocolate means you're fat?03:17
RenatoSilvaand lp's bugtracker does not suck03:17
fullermdI've known plenty of rail-thin people who understood the preeminence of chocolate over everything else...03:17
RenatoSilvaand?03:18
fullermdAll bugtrackers suck.  They just suck in different ways.03:18
* RenatoSilva suffers of /clearing-screen-all-the-time syndrom and didn't read last message03:18
RenatoSilvafullermd: I think when I release the targeted milestone 'next-release' (I use date-based versions) that info will stay on the bug. So the bug affects at least the prior milestone03:23
jderosebzr sattus03:51
jderosebzr diff03:51
jderosehehe, crap, wrong window  ;)03:51
meoblast001is 725.3 KB a good file size for the .bzr directory on a 70 commit project?04:02
mzzthat doesn't sound completely insane04:04
mzzwh?04:04
mzzwhy, even?04:04
Peng_meoblast001: Is this the one that had 10 MB of binaries?04:15
meoblast001yup :)04:15
meoblast001i think i cleaned it up a bit04:15
meoblast001Peng_: do you think it is good?04:18
Peng_Sure, why not?04:18
Peng_I don't have any actual studies to say how good that is for a project of its size, but it's not a significant amount of data unless you're on dial-up, so at that point, who cares?04:19
Peng_s/studies/data/ -- don't have to be *that* scientific04:20
Peng_meoblast001: What disk format?04:20
meoblast001SATA?04:20
meoblast001or EXT304:20
Peng_meoblast001: I mean bzr repository format.04:21
meoblast0011.904:21
Peng_2a will be smaller. And faster and just generally cooler.04:22
meoblast001i will upgradt to 2a soon04:22
Peng_:D04:23
rsvpcan the new BAZAAR v2.0 write to the older formats? (assuming it can convert to the new 2a format, right?) -- must everyone on a team use the same bzr version?06:56
Peng_rsvp: Bazaar 2.0 didn't drop any of the old formats.06:59
Peng_rsvp: You don't even have to convert or anything. (Though you should. 2a rocks!)07:00
rsvpPeng_, thanks for your response -- just want to make sure to confirm answers over at #python.07:01
AfCrsvp: no, everyone on a team does not need to use the same bzr version.07:28
rsvpAfC, thanks --07:29
AfCrsvp: they just need to all be using a version that supports whatever format the team repo is in. Just the usual lowest common denominator thing.07:29
AfCrsvp: though you will accrue much greatness that lowest common denominator is 2a. It'll be worth pushing for (ie, getting people onto newer code as fast as possible, rather than lallygagging) because that format will be extant for the foreseeable future but of course bzr versions >= 2.0 will improve in other ways but building on that base.07:31
rsvpI've been upgrading using Ubuntu repository, but to upgrade via "bzr branch lp:bzr bzr.dev" from which directory should that be issued (sudo bash first)?07:31
mzzyou mentioning sudo there scares me07:33
AfCrsvp: the PPA at https://launchpad.net/~bzr/+archive/ppa should always have the latest bzr release. Can you use that?07:33
mzzwhat are you trying to do?07:33
mzzif you're just trying to run a recent version of bzr use that ppa07:34
rsvpmzz, I want to install v2 from source.07:35
mzzwhy?07:35
mzzto just install v2 just use that ppa07:35
rsvpok07:36
mdzjml, thumper, anyone around?07:39
mdzI need help with a branch incompatibility issue07:43
lifelessmdz: 'sup?09:45
=== doko_ is now known as doko
jelmerLo-lan-do: ping10:29
Lo-lan-dopong10:39
* Lo-lan-do highlights jelmer10:42
jelmerLo-lan-do: Sorry, was wondering whether a particular bug was fixed10:44
jelmerLo-lan-do: but it seems your patches already took care of that10:44
Lo-lan-doWhich one?10:45
MethsThe Windows downloads show bzr-2.0.0-2-setup.exe and bzr-2.0.0-1-win32.py2.6.exe.  Is there a -2-win32 file being built or was the -2-setup only produced to fix an error in the setup file and the py2.6 file is perfectly okay to use?13:22
emmajaneigc, ping?14:02
awilkinsMeths: The -setup is an encapsulated py2exe applications, with it's own libraries and pre-installed plugins14:21
awilkinsMeths: The python variants have no plugins and require python of the quoted version installed ; they are more suitable for someone who has more intensive plugin needs, or needs to configure a smart webserver.14:21
Lo-lan-doShouldn't the topic mention that 2.0 is *released* now (rather than frozen)?14:22
emmajaneigc, not sure if you're still up, but I'm headed out for breakfast if you want to try the merge. if not I'll look at it later this afternoon.14:30
dashcongrats on the 2.0 release :)15:58
dashI am trying to upgrade Twisted's bzr repo to 2a, but it's hosted on a low-memory box, and it didn't complete before being killed15:59
dashis there a way to do the upgrade incrementally or should I just try again on a box with better specs and copy it?15:59
Lo-lan-dodash: (From a not-too-involved bystander) You may try using a swap file first.16:00
dashmmh... yeah. this is a kind of small VM16:01
Lo-lan-doMy feeling is that bzr uses lots of memory, but not necessarily repeatedly, and the actual accesses feel like they're mostly local and not all around.16:01
dashmaybe that'd work. can't say it excites me :)16:01
Lo-lan-doSo maybe swapping won't be a performance killer.16:01
meoblast001hi16:28
* SamB_XP has a feeling he's seen meoblast001 somewhere before 16:30
meoblast001yes you have16:30
meoblast001i'm the guy who constantly fears he's doing something inefficient16:30
* awilkins just increased the execution time of a unit test in his project by 80% - he's definitely doing something inefficient16:31
meoblast001ok, so i just moved about a 25 line group of contiguous data up a few lines in one of my headers, is bazaar optimized to do this efficiently?16:32
meoblast001or does it just basically memorize "delete these 25 lines here, add these 25 lines here"16:32
SamB_XPawilkins: without changing the test, you mean?16:33
awilkinsSamB_XP: I changed the code that's it's testing16:33
awilkinsSamB_XP: I didn't think it would be that much of a change... but clearly I was wrong16:34
awilkinsSamB_XP: Now I'm struggling to get the profiler installed in Eclipse because the update site is sooooo slow.16:34
SamB_XPwhat profiler would that be ?16:35
awilkinsTPTP16:35
SamB_XP... and why the heck would eclipse only have one update mirror ?16:35
awilkinsSamB_XP: I suppose I could hunt for update mirrors.... what it needs is a way of switching between them automatically because lazy people like me are going to just check the box and hit gi16:37
awilkinsgo16:37
SamB_XPawilkins: what, no dialog with a list of 'em ?16:37
awilkinsThe update system has a list of update sites, but not a list of mirrors of update sites16:38
awilkinsEven the eclipse.org site is as slow as molasses today16:39
awilkinsSo it's hard to find a list of mirrors :-(16:39
LarstiQmeoblast001: I wouldn't worry about it16:41
meoblast001ok16:41
awilkinsIt probably would remember something like that... but the group compression will probably catch that the two blocks are identical and reduce them to one object16:41
* awilkins dances on "probablies"16:42
SamB_XPmeoblast001: that's a tiny change anyway ...16:44
SamB_XPunless the lines are gigantic!16:44
meoblast001yeah, but it's only to make things conform with the coding standards16:44
SamB_XPI mean, as disk usage goes16:44
* SamB_XP wants a dilbert tie ...16:46
SamB_XP... you know, gravity-defying ;-P16:46
SamB_XP... I guess if I managed to get one, I could study it and maybe win a nobel prize16:47
meoblast001SamB_XP: do you have coding standards with any of your projects?16:47
SamB_XPmeoblast001: well, yeah16:47
SamB_XPa few16:47
meoblast001do you strictly enforce them16:47
meoblast001like, if you find something doesn't conform, do you fix it?16:47
SamB_XPer, well, they aren't really *my* projects16:48
meoblast001oh, ok16:48
SamB_XPat this point, I mostly work on other people's open source projects16:48
SamB_XPsome of them have coding standards16:48
meoblast001oh, well, do you find it normal to strictly enforce those standards?16:49
SamB_XPsome more strict than others16:49
meoblast001and clean up parts that don't follow them16:49
SamB_XPwell, I guess it would depend on a few things16:49
awilkinsThe anal tension of the project lead, first and foremost16:49
SamB_XPsome of those standards are generally pretty strict16:49
SamB_XPawilkins: well, with the less typographical standards, it may even depend on what makes more sense in the particular case16:50
meoblast001i don't think mine is too strict, but it has gotten a little more strict since i created it16:50
SamB_XPmeoblast001: what specifically are you thinking about ?16:51
meoblast001what do you mean? what i'm fixing?16:51
SamB_XPI mean, what ... requirements of the standard have you tightened up on ?16:51
SamB_XP... oh, it also can depend on whether anyone has time to fix the violation ;-)16:52
meoblast001i'm fixing the violation :P16:53
meoblast001here's my standards http://mysticgalaxies.com/wiki/index.php/Coding_Standards16:53
meoblast001but yes, i have tightened up a little so that things can be a little more consistent, and now i'm trying to fix it16:54
SamB_XPhttp://mysticgalaxies.com/wiki/index.php/Coding_Standards you say ...16:54
meoblast001yes16:55
SamByeah, I just repeated it so I could open it on this computer ;-)16:56
meoblast001ah, ok :P16:56
meoblast001brb, breakfast16:56
SamBmeoblast001: huh, I would call it "two space indents", given that you (wisely) require spaces rather than tabs be used for indentation ;-)16:57
SamBweird requirement on the call-parens ...16:58
SamBand calling access specifiers a level sounds weird, too -- I don't know if many editors can handle that16:59
awilkinsOne problem I have with coding standards is the mess they make of version histories when someone has a mass-enforcement session....17:00
SamBawilkins: yeah17:01
SamBmeoblast001: oh, and I'm fairly certain that "proceed" is not the opposite of "precede" -- you probably meant "succeed" ;-P17:03
* awilkins blinks - he just managed to totally change the performance again, now it's more than 400% of it's previous execution time17:03
LarstiQSamB: acccess specifiers as a level is the default afaik?17:04
SamBLarstiQ: I think emacs usually indents them between actual levels?17:05
awilkinsSomehow I went from 31s to 49s to 130s ... I think it's all down to object boxing....17:13
=== zirpu2 is now known as zirpu
LarstiQawilkins: cricket is a much more civil sport17:14
meoblast001SamB: hm, you know what, you may be right17:14
meoblast001SamB: English is my native language but i always have trouble finding the right word when i'm writing a formal document17:15
meoblast001"following" was the word i was looking for17:15
meoblast001SamB: would you recommend i update my code to conform with it though? i suppose it's for the best17:15
meoblast001i suppose my fear is that if i let myself fix everything my OCD tells me to, before you know it i'll have a 60 GB branch and more commits than 32-bit possible17:17
idnarpfft, that's what 64-bit is for17:17
meoblast001am i freaking out way too much?17:22
SamBmeoblast001: how big is your project?17:26
SamBand probably you are indeed worrying too much17:26
meoblast001big as in commits?17:26
SamBbig as in lines of code17:26
meoblast001let me go check17:26
meoblast001SamB: http://www.ohloh.net/p/amethyst-mm/analyses/latest17:27
meoblast0012000 lines of C++17:27
awilkinsTeenytiny17:27
SamBindeed17:27
awilkinsLet me see17:27
SamBand C++ needs quite a bit of wrangling17:27
meoblast001wrangling?17:28
meoblast001yes, it is very small17:28
meoblast001this project started in March17:28
SamBit's very badly behaved ;-P17:28
meoblast001my .bzr directory totals 724.7 KB17:28
SamBhowever, I think in future you may want to add more substantive things to your coding standard ;-)17:28
meoblast001substantive?17:28
SamByou know, things about what code should and should not *do*17:29
meoblast001oh, why's that?17:29
meoblast001well, what kinds of things could that be17:29
meoblast001don't set an unsigned integer to a negative number?17:29
* awilkins has 22k lines of Java which is 1.7MB of code in a branch that's 14MB of packs17:30
SamBoh, I don't know17:30
meoblast001what's a good ratio of repository_size:commits17:31
awilkinsAnd most of that 14MB is java libraries that I committed to the branch before I removed them and went all Maven on it's ass17:32
SamBmeoblast001: well, it depends what you are doing ;-)17:34
meoblast001SamB: well, is 724.7 KB a normal amount for a 70 commit typical C++ applications?17:38
SamBI try to stay away from C++ programs of that size for the most part17:41
SamBthe only thing I can think of that might draw me to such a thing is LLVM ...17:41
meoblast001SamB: wait, so it's too big?17:42
SamBmeoblast001: too many lines of C++ for *me*, yeah17:44
SamBI don't really like C++17:44
meoblast001too many lines or too large of a repository size?17:44
SamBwait, wait, there was no size there ..17:45
* SamB is confused17:45
meoblast001724.7 KB17:46
SamBI meant, there was no amount of code there17:47
meoblast0012000 lines17:49
meoblast001plus some build tools17:49
LarstiQmeoblast001: the code style changes will make annotation less useful17:49
LarstiQmeoblast001: that's the only thing I'd worry about17:49
meoblast001annotation?17:49
LarstiQmeoblast001: `bzr annotate`17:49
LarstiQmeoblast001: anyway, you can test what the result is, and if you don't like it, roll back to a previous revision17:50
meoblast001origin of each line in a file?17:50
LarstiQmeoblast001: yup17:50
meoblast001what use would that have?17:50
LarstiQmeoblast001: finding out when/why/by whom bugs are introduced17:50
meoblast001oh17:51
Lo-lan-doAutomated finger-pointing!17:51
meoblast001:P17:51
Lo-lan-doWell, assisted, anyway.17:51
Lo-lan-do"Automated" would be with bisect.17:51
meoblast001POTFILES is not required if there's a POTFILES.in, right?17:52
meoblast001ok, just ran a test, it is not17:53
Lo-lan-doOkay, I'm fed up.  How do I fix stuff like "sha1 mismatch: ('…', '…') has sha1 f10eb6688e35bb6da12bb960b0ef58a3573e26d1 expected da39a3ee5e6b4b0d3255bfef95601890afd80709 referenced by lolando@debian.org-20090921073025-t9nre0sg59ma0i0z" errors?17:53
LarstiQLo-lan-do: reconcile?17:54
Lo-lan-doDone.  Several times.17:54
jelmerLo-lan-do: that suggests dat ahas been inserted with the wrong sha117:54
jelmerLo-lan-do: unless you have data corruption on disk, it's probably a bug somewhere17:55
Lo-lan-doI recently did a check, found that the *one* revision listed was a head, uncommitted/recommitted it, and another check gives me another revision.17:55
Lo-lan-doThis is on a fresh repo cloned from an old one, so I would have expected the stuff to be correctly inserted.17:56
Lo-lan-do2.0.0-1 from Debian, 2a format, no frills.17:56
Lo-lan-doAnd it takes my computer about two hours to run bzr check in there, so I'd rather avoid fixing all these errors by hand.17:57
meoblast001SamB: it jumped to 731.9 KB18:02
meoblast001i uppose that's not much18:02
meoblast0017.2 KB in 1 commit18:02
Lo-lan-domeoblast001: What format are you using?18:03
meoblast0011.918:03
Lo-lan-do2a is more compact, if you can afford it.18:03
meoblast001afford it?18:03
meoblast001i will switch to 2a once 2.x is stable and most people are using it18:03
LarstiQdon't have older clients that can't read the format18:03
Lo-lan-doIt needs all clients to be at least 1.17, I think.18:03
meoblast001oh, that should be no problem18:04
meoblast001i have no problem with forcing people to upgrade >:)18:04
meoblast001i suppose i'm worrying because i don't want my project to be one of those annoying projects that makes people say "30 minutes and you're still not done?!"18:05
meoblast001i've ran into projects that have huge source repositories18:06
Lo-lan-doYou're at 70 revisions and 700 KB.  Unless you're doing dial-up over smoke signals, you're fine.18:06
meoblast001ok18:06
SamBmeoblast001: this is how I feel today, btw, so if I say something strange-sounding... http://naesten.blogspot.com/2009/09/cant-haskell.html18:11
meoblast001SamB: you program in Haskell?18:12
meoblast001i kant python today... i has the dumb18:13
SamBmeoblast001: I'm not saying I can't haskell, but I definately feel like I has the dumb!18:16
meoblast001:P18:16
SamBthough python might actually be harder for me when I feel like this ...18:17
meoblast001speaking of Python, i think Bazaar is the best Python program out there18:17
meoblast001one of the developers on my project says he doesn't like our use of Bazaar because it depends on the unstable Python.. i said at least Bazaar is written well enough in Python to be stable :P18:18
SamBwhat, you mean the way they keep changing it?18:19
SamBno, that can't be what you mean18:19
SamBbazaar changes way more often than Python does ;-)18:19
LarstiQunstable Python?...18:19
SamBLarstiQ: I guess maybe he was thinking of what happens when you make a typo and don't retest your code?18:29
LarstiQSamB: or maybe that it has more language changes than Fortran in a 10 year period?18:32
SamBLarstiQ: I'm going to need to see sources on that18:32
SamBI mean, unless you're talking about Python 300018:33
LarstiQSamB: all 2.x versions have introduced something18:40
LarstiQSamB: I still don't find that unstable, I'm just speculating as to what meoblast001' colleague could mean18:40
meoblast001i'm not upgrading for the same reason people often doing take a vaccine when it first comes out18:41
meoblast001the amount of people who have tested it isn't high enough18:42
LarstiQsure18:42
meoblast001once 2.x is stable, most people will be using that, and most people will probably use 2a repositories18:42
LarstiQmeoblast001: but python 2.4 surely is welltested by now18:42
meoblast001ooh, regarding Python18:42
meoblast001i thought we were talking about 2a repositories18:42
LarstiQmeoblast001: no, "one of the developers on my project says he doesn't like our use of Bazaar because it depends on the unstable Python"18:42
LarstiQis what I was responding to18:43
meoblast001ah, yes18:43
meoblast001he thinks Python is unstable18:43
SamBLarstiQ: do you have any idea how much fortran has changed in the last decade?18:47
SamBwell, I don't have all that much idea either, to be honest18:47
fullermdI dunno about the last decade, but I know it changed a lot in the decade prior.18:59
fullermdMy fortran book is slightly out of date.  But that's OK 'cuz I haven't really read it closely.19:00
fullermdActually, I haven't gotten past the exercise in the first chapter about learning how to punch a card with my name on it...19:00
LarstiQmeoblast001: any idea why?19:04
meoblast001i think he thinks the API changes too often19:05
LarstiQSamB: a bit, but it has standards that don't change19:05
\u03b5hi, is it possible to make a "link" to another branch with bzr?19:23
SamByou mean like lp:bzr-svn is a reference to something on samba.org ?19:24
SamB(iirc)19:25
\u03b5"branch blabla can be checked out in this directory"19:25
zsquareplusc\u03b5: what exactly do you expect to happen? e.g. that updating one branch also upgrades an other?19:31
\u03b5or (branching+)checking out one indeed19:31
zsquarepluscmigrating from SVN? ;-)19:32
\u03b5nah, SVN is far away behind from me19:32
\u03b5I figured out about that feature in svn and thought it could be pretty nifty19:33
\u03b5but no biggie if it's not in bzr19:33
zsquareplusci once asked about something similar to svn:exetrnals and was told that the same feature does not exits in bzr, but https://launchpad.net/config-manager would be helpful in such cases19:37
\u03b5oh well, that would be a bit overkill :)19:45
=== luks_ is now known as luks
davidstraussI'm having trouble building 2.0.0 on RHEL 5: "bzrlib/_annotator_pyx.c:30:27: error: python-compat.h: No such file or directory"20:10
jderosedavidstrauss: do you see python-compat.h in brlib/?21:09
mzzdavidstrauss: full build log may be of use21:09
matthewlmcclurejelmer: got a few minutes to chat about bazaar/perforce concept mapping?22:34
jelmermatthewlmcclure: hi22:43
jelmermatthewlmcclure: yeah22:43
matthewlmcclureperforce is pretty similar to subversion, at least at a high level of abstraction22:43
matthewlmcclureit's a centralized vcs22:43
matthewlmcclureit uses some different names for commands, but for the most commonly used commands, I think there's a one-to-one mapping with Subversion22:45
jelmerdoes it have a concept of branches?22:45
jelmeror is everything a directory like in subversion?22:45
matthewlmcclureit versions files rather than directories22:46
matthewlmcclureyou can branch/copy individual files from any path to any other path in a "depot" (repository)22:46
matthewlmcclurethere is a concept of a "branch spec", which is a metadata file describing how one path is branched to another22:47
matthewlmcclurehowever, you can "integrate" (branch) from any path to any other path without a branch spec also22:48
jelmerhmm22:49
matthewlmcclurei've been thinking that a first version of bzr-p4 might support only a single Perforce "view" and be ignorant of any branch relationship among its files22:51
jelmercan you do operations on entire directories?22:51
matthewlmcclureyes, in the sense that such an operation would apply to all files within the given directory22:51
matthewlmcclurebut i don't believe there is any versioning, or data stored associated with the directory itself22:52
matthewlmcclure(like CVS)22:52
matthewlmcclureunlike CVS, and like Subversion, Perforce has a monotonically increasing "changelist" number per server22:53
jelmerah, ok22:53
matthewlmcclureand each changelist contains n files changed22:54
jelmerso directories are implicit I guess rather than explicit (such as in svn or bzr) ?22:54
matthewlmcclureyes, i believe so22:54
zsquarepluscthe bzr-explorer "edit my tools" isn't very useful.. it opens an almost empty xml file. how am i supposed to know what to write there?22:59
matthewlmcclurei've only begun to experiment with bzr-svn.  i gather that it allows viewing an svn path as a bzr branch, letting bzr commands operate directly on the svn path.  and it supports branching from the svn path, and pushing to it.22:59
matthewlmcclureto me, branching from a perforce "view", rebasing on it, and pushing to it, would be the most valuable operations to support in bzr-p4.23:00
matthewlmccluredo you have any recommendations on where i should start, or what code i should look at to see what's necessary?23:01
jelmermatthewlmcclure: I would recommend looking at the Branch and Repository classes in Bazaar23:03
jelmerthose are the objects you have to provide implementations of that are answered by p423:03
jelmermatthewlmcclure: the wikipedia page says perforce has a commercial license23:03
jelmerdo you have an indepenednt python implementation or something that is available under a GPL-compatible license23:04
jelmer?23:04
matthewlmccluretrue.  it is commercially licensed.23:07
matthewlmcclurethey make some concessions for open source development.  http://www.perforce.com/perforce/price.html#opensource23:07
matthewlmcclurei haven't executed anything with them yet.23:08
matthewlmccluregit-p4 uses the command-line interface of the p4 command23:08
matthewlmcclurei've been migrating away from that toward their P4Python API23:08
jelmerso all operations would have to invoke the p4 command?23:08
jelmermatthewlmcclure: is their p4python API GPL-compatible?23:08
matthewlmcclureI don't know if the FSF would say it's compatible, but redistribution in source form is permitted.23:10
matthewlmcclurethe license text is in the tarball ftp://ftp.perforce.com/perforce/r09.1/bin.tools/p4python.tgz23:13
jelmerlooks like a BSDish license23:14
* ScottK dons his archive-admin hat and says it's GPL compatible.23:15
jelmerScottK: :-)23:15
jelmermatthewlmcclure: it looks like the bindings link to the p4 libraries though - what's the license of those?23:16
matthewlmcclureyes, it is.  i'm not sure what the license of the C/C++ API is.  i'm looking for it now.23:17
matthewlmcclurei can't find any license that explicitly applies to the C/C++ API23:29
awilkinsSamB_XP: Heh, that Java I was writing earlier now takes 12 seconds. Seems the hashtable was really slowing it down23:32
SamB_XPawilkins: what are you using instead ?23:32
awilkinsI was using a fixed-depth bucket trie... I just had a hashtable in the back as well that I forgot about23:33
awilkinsIt eats 150MB of data files and writes the row IDS to 1000-row files in a trie folder structure on disk in that time23:33
jelmermatthewlmcclure: as I mentioned in my other mail I think a next good step would probably be to define a clear mapping between the bzr and the p4 concepts23:39
jelmermatthewlmcclure: bzr-svn has some documents in its specs/ folder23:39
jelmermatthewlmcclure: in particular, how would bzr revision ids for p4 revisions be generated, what information should they contain, etc.23:40
matthewlmcclurethanks.  i'll have a look at what bzr-svn does in that respect and write up what i think the equivalent mapping is for p4.23:42
matthewlmcclurejelmer: i have to sign off.  thanks for your help.23:43

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