/srv/irclogs.ubuntu.com/2011/06/05/#bzr.txt

jelmer_workthrick: that's not really possible without breaking all git imports in existance or changing the way nested trees work02:41
=== jelmer_ is now known as jelmer
workthrickjelmer: can't you make it happen only on new imports, and/or only if you opt-in with an option?04:43
bignoseAttempting to work with Gitorious repositories10:07
bignose$ bzr branch --bind git://git@gitorious.org:dive-into-html5/dive-into-html5.git devel/10:07
bignosebzr: ERROR: The remote server unexpectedly closed the connection.10:07
=== tomaw_ is now known as tomaw
bignoseI can clone it with Git, but then attempting to branch locally from a Git repository fails10:08
bignoseprobably because I don't know how to tell Bazaar that the local directory is a Git repository.10:08
bignosesame failure if I try ‘git+ssh’10:09
bignosebzr branch --bind git+ssh://git@gitorious.org:dive-into-html5/dive-into-html5.git devel/10:09
gourbignose: have you tried cloning something from github? i also get error with the above branch10:37
maxbbignose: You have a colon between the hostname and the path. That's not an URL11:06
bignosemaxb: thanks. I was (obviously) cribbing from a URL designed for use with Git.11:13
bignosejelmer: now I get “AttributeError: 'RepositoryFormat2a' object has no attribute 'supports_full_versioned_files'”11:13
maxbHuh. It's news to me that git doesn't use standard URLs too11:13
bignosefrom /usr/lib/python2.6/dist-packages/bzrlib/plugins/git/fetch.py11:13
bignosemaxb: I'm sure it does, but being Git, it probably supports a zillion different syntaxes also.11:14
maxbbignose: I'd suggest version skew between bzr core and the bzr-git plugin11:14
* gour suggests (most of) people to move to bzr :-)11:14
lifelessbignose: strictly speaking, its not a URL, whether git accepts it or not11:15
bignoselifeless: is this a “URI versus URL” distinction?11:16
lifelessno11:16
bignose'cos the ‘git+ssh://git@gitorious.org/dive-into-html5/dive-into-html5.git’ looks like a URI to me11:16
bignoseI'm pretty sure it meets the URI standard also11:17
lifelessthats a url11:17
lifelessgit+ssh://git@gitorious.org:dive-into-html5/dive-into-html5.git isn't11:17
bignoselifeless: yes, agreed.11:17
lifelessper std6611:17
lifelessthe new error you are getting11:17
bignosemy point being that while I'm sure Git accepts standard URIs, I'm sure it *also* accepts loads of things which aren't URIs11:18
lifelessis a version skew in the bzr-git <-> bzrlib version you're working with11:18
bignoseand those creep into documentation (such as the “how to branch this repo” instructions on Gitorious)11:18
bignoseokay. [insert standard until-OpenID-relying-party-support-on-Launchpad-no-bug-report-from-me] I hope it can be reported and fixed.11:19
lifelessjelmer is busy refactoring a tonne of stuff to get better test coverage11:20
bignosegreat.11:20
lifeless(making good use of his full time work on bzr ;))11:20
bignoseI'm madly impressed with Jelmer's work of late11:20
lifelessone of the things is that he's adding flags indicating what features the repository implementations handle11:20
lifelessanyhow11:21
lifelesspoint is, this is transient11:21
lifelessnext stable bzr release will make the bzr-git version work11:22
gour2.4?11:23
lifelesssomething like that11:26
maxbYikes, importing the linux kernel into an UDD branch from scratch looks like it's going to take days12:04
maxb8 hours runtime, and it's still not done hardy yet12:05
spivmaxb: trying with trunk bzrlib?12:09
spivI have a suspicion that jam's speed improvements will probably help a least a bit there, maybe a lot.12:10
maxbhmm, actually this machine is still on 2.3.x12:10
jelmerbignose: that issue has been fixed in bzr-git trunk a while ago.. where are you getting your bzr-git?13:20
bignosejelmer: Debian, as usual.13:31
bignosebzr-git 0.6.0+bzr1223-113:32
jelmerbignose: I'll upload a new version to sid13:44
bignosejelmer: a new release?13:47
jelmernew snapshot13:47
bignosehmm. isn't such a fix worth at least a point release?13:47
jelmerbignose: the regression isn't actually in any release13:47
* bignose laments that people seem to avoid releases more often these days13:47
bignoseah okay.13:47
jelmerI don't want to do a new release for every single bugfix :)13:48
bignosejelmer: congrats on what appears to be some pretty awesome improvement to Bazaar performance13:48
jelmerbignose: blame jam :)13:49
bignoseah, hm, wrong “J'm” person :-13:49
bignose)13:49
jelmer:)13:49
bignosejelmer: well, congrats on making my current job far nicer: ‘bzr-svn’ saves me heaps of frustration13:50
jelmerthanks - that's great to hear13:51
maxbSomeone declined bzr-core from bzr-codereview-subscribers16:18
jelmermaxb: see the email16:33
jelmermaxb: Aaron did16:33
maxbyes16:33
maxbBut then I figured out how to make it a member myself anyway16:33
maxb:-)16:33
maxbjelmer: By the way, what's going on with the dulwich trunks? ~vcs-imports/dulwich/trunk and ~dulwich/dulwich/trunk have diverged16:35
jelmermaxb: should be fixed now16:55
maxbthanks16:55
jelmerhmm, the integration to make dulwich use bzr's ssh integration seems busted17:04
maxbjelmer: I'm still occasionally running into BzrCheckErrors manipulating dulwich branches, relating to the improper dpush-ing that I've mentioned in the past. What do you think about doing this:17:21
maxbErase the published shared repository on samba.org and replace it with one not suffering from the problem. Rename the old ~dulwich/dulwich/trunk to trunk-broken, and create a new one. This would at least prevent the bad data from spreading further, though it won't help with the cleanup.17:21
jelmermaxb: I'd like to get rid of the remaining inconsistent parent issues in bzr-git before doing that17:25
maxbWell, maybe just rename ~dulwich/dulwich/trunk to trunk-broken for now, then to communicate that people shouldn't be using it?17:26
=== yofel_ is now known as yfel
=== yfel is now known as yofel
=== tomaw_ is now known as tomaw
lifelessjelmer: maxb: what are the symptoms of that bad dpush ?21:45
lifelessbzrlib.errors.BzrCheckError: Internal check failed: Cannot add revision(s) to repository: missing referenced chk root keys: [StaticTuple('sha1:d34f39faee56e120a83e7cec4fe01c4fd5fd32f6',)] one of them ?21:45
jelmerlifeless: yes21:55
lifelessah22:03
lifelessso this has broken launchpad's deployment now22:03
lifelessa) how do we fix?22:03
lifelessb) how do we stop it breaking it again ?22:04
lifelessjelmer: ^22:04
lifelesswgrant: ^ may be useful for you later today22:04
lifelessheh22:06
maxblifeless: Hmm. I usually get "missing text keys" when I'm being bitten by this dulwich issue22:08
mgzis bugs.debian.org the upstream tracker for etckeeper?22:17
lifelessI don't thinkso22:17
mgzI'm not seeing anything on Joey Hess' webpage about where he wants bug reports22:17
mgzI imagine there's a file in the package that tells you22:18
elmomgz: bugs.debian.org, I'd imagine22:18
mgzwe've got a report against bzr over non-ascii filenames that seems to be being hit because etckeeper has some bogus environment for a cron script22:19
mgzthere's an existing bug entry for the issue our end, but it looks like it's worth filing something for the other part too22:21
mgzmight just be a problem with the guy's system but I don't know enough about locale weirdnesses on nix to tell22:24
lifelessmaxb: hi22:26
lifelessnvm22:28
lifelessactually yes, need to check22:31
lifelessmaxb: why are bzr and bzr-core members of bzr-codereview ?22:31
mgzit's a temporary measure until all the people who want to subscribe have a chance to22:31
maxblifeless: It's a transitional measure, did you see my email on bazaar@l.c.c ?22:32
lifelesswe only need -core22:32
lifelessbzr is a member of -core22:32
lifelesswith -core and bzr both non-open, we should change the owner to be -core too22:33
lifeless[or change it to be -council, but -council perhaps wants more members]22:33
maxbActually, having stared quite a bit at how the teams are configured in preparing for this, I'm planning to propose deleting ~bzr-core eventually22:33
lifelesswe can do a merge into ~bzr at that point22:34
maxbTrue22:34
maxbSo: short-term: Once one week is up, I will remove ~bzr(-core) from ~bzr-codereview-subscribers22:35
maxbLong-term: I want to continue working on obsoleting the existence of ~bzr-core22:36
lifelessman22:39
lifelessputting together custom pc's got -hard- over the last 10 years22:39
lifelessbut no mainstream vendor seems to want to sell a 32gb config :(22:40
fullermdIt's awful hard to do that on client hardware.22:40
lifelessfullermd: awful hard to do which bit?22:40
lifelessjelmer: :22:40
lifeless08:45 < lifeless> jelmer: maxb: what are the symptoms of that bad dpush ?22:40
lifeless08:45 < lifeless> bzrlib.errors.BzrCheckError: Internal check failed: Cannot add revision(s) to repository: missing referenced chk root keys: [StaticTuple('sha1:d34f39faee56e120a83e7cec4fe01c4fd5fd32f6',)] one of them ?22:40
fullermd32 gig (of RAM, I'm assuming)22:40
lifeless08:55 < jelmer> lifeless: yes22:40
lifeless09:03 -!- BasicOSX [~BasicOSX@c-75-73-131-27.hsd1.mn.comcast.net] has joined #bzr22:41
lifeless09:03 < lifeless> ah22:41
lifeless09:03 < lifeless> so this has broken launchpad's deployment now22:41
lifeless09:03 < lifeless> a) how do we fix?22:41
lifeless09:04 < lifeless> b) how do we stop it breaking it again ?22:41
lifelessfullermd: i-2600 + 4*8GB DDR3 sticks22:41
lifeless09:04 < lifeless> jelmer: ^22:41
lifeless09:04 < lifeless> wgrant: ^ may be useful for you later today22:41
fullermdYeah, and 8 gig DIMMs mean 4Gb DRAM chips, which are still quite rare.22:41
lifelessfullermd: http://ark.intel.com/Compare.aspx?ids=52213,52214,5221522:41
fullermd(or buffered DIMM's, in which case you're out of the client world)22:42
fullermdSure, that's what it's rated for.  Doesn't mean the DIMMs are at all easy to come by.22:42
lifelessfullermd: sure22:42
fullermd(and I'm awful suspicious of that sort of 'memory size' rating on a memory controller anyway...)22:43
fullermd2Gb DRAMs are relatively common now, which gives you 4 gig [unbuffered] DIMM's.  If you go to a 1366 socket or wait for 2011, that'll give you 3*2 of those, for 24 gig at least.22:44
lifelessfullermd: it is 201122:44
fullermdSocket 2011.22:44
lifelessah22:44
fullermdQ4 this year maybe?  Dunno offhand.22:44
fullermdI don't pay that much attention to schedules for Intel client chips, since they're out of my to-buy list.22:45
lifelessthe 3* is the gutfeld stuff isn't it ?22:45
lifelessanyhow, I want 4GB/thread22:45
fullermdThe top Nehalems and Westmere are tri-channels.  The tri Sandy Bridges are the 2011 stuff.22:45
lifelessyeah, I'm replacing my i920 - a trichannel22:46
jelmerlifeless: how has this broken launchpad deployment?22:46
fullermdOf course, I'm pretty sure they're all lower single-thread perf than the 2600.22:46
lifelessjelmer: see buildbot22:46
lifelessjelmer: what happens on buildbot will happen to the deploy path22:46
lifelessfullermd: the 920 has 4 cores 8 threads but w/6GB of ram as soon as I start to throw parallel work at it it thrashes :(22:47
jelmerlifeless: ah, hadn't seen that. I'll look into it tomorrow22:47
lifelessjelmer: well we kinda have to fix it today22:48
lifelessjelmer: or we'll mess up the schedule for db deploy this week22:48
lifelessjelmer: so if you want evidence captured or whatever, say so now ;)22:48
lifelessotherwise I suspect wgrant/spm are going to get rm-ing on the symptoms22:48
lifelessfullermd: so whats the cl7/cl9 refer to ?22:51
maxbNumber of clock cycles it takes the DRAM to set up for reading an address, I think?22:52
* maxb wonders if we *really* need an UDD import of the kernel :-/22:52
maxbThis Soyuz duplicate .orig.tar.gz is proving irksome22:53
lifelessskip that revision?22:53
jelmerlifeless: I'll see about having it cleaned up now22:54
lifelessjelmer: thanks, but there won't be a losa around for another hour or so - rather than working your weekend, you might like to just note what evidence you'll want kept22:54
jelmerlifeless: I have all that, I'd just rather get it cleaned up than to get that particular MP reverted22:55
lifelessjelmer: Oh, I wasn't thinking reversion22:56
lifelessrather widespread rm -rf of the working area and fresh pull22:56
lifelesss22:56
lifelessI wonder if you can shove a server 240 pin 8gb dimm into a 'client' motherboard22:57
lifelesssuccessfully22:57
jelmerlifeless: Ah, sorry - I thought you meant removing the revision in question. In that case I won't worry.22:59
lifelessthat wouldn't be my first choice as it would require another 10 hours of percolating test results to do that22:59
workthrickjelmer: did you see my question from re: can't have unique root IDs without breaking existing checkouts, yesterday/yestermorning?23:00
jelmerworkthrick: I think I replied to that23:01
workthrickmight be, but I don't think I got any answer, it was probably after I disconnected23:01
workthrickif you don't mind repeating, I'd appreciate23:02
jelmerI thought it was a question on Launchpad?23:03
workthrickah, no23:04
workthrickmight I have a link then?23:04
workthrick<workthrick> jelmer: can't you make it happen only on new imports, and/or only if you opt-in with an option?23:04
workthrickthat's what I meant23:04
jelmerworkthrick: there's no way to tell is a new import - somebody else with bzr-git may have done an import of the git repository23:05
fullermdlifeless: CL == CAS latency, which has to do with activating a column.  It's not exactly read access latency, but it's close enough that you can read it as a relative proxy.23:05
lifelessk23:05
fullermd(there are like a dozen different latency measures in DRAM, all of which give me a headache trying to understand)23:06
lifelessfullermd: do you happen to know if the i-2600 has rank limitations ?23:06
lifelessor do they not apply in ddr3 ? [all the docs I found so far talk ddr/ddr2]23:06
fullermdI think it just doesn't get talked about anymore; everybody handles dual-ranked DIMMS (16 chips, or 18 for ECC), and everything about that is in buffered territory.23:06
fullermds/about/above/23:07
lifelessfullermd: do consumer motherboards deal with buffered dimms ?23:08
workthrickjelmer: yes, but I can always opt into that, and even if that fails, I can always sync the two imports going through an intermediate git stage which is sure to interoperate. I'm much more concerned about the ability to interoperate with myself (and the ability to join multiple git checkoiuts into my project's repo) than potential somebody which might or might not exist. If I need to exchange patches with them, that's why I have a github branch in the fi23:08
workthrickrst place23:08
fullermdNope.  That's all Xeon/Opteron territory.23:08
lifelessah23:09
lifelessmaybe I should look at a mac pro23:09
fullermd(if they could, I'd have more than 8 gig.  ZFS == hungry!)23:09
workthrickjelmer: in other words, I don't care whether bzr will consider new-style and old-style imports related as long as the history is equivalent and the mapping to/from git is stable within a checkout23:09
workthrickand as long as you can get a related checkout by specifying explitictly which style you want, of course23:10
fullermdI don't remember offhand if it's the board or the memory controller that's overridingly important for buffered vs non.23:10
fullermdIf it's the board, you may be able to get a e.g. S1366 workstation board that will handle it.23:11
jelmerworkthrick: in other words, you would want an option to specify a custom bzr<->git mapping to use23:11
jelmerworkthrick: patches that make it easier to specifying the mapping are welcome, though I don't have any plans to work on this myself in the near future23:12
workthrickjelmer: rather something like --with-unique-roots or something, which'd tell bzr-git to create unique (but deterministic) root ID23:12
jelmerworkthrick: that requires a new bzr<->git mapping23:12
workthrickjelmer: the problem is that the lack of that creates interoperability problems for me _right now_, because I wanted to go keep a local temporary checkout of upstream github projects until my patches get accepted, by having a bzr-git checkout outside of my project repo, joining a copy into the project repo, working on patches on the bzr-git checkouts, then merging them into my project for immediate use at the same time I send pull requests upstream, so t23:15
workthrickhat I can switch transparently over to the upstream once they merge my patches23:15
workthrickbut I can't join more than one bzr-git checkout into my repo23:15
workthrickjelmer: right, but that mapping would be possible to create, right? Does git have something equivalent to root IDs, or something that can be deterministically transformed into one?23:16
jelmerworkthrick: I'm sorry this is creating problems for you at the moment but it's a nontrivial problem to fix properly; you're welcome to register your own custom mapping that has more unique file ids23:16
jelmerworkthrick: It's not just the root that's not unique, if two git repositories that are joined have a file named "README" this will also cause problems23:17
workthrickjelmer: sure, I understand it might not be trivial, I was just presenting the use case which I know creates problems (as opposed to wanting to merge with an independent old-style checkout, which is hypothetical for me at this time)23:17
workthrickjelmer: hmm, and is there something which somehow identifies a "repository" in a stable way?23:18
jelmerworkthrick: supporting the joining of multiple git-imported trees into a single bzr branch is not on top of the todo list at the moment23:18
workthrickfrom what I understand, bzr in 2a does that explicitly at the time you commit the first revision, creating a unique ID which then needs to be repeated for the trees to be considered related, right?23:19
jelmerworkthrick: there isn't really anything unique to identify a repository23:19
workthrickjelmer: is there some fastimport transformation I could apply mechanically to make it happen perhaps?23:19
jelmerworkthrick: you can use fastimport itself, without involving bzr-git at all23:20
workthrickjelmer: hmm, so if I have two unrelated fastexports of a the same repo, which ordinarily would be considered unrelated in bzr, will git treat them as related if I dpush?23:21
jelmerworkthrick: you can't dpush branches imported with bzr-fastimport23:21
lifelessfullermd: hah - http://www.asus.com/Motherboards/Intel_Socket_1155/Maximus_IV_Extreme/#specifications 'According to Intel® SPEC, the Max. 32GB memory capacity can be supported with DIMMs of 8GB (or above). ASUS will update QVL once the DIMMs are available on the market'23:21
workthrickjelmer: oh23:21
workthrickjelmer: so only branches bzr-git as marked as its own can be dpushed?23:22
workthrick*has23:22
javeI hve a branch which contains chonges I want to remove: http://bazaar.launchpad.net/~joakim-verona/inkscape/dbus-fixes/changes23:22
jelmerworkthrick: it's not whether they're marked or not, it's that branches created by bzr-fastimport don't contain the same data (and the history has to be *exactly* the same)23:23
workthrickjelmer: even if no filtering is done on fastimport? WHat's lost in this case?23:24
javethe undesired change is the removal of a file.23:24
jelmerworkthrick: how do you want to use dpush though, if the branches were joined with "bzr join" ? dpush would dpush the root branch23:24
workthrickjave: do you want to remove it from history, or just revert its effect?23:24
javethe problem is that the maintainers cant read the diff because the diff now is too large23:25
fullermdlifeless: Yah.  4Gb DRAM chips are somewhat beyond the "look, we can make this" stage, but aren't in mass prod yet.  And we're probably 2 or 3 memory shrinks away from them really filtering into the client market.23:25
workthrickjelmer: nono, that's why I have a separate bzr-git clone outside of the repo; I then copy it inside and join, so that I can still merge *from* the bzr-git (but not to, so the work happens on bzr-git copy)23:25
javeworkthrick: so, the shortest path to inclusion in trunk i guess23:25
fullermdlifeless: I was guessing 2014-5 the other day for when 8GB DIMMs get down to near $/gig parity.23:25
workthrickjave: I don't understand23:26
jelmerworkthrick: filtering is possiblein theory, but would have the same effect of using bzr-git to do the clone23:26
workthrickjave: but the maintainer can always say bzr st -c $revno23:26
jelmerworkthrick: it creates a branch with file ids that are based on the paths23:27
workthrickthat will show them additions and removals without showing a full content diff23:27
fullermd(2Gb DRAM's were in real, though limited, production in like 2009, but it's only this year that 4GB DIMMs got down close to pricing parity)23:27
workthrickjelmer: ah, so bzr won't assign a root ID upon the first commit?23:27
javeworkthrick: the burden seems to be on my shoulder if I want the patch accepted23:27
workthrickjave: I still don't understand what you want to do23:27
javeworkthrick: http://bazaar.launchpad.net/~joakim-verona/inkscape/dbus-fixes/revision/10013#po/inkscape.pot23:28
jelmerworkthrick: it still would - the branch would be exactly the same as if it were imported with bzr-git23:28
jelmerworkthrick: even if it wouldn't, bzr dpush would rewrite the branch to have a non-unique root file id23:28
javeworkthrick: po/inkscape.pot was removed there. Then I tried adding it back later but that didnt help23:28
lifelessfullermd: mmm, ugh.23:29
workthrickjelmer: xchat crashed, sorry23:29
jelmer<jelmer> workthrick: it still would - the branch would be exactly the same as if it were imported with bzr-git23:30
jelmer workthrick: even if it wouldn't, bzr dpush would rewrite the branch to have a non-unique root file id23:30
workthrickjelmer: okay, and would it be technically possible to register a mapping that synthesises IDs based on the first revision in the history? If so, I'd be satisfied with this measure of "identity", I don't really see much use in desperately trying to intermarry histories which differ on the first commit23:31
lifelessahha23:32
lifelessF3-16000CL7Q-8GBFLS(XMP)23:32
jelmerworkthrick: the root id isn't used to identify the tree in any way - it's just the file id of the root directory23:32
workthrickjelmer: so the ids would be, say, history[0].sha1 + path23:32
workthrickjelmer: I understand that23:33
workthrickbut we're talking about a custom mapping which creates unique IDs while being stable amongst related trees23:33
jelmerworkthrick: that would be possible to do for simple histories, not in all cases23:34
workthrickjelmer: oh, can you describe a case in which it'd fail?23:35
jelmerthe very first left hand side ancestor doesn't have to be the same for all revisions in a revision graph23:35
workthrickI can't really see a situation in which the first parent would be different23:35
fullermdlifeless: *blink*  That's a 4x set of 2GB's.23:36
workthrickjelmer: but wouldn't bzr then see them as unrelated?23:36
maxbjave: Is there still a problem? It looks like you put things right in 10022 ?23:36
jelmerworkthrick: http://pastebin.ubuntu.com/619457/23:36
jelmerworkthrick: for D and E that revision is different than for C and F23:36
jelmerworkthrick: for D and E that revision is different than for C, F and G23:36
workthrickjelmer: yes, but that's a situation in which you have two completely independent trees being merged, which won't arise unless the tree joins in another tree. I'd be happy to give up the ability to merge automatically git trees which join in other trees in exchange for being able to join in multiple trees myself23:39
javemaxb: heres the merge discussion: https://code.launchpad.net/~joakim-verona/inkscape/dbus-fixes/+merge/5987723:39
jelmerworkthrick: it doesn't have to involve a join - you can merge arbitrary trees together any time23:40
workthrickjelmer: unless I'm not seeing something and such a situation can arise in the course of normal single-tree history, I'm perfectly happy to work only on simple histories23:40
workthrickjelmer: sure, I know, a join is nothing else than an automated way to do a specific type of two-tree merge23:40
jelmerworkthrick: so, in that case you can add a custom bzr plugin which registers a new bzr-git mapping that does what you want23:40
workthrickbut it's a tradeoff I'm willing to take23:41
workthrickjelmer: mhm, would you mind outlining how that is done?23:41
jelmerworkthrick: it wouldn't be something that's suitable for inclusion in bzr-git itself, because of the limitations mentioned23:41
lifelessfullermd: yes, bad QVL bad23:41
jelmerworkthrick: sure23:41
lifelessfullermd: took me a bit to work that out23:41
maxbjave: Did you actually intend there to be any modifications to the pot file on your branch? Can we just throw it away and revert to trunk's version of it?23:41
jelmerworkthrick: you would need to create a subclass of BzrGitMapping (see mapping.py in bzr-git)23:42
jelmerworkthrick: and then register it23:42
workthrickjelmer: what about making it an default-off switch you have to specify explicitly to get that? The very reason I'm using bzr-git is because it allows me to play with github upstream trees without touching git, so I imagine I'm not the only person ever to have the problem23:42
javemaxb: yes if I ca revert to the trunk version that woulb be fantastic23:43
workthrickjelmer: ah, cool. And how do I get at the first revisions sha1?23:43
javemaxb: I have no idea why it got removed in the first place23:43
maxbjave: People seem to have given an answer to why in the merge proposal comments23:44
workthrickjelmer: so basically bzr clone --with-unique-ids git://foo.git?23:44
maxbjave: Anyway, I think "bzr revert -r ancestor:lp:inkscape po/inkscape.pot; bzr commit" should sort things out23:44
javemaxb: thanks!23:44
jelmerworkthrick: it's not suitable for mainstream use because of the corner case mentioned, it's a nontrivial amount to support that too23:44
jelmerworkthrick: adding options to bzr clone isn't possible from within bzr-git at the moment- it would need patching of bzr itself23:45
workthrickjelmer: even if it'd be documented to have that limitation and that it's intended to support a specific use-case you're supposed to understand?23:45
workthrickjelmer: oh23:45
javemaxb: well obviously I made an error. what I meant is that I cant figure out how I made that error. I dont recall doing "bzr clean>23:45
jelmerworkthrick: it's too much effort to support that properly, I would rather work on fixing the more structural issues with file ids23:45
workthrickOK23:46
workthrickjelmer: and I'll be still able to push to github and interoperate within imports using that mapping afterwards?23:46
jelmerworkthrick: you should be able to, in theory23:48
jelmerworkthrick: this is all untreated territory so you might run into bugs23:48
workthrickthat's what I'm after, otherwise I can just import the files without history and not bother pulling in the history23:48
workthrickjelmer: aha23:48
workthrickI'll take a stab at it tomorrow-ish then23:48
jelmerI'm happy to give advice and help fix the more structural bugs in bzr-git you might run into23:49
workthrickjelmer: one more thing, what does getting the first revision and its sha1 involve?23:49
workthrickdo I use pure bzr APIs, or some bzr-git/dulwich specific ones23:50
workthrick?23:50
workthrickjelmer: sure, thanks. That's one thing I've never had any reasons to complain about in your plugins :)23:50
workthrickand I sure ran into more bzr-svn bugs than I can count23:51
jelmerworkthrick: you might have to patch bzr-git to allow it to do something like that23:51
workthrickjelmer: aha, I will bother you tomorrow then. Will you accept such patches as long as they're clean and don't change the default behaviour?23:51
jelmerworkthrick: depends on the patch I guess; I don't mind e.g. passing along the revision id of the current revision, but not the revision of the first one in the ancestry (which would impact performance)23:52
workthrickjelmer: yes, I suspected it'd impact performance, but exposing an on-demand pathway to it would be kosher?23:53
javemaxb: the diff seems much better now. thanks again23:53
jelmerworkthrick: again, really depends on the patch23:53
workthrickjelmer: also is there a mechanism bzr-git can use to mark trees it created with that mapping to recognise them later on?23:54
jelmerworkthrick: the first bit of the revision id identifies the mapping23:54
workthrickaha, cool23:54
jelmere.g. if you look at the revision id of standard bzr-git created revisions you'll find "git-v1:..."23:55
jelmerthat name comes from the mapping subclass, you'd probably want to set 'prefix = "git-worthrick"' or something like that23:55
workthrickjelmer: hmm, thinking of relatively least bothersome way to integrate it into the UI, do you think creating a custom URL handler (something like uniquify:git://...) would be reasonable to do?23:56
workthrickand/or git+fileids://23:57
jelmerworkthrick: it should be possible to do something like that, but you'd need to patch bzr-git23:58
workthrickok23:59

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