|
[00:10] <igc> poolie: I think so. |
|
[00:11] <igc> poolie: the hg-fast-export converter may have a few issues but I believe its working well enough for most people making the switch |
|
=== jfroy|work is now known as jfroy |
|
=== jfroy is now known as jfroy|work |
|
[01:02] <fullermd> igc: Should I follow the pattern of the others and have matching API and blackbox tests for that 'not supported'? |
|
[01:02] <fullermd> (or just one or the other) |
|
[01:03] <igc> fullermd: whatever abentley did |
|
[01:03] * igc looks |
|
[01:04] <fullermd> Mmm. I didn't see an obvious pattern in the other tests. I did matching pairs for the two success and two failure cases. |
|
[01:05] <igc> fullermd: just blackbox will do I think |
|
[01:09] <fullermd> 'k. I'll submit an update a bit later. |
|
[01:09] * fullermd scampers off for a bit. |
|
=== mark1 is now known as markh |
|
[01:56] * igc lunch |
|
[02:49] <fullermd> 'k, updated patch in. |
|
=== Mario__ is now known as pygi |
|
[04:41] <mi3> hello, could I ask a question? |
|
[04:42] <spiv> Of course. |
|
[04:42] <mi3> Let's say I want to separate my branch into two separate branches, because I'm splitting it into separate projects, complete with separate license restrictions. This means that the resulting branches should contain no trace of files from the other one. |
|
[04:43] <mi3> Let's say I create two branches from my branch, and from each one I remove the files that belong in the other one. |
|
[04:43] <igc> bbl |
|
[04:43] <mi3> How could I remove history so files removed in each are not recoverable from that one? |
|
[04:43] <spiv> At the moment, bzr doesn't have any way to remove some files from your branch history. |
|
[04:44] <spiv> You could possibly use the rebase plugin or filter a fastimport dump to generate a new history without those files. |
|
[04:45] <mi3> I also looked into bzr split, but it seems that wouldn't help me in this situation, correct? It seemed to just reconfigure where the base of the tree is but other files' history is still in the new repository |
|
[04:45] <spiv> Right, bzr doesn't really have any facility for modifying history, basically. |
|
[04:46] <mi3> hmmm I might have a look at the rebase tool, thanks for pointing it out to me |
|
[04:46] <spiv> You're welcome. I don't think it's going to be easy to do what you want, unfortunately. |
|
[04:47] <mi3> Looks complicated. I suppose the other option for me would be to start anew with the new project, ie don't worry about transferring across history for the files I'm pulling out under new license. |
|
[04:47] <spiv> Right. |
|
[04:48] * fullermd has mentally meandered from time to time around the idea of building a grammar to describe history modifications... |
|
[04:48] <mi3> ok thansk |
|
[04:48] <spiv> You could at least use "bzr add --file-ids-from ../original-branch" |
|
[04:49] <spiv> Which would at least keep the filename -> file-id mappings the same, which might make attaching more history later a bit easier. |
|
[04:49] <mi3> ah yep I see |
|
[04:50] <mi3> So merging between them in future might be easier |
|
[04:51] <spiv> Yeah. But if you're completely stopping work on the old history and switch completely over to the new one, it's probably a pretty marginal benefit. |
|
[04:52] <mi3> yeah. |
|
[05:07] <poolie1> lifeless: ping to make a 1.11 branch please |
|
[05:09] <lifeless> spm: uncommitted changes to pqm-config on balleny. |
|
[05:09] <lifeless> *spank* |
|
[05:10] <lifeless> poolie1: done |
|
[05:11] <poolie1> thanks |
|
[05:11] <spm> lifeless: indeed. ta. Were they mine (implied by the spanking)? |
|
[05:11] <lifeless> spm: well, not mine so losa |
|
[05:12] <spm> heh. oki, will throw to the others for review and commit. |
|
[05:12] <spm> actually - not a lot of point in review - it's been running for a month and a half.... |
|
[05:14] <spm> thanks lifeless! iz committed. |
|
[05:27] <lifeless> poolie1: I've shoved the lca thing in canonicaladmin |
|
[05:28] <poolie1> hero |
|
[05:28] <poolie1> maybe you should just write a simple leave/expense system as a bzr plugin? :) |
|
[05:29] <spm> python: import lca-expense |
|
[05:29] <spm> ... actually now I think on it. I'm sure there's an emacs key binding already for lca expenses. |
|
[05:57] <lifeless> ciao |
|
[06:06] <poolie1> bye |
|
[06:15] <El_Guille2> hola |
|
[07:01] * spiv -> weekend... |
|
[07:01] <fullermd> Is it just me, or is 'help revisionspec' lying? |
|
[07:02] <fullermd> ``while "bzr diff -r 3647..3649" includes the changes done in revisions 3647 and 3648, but not 3649.'' |
|
[07:02] <fullermd> (I hate the rest of that paragraph anyway, because it's perpetuating thinking of emergant properties as special cases, but...) |
|
[07:11] <vila> hi all |
|
[07:16] <El_Guille2> hi vila |
|
[07:37] <poolie1> fullermd: it's correct |
|
[07:37] <poolie1> ah |
|
[07:37] <poolie1> no, you're right, it's wrong! |
|
[07:37] <poolie1> and confusing |
|
[07:38] <fullermd> Yeah. That part I quoted is wrong. Other parts are at least partly wrong. And the whole thing is a bit eye-crossing. |
|
[07:40] <fullermd> The closed-vs-open range distinction made me take a mental fault to page in the terminology. |
|
[07:41] <fullermd> And then when you do, you realize that its use of precise terms like that is imprecise, since the diff range isn't open, it's half-open. |
|
[07:41] <fullermd> Very confuzzling :( |
|
[07:49] <poolie1> it's the other way around |
|
[07:57] <fullermd> Mmph. See what I mean? That's a meaning of the term I didn't even have in my brain. When I think half-open, it doesn't imply which half. |
|
[08:01] <fullermd> Anyway. You wanna just fix it? It seems to trivially correct that it would be ridiculous for me to work up a patch and submit it... |
|
[08:09] <poolie1> can you send a patch, i'm in the middle of something... |
|
[08:10] <fullermd> 'k |
|
[08:10] <poolie1> specifically rolling 1.11rc1 |
|
[08:13] <fullermd> Don't roll it too tight. |
|
[08:13] <Peng_> Congrats on the release (candidate). :) |
|
[08:15] <fullermd> Sent. |
|
=== poolie1 changed the topic of #bzr to: Bazaar version control system | http://bazaar-vcs.org | please test case-insensitivity in 1.11rc1 | http://irclogs.ubuntu.com/ | http://planet.bazaar-vcs.org/ |
|
[08:23] <vila> poolie1: ping |
|
[08:52] <poolie1> hi vila |
|
=== poolie1 is now known as poolie |
|
=== thekorn_ is now known as thekorn |
|
[09:31] <BUGabundo> hi guys |
|
[09:31] <BUGabundo> $ bzr branch lp:gwibber -Dhpss |
|
[09:31] <BUGabundo> Permission denied (publickey). |
|
[09:31] <BUGabundo> bzr: ERROR: Connection closed: please check connectivity and permissions (and try -Dhpss if further diagnosis is required) |
|
[09:31] <BUGabundo> HPSS calls: 1 <bzrlib.smart.medium.SmartSSHClientMedium object at 0x27056d0> |
|
[09:31] <BUGabundo> means anything to anyone? |
|
[09:33] <fullermd> --> Permission denied (publickey). <-- |
|
[09:34] <BUGabundo> I know! but what that is mean? |
|
[09:34] <BUGabundo> launchpad permission changed? |
|
[09:34] <BUGabundo> or did my key expire? |
|
[09:34] <fullermd> That you don't have your key set up on LP (or you're trying to use a different key) |
|
[09:35] <BUGabundo> how do I check what key am I using with brz branch? |
|
[09:36] <fullermd> It should just use whichever ssh will grab. |
|
[09:38] <BUGabundo> can you help me debug it, please? |
|
[09:40] <luks> try: sftp -v [email protected] |
|
[09:40] <fullermd> I don't really know how to offhand. I've only got one private key. |
|
[09:45] <BUGabundo> http://paste.ubuntu.com/102634/ |
|
[09:49] <BUGabundo> is it any helpful fullermd, luks ? |
|
[09:50] <luks> it means that neither of the keys matches https://launchpad.net/~bugabundo/+sshkeys |
|
[09:50] <BUGabundo> I only have 1 sshkey |
|
[09:51] <BUGabundo> its the same for years |
|
[09:52] <luks> you have at least two in ~/.ssh :) |
|
[09:53] <BUGabundo> let me check just to be sure! |
|
[09:54] <BUGabundo> yeah just one private and one public key in there |
|
[09:54] <BUGabundo> AFAICT |
|
[09:54] <luks> no, two private keys |
|
[09:54] <luks> one RSA and one DSA |
|
[09:54] <BUGabundo> ahh |
|
[09:55] <BUGabundo> I have an RSA |
|
[09:55] <BUGabundo> 7a:0b:6f:40:da:92:69:30:fe:24:94:37:b7:67:e9:9f |
|
[09:55] <BUGabundo> B767E99F |
|
[09:55] <luks> well, does the public key you have there look like https://launchpad.net/~bugabundo/+sshkeys ? |
|
[09:55] <BUGabundo> 1024D/A1784EBB |
|
[09:56] <BUGabundo> oh wait |
|
[09:56] <BUGabundo> messing SSH keys with GPG |
|
[09:56] <BUGabundo> I have an expired DSA |
|
[09:57] <BUGabundo> on my [email protected] key |
|
[09:57] <BUGabundo> could be it! |
|
[09:59] <BUGabundo> just re-did the import key process and got : The key B905F0C5B1924A9BA8F77E5A6398A34BA1784EBB has already been imported. |
|
[09:59] <BUGabundo> bah |
|
[10:00] <BUGabundo> could a name change cause this prob luks? |
|
[10:00] <BUGabundo> mine is .ssh/id_rsa.1.pub and not .ssh/id_rsa.pub |
|
[10:01] <luks> you need a matching private+public key |
|
[10:01] <BUGabundo> fixed! |
|
[10:02] <BUGabundo> some how the key got renamed!!!!!! |
|
[10:03] <BUGabundo> should I file a bug ? |
|
[10:03] <luks> a bug where? |
|
[10:04] <BUGabundo> maybe gnome-keyring (2.25.4.1-0ubuntu1) jaunty; urgency=low |
|
[10:04] <BUGabundo> got an update today! |
|
[10:06] <luks> heh, jaunty |
|
[10:07] <BUGabundo> ehehe |
|
[10:11] <BUGabundo> luks by the way... do you know what's up with bzr-beta at LP PPA? |
|
[10:12] <luks> no, sorry |
|
[10:12] <BUGabundo> getting 404 for a week |
|
[10:20] <BUGabundo> filed here https://bugs.launchpad.net/ubuntu/+source/gnome-keyring/+bug/315398 |
|
[10:20] <ubottu> Launchpad bug 315398 in gnome-keyring "ssh key renamed (possibly) after upgrade" [Undecided,New] |
|
[10:30] <Lo-lan-do> Hi all |
|
[10:32] <Lo-lan-do> beuno: I think you might be interested in the first patch in http://bugs.debian.org/511295 |
|
[10:32] <Lo-lan-do> It relates to #305985 in Launchpad |
|
=== james_w` is now known as james_w |
|
=== EarthLion is now known as Ollie| |
|
[11:24] <eleftherios> is there something lik Trac for bazaar other than the bzr trac plugin? |
|
[11:24] <eleftherios> something that I can install on my server, not hosted elsewhere |
|
[11:37] <LeoNerd> "Something like FOO that isn't FOO" <== you'll have to explain what FOO-likeness you want |
|
[12:00] <eleftherios> LeoNerd: an alternative to Trac that also works with bazaar and isn't offered only as a hosted service. |
|
[12:01] <LeoNerd> Trac does a -lot- of things.. is it just the source browser you wanted? |
|
[12:01] <LeoNerd> Or bug trackign / tickets / wiki / ... |
|
[12:01] <eleftherios> LeoNerd: bug tracking, tickets and source browser |
|
[12:02] <eleftherios> timeline |
|
[12:02] <eleftherios> would be nice |
|
[12:11] <fdv> the new unshelve commands (not bzrtools) fails with 'bzr: ERROR: No such file: None', same as reported in https://bugs.launchpad.net/bzr/+bug/309097, does anybody know if there's any other way of looking at the "shelf" and retreiving what's there as e.g. a patch? |
|
[12:11] <ubottu> Launchpad bug 309097 in bzr "bzr unshelve fails with "No such file: None"" [Undecided,New] |
|
[12:12] <fdv> right :) |
|
[12:14] <vila> bzr shelve --list ? |
|
[12:15] <fdv> vila: nope, not in 1.10 |
|
[12:15] <fdv> that one's omitted |
|
[12:15] <vila> fdv: Oh yes, you have to upgrade to 1.11 ;-) |
|
[12:15] <asac> hi |
|
[12:16] <fdv> vila: which, incidentally, is still not out :) |
|
[12:16] <asac> bzr-git ... can i use that for production yet? |
|
[12:16] <fdv> vila: and I need svn-integration |
|
[12:16] <asac> i dont need full support. just want to track a single git branch read-only |
|
[12:16] <vila> fdv: 1.11rc1 release this morning :) (Or a few hours ago, depending on your TZ) |
|
[12:17] <fdv> ooh |
|
[12:17] <vila> fdv: But anyway, sheve --list couldn't make it in 1.10 and that's really what you want... |
|
[12:17] <fdv> well, yes and no, I guess, as I want the contents of the patch-sets as well |
|
[12:18] <fdv> actually, that's what I want |
|
[12:18] <fdv> hm, maybe try 1.11 locally and see if it |
|
[12:18] <fdv> ...'s able to unshelve for me |
|
[12:19] <vila> To see the shelf content I think you want 'bzr unshelve --dry-run <SHELF_ID>' |
|
[12:19] <fdv> vila: yes, but that fails with the above error :p |
|
[12:22] <vila> fdv: Oh sorry, I don't use shelve myself :-/ Looking at the code, a shelf-id seems do be of the form shelf-([1-9][0-9]*)... |
|
[12:22] <fdv> vila: it apparently finds the correct patch set |
|
[12:23] <fdv> as it reports the message I input |
|
[12:23] <fdv> but it fail :p |
|
[12:23] <fdv> fail_s_ |
|
[12:27] <fdv> crap, same error with 1.11 |
|
[12:27] <fdv> so the contents are presumably broken |
|
[12:27] <fdv> :( |
|
[12:28] <fdv> vila: but thanks for the tip :) |
|
[12:29] <vila> np |
|
[13:21] <beuno> Lo-lan-do, thanks |
|
=== asac_ is now known as asac |
|
[14:06] <Lo-lan-do> beuno: Speaking of loggerhead, how can I know whether caching is used? |
|
[14:07] <beuno> Lo-lan-do, it should create a sqlite db in /tmp |
|
[14:10] <Lo-lan-do> I see. Any reason not to use the cachepath config entry? |
|
[14:11] <beuno> Lo-lan-do, ah, right, if you use start-loggerhead instead of serve-branches, it does |
|
[14:12] <beuno> for the next release, I'm planning on adding a config file for serve-branches so we can get rid of start-branches all together |
|
[14:12] <Lo-lan-do> I use serve-branches. |
|
[14:13] <Lo-lan-do> Oh, maybe I misunderstood. |
|
[14:13] <beuno> right, so serve-branches doesn't use the config file at all |
|
[14:13] <Lo-lan-do> Okay. |
|
[14:13] <beuno> it will use *a* config file(s) in the next release :) |
|
[14:13] <Lo-lan-do> But yes please, do get rid of start-loggerhead :-) |
|
[14:14] <beuno> heh, will do! |
|
[14:15] <Lo-lan-do> Do you use a lot of features from YUI ? |
|
[14:15] <beuno> not at the moment, but we will more and more |
|
[14:16] <beuno> I have a few branches that start using it heavily |
|
[14:16] <beuno> but most of the current javascript is still mootools, so I need to migrate code over |
|
[14:16] <Lo-lan-do> It's just that I also submitted bugs.debian.org/511286, which is a patch to use the YUI provided by the system. |
|
[14:17] <Lo-lan-do> And the system currently only provides 2.5, so I wondered whether that would risk breaking because you use more recent features. |
|
[14:17] <beuno> Lo-lan-do, I suspect that libjs-yui isn't going to be YUI3 |
|
[14:17] <beuno> right, 3.x and 2.x are incompatible |
|
[14:17] <Lo-lan-do> Damn. |
|
[14:18] <beuno> yeah :/ |
|
[14:18] <Lo-lan-do> I did some testing which seemed to work, but I don't know what YUI is used for so I didn't know what to test. |
|
[14:18] <beuno> in general, we're going to be following YUI3 on the cutting edge |
|
[14:18] <beuno> so as they release new versions, we will probably update the code |
|
[14:18] <beuno> Lo-lan-do, it works because the current code doesn't use YUI at all in trunk ;) |
|
[14:19] * Lo-lan-do grumbles about shipping copies of external code |
|
=== asac_ is now known as asac |
|
[14:48] <awilkins> cd |
|
[14:54] <Spads> I have a question about config files in-tree: I have a default config file that I maintain with sensible defaults. When I do a checkout, I often need to change this file for local development. If I ignore the file in development, the .bzrignore gets mingled, and if I don't ignore it I just know I'll end up doing something dumb like publishing my database password. How can I safely avoid transmitting conf file changes without telling the other ... |
|
[14:54] <Spads> ... branches to ignore this file? |
|
[14:54] <Spads> So far I've just been grumbling and doing very selective commits on my development branches, but I just know I'll slip up at some point. |
|
[14:55] <kumi> I usually maintain a separate .template file for that type of thing |
|
[14:55] * awilkins was just about to say that |
|
[14:55] <kumi> and remove the live config file from version control |
|
[14:57] <Spads> hmmm. Part of the point of having the defaults is that the app Just Works when you run it |
|
[14:57] <awilkins> I also implement this by having the app read both user settings and the defaults |
|
[14:57] <awilkins> And having user settings mask defaults |
|
[14:58] <awilkins> You can then still have a user config file that you ignore but edit the defaults |
|
[14:59] <Spads> hmm, I was really hoping for a bzr solution |
|
[14:59] <Spads> I mean, i've gone through ways I could change the app, and I'd rather not |
|
[14:59] <Spads> since the behavior of this config file comes from upstream tools |
|
[14:59] <awilkins> You're asking for a way to version the file, but not version the file - I think that's a bit much to ask of a version control system :-) |
|
[15:00] <beuno> Spads, what I do, is add the file the first time with example values, commit, ignore |
|
[15:00] <Spads> beuno: and what do you do if you need to update the defaults? |
|
[15:00] <beuno> then, we you want to re-structure it, commit it explicitly |
|
[15:00] <Spads> aha |
|
[15:00] <Spads> okay that sounds like a good way to go about it. |
|
[15:00] <beuno> of course, that won't update the other branches |
|
[15:00] <beuno> because it's ignored |
|
[15:00] <Spads> oh |
|
[15:01] <Spads> well it's defaults |
|
[15:01] <awilkins> erm... even if you ignore it, it will still notice changes if it's in the inventory |
|
[15:01] <Spads> awilkins: from a merge or pull? |
|
[15:01] <awilkins> ignore only prevents new files being added implicitly |
|
[15:01] <Spads> ah |
|
[15:01] <Spads> I see |
|
[15:01] <beuno> awilkins, ir tracking changes to it |
|
[15:01] <beuno> s/ir/or |
|
[15:03] <beuno> hrm |
|
[15:03] <awilkins> beuno: No, ignore does not stop it tracking changes |
|
[15:03] <beuno> you can't ignore a committed file... |
|
[15:03] <awilkins> beuno: It only prevents "bzr add" adding it to the inventory |
|
[15:04] <awilkins> You can ignore patterns that correspond to inventoried files but it will warn you |
|
[15:04] <beuno> yeap yeap, I was wrong |
|
[15:04] <awilkins> And those files continue to be tracked |
|
[15:04] <beuno> Spads, so, 2 options AFAIK: 1. use configfile.example, 2. use a Makefile and have those files ignored by default |
|
[15:05] <Spads> Sad. |
|
[15:05] <awilkins> The only solutions to this AFAIK involve i) Being careful with commits (using shelves, looms, and discipline) - that always failes |
|
[15:05] <Spads> awilkins: yeah, basically that's where I'm at. |
|
[15:05] <awilkins> ii) Not versioning live config files |
|
[15:05] <awilkins> (in source, anyway |
|
[15:05] <awilkins> People version /etc and the like, but that's deliberate |
|
[15:05] <Spads> what if in my devel version I did a bzr rm --keep first |
|
[15:07] <awilkins> The file will stick around. If it's ignored, it won't be added to the inventory automatically. Changes will not be propagated to downstream branches |
|
[15:07] <awilkins> Because they won't be versioned at all. |
|
[15:08] <Spads> I think this may be the safest way to do this then |
|
[15:08] <Spads> rm --keep it in production and development branches, and ignore it |
|
[15:08] <Spads> if that propagates to published branches, no harm no foul |
|
[15:08] <Spads> easily repaired |
|
[15:09] <Spads> no launch codes problems |
|
[15:38] <fdv> are there anybody around who knows the merge / unshelve code? |
|
[16:16] <phinze> our dept switches to bzr today (!) |
|
[16:17] <phinze> so i may be around asking stupid questions :) |
|
[17:12] <mathrick> hiya |
|
[17:12] <mathrick> bzr is awfully slow to start up |
|
[17:13] <mathrick> bzr st on a non-repo takes at least 1.1s, after bzr and all is in the cache |
|
[17:13] <mathrick> hg st on the same dir takes 0.7s cold and 0.07s hot :( |
|
[17:13] <beuno> mathrick, what plugins do you have installed? |
|
[17:13] <mathrick> beuno: sec |
|
[17:14] <mathrick> http://pastebin.com/m5700f537 |
|
[17:15] <beuno> mathrick, try the same without SVN |
|
[17:16] <mathrick> beuno: indeed, down to 200ms |
|
[17:16] <mathrick> still 2x slower, but it's much better |
|
[17:16] <beuno> :) |
|
[17:16] <mathrick> now, why is bzr-svn so slow? |
|
[17:16] <beuno> I'm sure if you run it with --no-plugins or something, it will take even less |
|
[17:16] <beuno> loading plugins takes a bit more time |
|
[17:17] <beuno> I think svn tries to open the branch even if it isn't svn |
|
[17:17] <mathrick> yeah, I've had a couple of bugs because of it already |
|
[17:18] <mathrick> beuno: surprisingly, it takes 500ms with --no-plugins |
|
[17:19] <mathrick> somehow ENOACCESS on ~/.bazaar/plugins is faster |
|
[17:19] <beuno> mathrick, that is suprising |
|
[17:20] <mathrick> ...and if I remove it, instead of chmod 000, it goes up to 700ms |
|
[17:20] * mathrick files bugs |
|
[17:24] <jam> hey phinze, great to hear it |
|
[18:30] <ronny> yo |
|
[18:31] <ronny> LarstiQ: sup? |
|
[18:31] <LarstiQ> ronny: almost done with the flu |
|
[18:31] <LarstiQ> ronny: you? |
|
[18:31] <ronny> laptop half broke |
|
[18:31] <LarstiQ> ugh |
|
[18:31] <ronny> ok otherwhise |
|
[18:31] <ronny> but strugling with bzr again |
|
[18:32] * LarstiQ tests his brain |
|
[18:32] <LarstiQ> yes, I seem to be able to think again :) |
|
[18:32] <ronny> i still cant find a good idea to map bzr's idea of repo -> directory branch to anyvc |
|
[18:32] <ronny> the model needs to fit well with git and hg |
|
[18:33] <LarstiQ> right, I see. |
|
[18:33] <ronny> going around in cycles atm, but i need support for repo/branch creation, as well as bzrs "unique" view on pull vs merge |
|
[18:35] <ronny> its more fun to play around in prolog |
|
[18:35] <LarstiQ> ronny: shouldn't pull/merge decompose easily over all three considering allowing/disallowing auto ehm, something with forward? |
|
[18:35] <ronny> LarstiQ: on git/bzr you can just pull without merge |
|
[18:35] * LarstiQ suspects bazaar giving meaning to the left parent to be more of an issue |
|
[18:35] <ronny> eh git/hg |
|
[18:36] <LarstiQ> ronny: even when diverged? |
|
[18:36] <ronny> yup |
|
[18:36] <ronny> it will just make multiple heads |
|
[18:36] <LarstiQ> oh |
|
[18:36] <ronny> same goes for monotone |
|
[18:36] <LarstiQ> just make a new branch? |
|
[18:37] <ronny> that would be messing with the users directory setup, kinda unacceptable, guess i'll just have to error out |
|
[18:37] <LarstiQ> is the the on disk result of what anyvc does important? |
|
[18:37] <LarstiQ> or will all interaction go through anyvc anyway? |
|
[18:37] <ronny> LarstiQ: never ever implicitly mess with users stuff |
|
[18:37] <LarstiQ> ronny: I don't see hg/git being different here than bzr conceptually |
|
[18:37] <ronny> LarstiQ: also bzr is the only one that merges from a remote |
|
[18:38] <ronny> in git/hg you are in a workdir repo, pull in stuff, then merge heads |
|
[18:38] <ronny> in bzr you merge from the remote side |
|
[18:39] <ronny> (which might occasionaly be a local branch in the same repo, but still a different dir |
|
[18:39] <LarstiQ> right |
|
[18:39] <ronny> and thats a BIG difference to deal with |
|
[18:39] <LarstiQ> if anyvc manages the collection of branches, what is wrong with adding a new one to the collection? |
|
[18:39] <ronny> its not expected to happen implicit |
|
[18:40] <LarstiQ> but didn't the user explicitly say "anyvc-pull"? |
|
[18:40] <ronny> yeah |
|
[18:40] <ronny> but pull != make me a new branch |
|
[18:40] <ronny> i guess i'll have to make pull error out just like bzr pull errors out on that case |
|
[18:40] <LarstiQ> ronny: if you want a unified working, I think it needs to be |
|
[18:41] <LarstiQ> hg/git pull is more like that than bzr pull on a branch |
|
[18:41] <ronny> LarstiQ: from my point of view it would be unacceptable behaviour to create just another branch dir in the repo |
|
[18:41] <LarstiQ> they operate on repositories instead of branches |
|
[18:41] <LarstiQ> ronny: if the user is aware that is what is going to happen, why is it unacceptable? |
|
[18:41] <ronny> the 3 of them do not expose it in the fs, so its ok |
|
[18:41] <LarstiQ> as long as you don't stomp over existing stuff |
|
[18:42] <ronny> i guess i can add a fetch operation that combines pull/merge for git/hg and does a merge for bzr |
|
[18:42] <LarstiQ> can git/hg just pull on one branch? |
|
[18:42] <LarstiQ> and error on divergence? |
|
[18:43] <ronny> they dont error on divergence |
|
[18:43] <LarstiQ> ronny: you need some clearly defined semantics :) |
|
[18:43] <ronny> yeah, guess i'll make up some logic |
|
[18:43] <ronny> hmm |
|
[18:45] <ronny> LarstiQ: its a tricky hell ( |
|
[18:46] <ronny> i'll cook up some prolog things to define the semantics and proof them |
|
[18:46] * LarstiQ has no prolog experience |
|
[18:46] <ronny> prolog rocks |
|
[18:46] <ronny> http://ronny.uberhost.de/2009/1/7/how-to-mimic-sql-in-prolog <- my most recent toy |
|
[18:47] <ronny> it took ages to get the operators right |
|
[18:47] <ronny> but its cool :) |
|
[18:48] <LarstiQ> sql in prolog? dude :) |
|
[18:48] <ronny> just the syntax |
|
[18:48] <ronny> i want to add a dml/ddl and do some analysis + a pseude-query-optimizer |
|
[18:49] <ronny> dml = data-modeling-language (ie create *), ddl = data-definition-language (ie insert/update *) |
|
[18:49] * LarstiQ nods |
|
[18:50] <ronny> hmm |
|
[18:50] <LarstiQ> ronny: does this have any impact on sqlalchemy? |
|
[18:50] <ronny> no idea, probably not |
|
[18:57] <cr3> can I branch over http on launchpad? |
|
[18:58] <luks> yes |
|
[19:01] <ronny> LarstiQ: hmm, another weird thing will be monotone |
|
[19:02] <ronny> they have repo + branches together (even unrelated branches) and the workdir is just refering to the repo |
|
[19:03] <LarstiQ> ronny: how is that different from hgit? |
|
[19:04] <ronny> LarstiQ: you have n workdirs for each repo, not just one |
|
[19:04] <ronny> the repo is a sqlite db |
|
=== beaumonta is now known as abeaumont |
|
[19:04] <ronny> neat, powerfull and slow as hell |
|
[19:05] <LarstiQ> so you have n workdirs, each refering to the _entire_ repo and having b heads? |
|
[19:06] <ronny> LarstiQ: each workdir refers to a revision in the repo |
|
[19:07] <LarstiQ> can you commit in a workdir? |
|
[19:07] <LarstiQ> (I hope so) |
|
[19:07] <LarstiQ> if so, it automatically moves to the new revision? And leaves all the other workdirs where they were? |
|
[19:15] <ronny> LarstiQ: yup, pretty much like that |
|
=== rocky1 is now known as rocky |
|
[19:37] <verterok> jelmer: ping |
|
[19:37] <verterok> Hi all! |
|
[19:37] <jelmer> verterok: pong |
|
[19:38] <mathrick> jelmer: bzr-svn makes bzr startup horribly slow |
|
[19:38] <verterok> jelmer: maybe this is of your interest :). Bug #290711 |
|
[19:38] <ronny> yo jelmer |
|
[19:38] <ubottu> Launchpad bug 290711 in bzr-xmloutput "bzr-xmloutput memory leak?" [Undecided,New] https://launchpad.net/bugs/290711 |
|
[19:38] <ronny> sup? |
|
[19:38] <mathrick> is there any plan to fix that? |
|
[19:39] <jelmer> mathrick: are you sure? Last time I checked the majority of the startup time was in the launchpad plugin |
|
[19:39] <mathrick> ronny: doesn't that multi-workdir system of theirs cause problems? What problems does it solve, anyway? |
|
[19:39] <jelmer> hey ronny |
|
[19:39] <ronny> mathrick: monotone#s multi-workdir system causes no problems |
|
[19:40] <ronny> jelmer: having some issues mapping bzr to anyvc |
|
[19:40] <jelmer> verterok: that's a known bug fixed in 0.5 |
|
[19:40] <ronny> differences in the pull/push/merge concepts due to the lack of multiple heads |
|
[19:40] <verterok> jelmer: oh, great! |
|
[19:41] <mathrick> ronny: but if you move one workdir, the others will have automatically diverged. That sounds like a recipe for disasters |
|
[19:41] <jelmer> verterok: it would only happen by constant trying to open a location as a branch though |
|
[19:41] <jelmer> ronny: what do you do for e.g. svn? |
|
[19:42] <verterok> jelmer: yes, the xmlrpc-service stays in memory and accept commands just like the CLI |
|
[19:42] <mathrick> jelmer: I'm not sure anymore |
|
[19:42] <verterok> jelmer: so it open the branch each time :/ |
|
[19:42] <ronny> mathrick: but its ok, you just use them like branches |
|
[19:42] <mathrick> ronny: oh, so workdirs have their own heads? |
|
[19:42] <ronny> mathrick: there is basically no real difference in usage to a bzr repo with directory branches |
|
[19:42] <mathrick> if so, calling them workdirs is misleading |
|
[19:42] <ronny> mathrick: workdirs just point to revs |
|
[19:42] <ronny> the revs are in the shared repos |
|
[19:43] <mathrick> sure, but "workdir" for me is files on disk, not anything directly related to any repos or revs |
|
[19:43] <ronny> jelmer: no repo support for svn, it cant deal with most things, and there is no reliable way to deal with branches/tags |
|
[19:44] <jelmer> ronny: So fwiw, I've been working on multi-head support in bzr |
|
[19:44] <jelmer> ronny: for now, you should be able to just always report a single head |
|
[19:45] <ronny> yup, however i cant yet use the pull;merge workflow |
|
[19:45] <ronny> i guess i'll map it to fetch for now |
|
[19:45] <ronny> (what git/hg do for combined pull/merge |
|
[22:52] <kumi> Hi folks, I'm finding bzr abnormally slow. I have this modest branch with 299 revisions, and I recently moved the remote server to a new location. I setup the new ssh keys and so forth, and tried a test push (a tiny change.) It took 15 minutes! |
|
[22:52] <kumi> Then I committed another tiny change, and pushed again. This time it only took a few seconds. |
|
[22:52] <kumi> What's going on? |
|
[22:53] <kumi> Does bzr detect a new location and scan through the entire remote branch history, or something like that? |
|
=== Mario__ is now known as pygi |
|
[23:01] <Peng_> kumi: Nothing odd should happen if you change the push location. My only guess is that you pushed to the wrong location, so it had to upload everything. (Anyway, I'm going AFK now. Sorry I couldn't really help.) |
|
[23:02] <Peng_> kumi: Oh! If it's a large branch, or you're on a horribly slow internet connection, it may have decided to pack the repository, which would involve downloading and re-uploading a potentially significant amount of data. |
|
[23:03] <Peng_> kumi: (I mean, it'll pack it occasionally no matter the size of the repository or speed of your connection, but if it's small and you have a fast connection, it shouldn't take long...) |
|
[23:04] <Peng_> kumi: So anyway, I'm going to change my guess to "the repository was packed". It's just a coincidence that it happened when you moved servers. |
|
[23:04] * Peng_ goes AFK |
|
[23:08] <Jc2k> jelmer: yo |
|
[23:10] <Jc2k> jelmer: i just cobbled together a front end for difflib.SequenceMathcher that emits the git delta opcodes used in packs |
|
[23:25] <kumi> Peng_: thanks for the info. I actually just copied the .bzr from one server to another, and didn't do anything else. the repo is very small. |
|
[23:26] <kumi> How can I tell if a repo is packed? my local one reads: |
|
[23:26] <kumi> repository: Packs 6 rich-root (uses btree indexes, requires bzr 1.9) |
|
[23:26] <kumi> I guss that means it's packed? Can I unpack it, somehow? |
|
[23:26] <kumi> *guess |
|
=== mark1 is now known as markh |
|
[23:34] <kumi> Nevermind, pushing is quick now, and I don't plan to change push location again any time soon |
|
[23:49] <fullermd> Er, if the branch were in a repo on the old server, and you just copied its .bzr, it DID have to push all the revs... |
|
[23:54] <enigma> Hm...I'm seeing a strange bzr-svn error using 0.5 |
|
[23:54] <enigma> bzr: ERROR: exceptions.AssertionError: Empty parent 'dfe-mon/branches' added, but child 'dfe-mon/branches/foo' wasn't added !? |
|
|