/srv/irclogs.ubuntu.com/2008/01/12/#bzr.txt

ubotuNew bug: #182159 in bzr-git "Doesn't provide git working tree access" [Wishlist,Triaged] https://launchpad.net/bugs/18215900:15
grycis there any way to work around a 4 hour initial `bzr push` where the .bzr directory is about 15mb?02:30
jelmergryc: what format and transport are you using?02:34
grycI'm using bzr+ssh, with version 1.0 I believe02:35
jelmergryc: what format in 1.0 though?02:48
jelmerpacks or dirstate?02:48
jelmerpacks should probably be faster02:48
grycI have no idea, how do I check?02:48
grycargh, nevermind, I think it was my network's upload getting sucked dry >_<;02:49
grycbut, along those lines, is there any chance of getting a transfer speed counter added onto the end of that ascii progress bar, or is that impractical?02:51
jelmerI think there were plans for that02:53
jelmeryou can check the current format by running "bzr info"02:53
grycah, "dirstate" then02:54
grycsorry to bug you, it was another machine on my network eating all my upload bandwidth...the push took 9 minutes after I yanked the offending machine02:55
jelmerno worries02:55
jelmerthis is another good reason we need that improved progress indicator...02:55
lifelessgryc: if all your bzr clients are 1.0 or newer, you can improve performance by doing 'bzr upgrade'03:03
gryclifeless: thanks, I'll check with the rest of the team on that :D03:05
sechastainI have a question about tags03:09
sechastainI see that I can create them and that I can diff in reference to them03:09
sechastainbut how do I branch from them?03:09
sechastainand how do I check the tags in a remote repository and/or branch?03:09
sechastai2... no takers?03:20
ubotuNew bug: #182192 in bzr "While pushing, progress bar has no upload speed indicator" [Undecided,New] https://launchpad.net/bugs/18219203:46
lifelesssechastain: I would guess at bzr tags URL03:51
lifelessand use -r tag: to access them03:52
sechastainyeah, I've been looking the past hour or so through at the code03:57
sechastainthere's a secret undocumented flag --directory03:57
sechastainbzr tags --directory branch03:57
sechastainany reason why we can't dump the --directory flag?03:58
lifelessdunno03:58
lifelessnot a part of the code I've looked at03:58
sechastainit's in builtins.py03:58
lifelesshowever its not secret03:59
lifelessbzr help tags lists it,03:59
sechastain?03:59
sechastainman03:59
sechastaincrazy03:59
sechastainI've read through that like 5 times03:59
IllXin reading about bzrweb I the comment "Recently it was updated to support the Bazaar 0.15 API"07:57
IllXbeing very new to bazaar I'm interested in what the 0.15 API is, but can't find a good starting point07:58
IllXsurely it must be the bzrlib core07:58
IllXhow do I know 0.15 is the current?08:00
IllXah, now that I've found the api docs I see .version08:04
IllX:)08:04
fullermdWell, presumably, the API from the 0.15 release   :p08:45
IllXreally08:49
IllXthe way I was reading it, it gave me the impression the API might run a different version than application08:50
IllXI haven't yet got to calling .version so I wasn't sure08:50
IllXthat's a long way back from 1.008:50
fullermdYeah.  The API's always shuffling in little bits and pieces, but most programs can usually go a number of versions one way or the other before hitting something that throws 'em.08:51
IllXyeah08:52
acusterjelmer, around?09:57
ubotuNew bug: #182258 in bzr "-r before:date:xxx produce error if branch don't have revisions after specified date" [Undecided,New] https://launchpad.net/bugs/18225811:40
datowhat is a mesh-merge?11:53
dato(I'm getting no google love for this)11:54
fullermdIn what context?11:54
datoit's in the "[MERGE/RFC] Merge prefers to use submit branch" thread:11:55
dato> They might develop only *on*11:55
dato> trunk, or in more of a mesh.11:55
datoIf they're doing mesh merging, they'll need to specify the merge11:55
datolocation every time anyhow.11:55
fullermdOh, working in some sort of full-mesh topology, where you're merging from arbitrary other people in no particular pattern, instead of working in a more star-ish setup.11:56
jelmeracuster, hi12:09
acusterhey jelmer12:11
acusterWe're working on geospatial data and thinking about versionning theory. Any chance you have a list of references12:12
acustersomething we could get started with? We have peculiar problems not faced by text code files but in general12:12
acusterwe will face the same core issues.12:13
AfCacuster: as ever in IT, there's lots of theory, and then there's what's actually implemented. There is often a wide gulf between them, with implementation not infrequently outstripping or obsoleting "theory"12:19
AfCacuster: as applied here, I'd have to guess that your best bet would be finding a tool that actually encapsulates the concepts you want and think about whether or not you could adapt the core differencing engine to your data form (as oppose to the current bias about deltas between revisions of text files)12:20
AfCacuster: ... but that's got to be a fairly restrained (and in the case of bzr, reasonably well isolated) aspect of the tool12:21
AfCFailing all that, I'd have a word with the people doing version control on video. That's a fairly well developed area, but most of it is proprietary and/or in-house.12:22
AfC[where video == the footage for a movie on up to the video archive of CNN]12:22
jelmeracuster: I don't have any references, sorry. All I know about versioning theory is from reading the source code of the various free vcs12:28
acusterthanks both12:39
acusterAfC: we actually use a lot of theory, a la Knuth, Computational Geometry, and numeric algorithms. I was hoping there was a body of knowledge developed so I didn't have to start from scratch on this area as well12:40
acusterso far to go before getting back to real science...12:41
brilliantnuthi.14:37
brilliantnutI was waiting for Bazaar 1.1, which the calendar said would be out on the 11th..14:37
brilliantnutdoes anyone have any input on what happened?14:37
jelmernot sure, haven't read anything about it recently14:38
jelmerthe release manager for 1.1 would be the best person to talk to14:38
jelmerI'm not sure who it is though :-/14:38
brilliantnutThe google calendar entry was created by Martin Pool,14:45
brilliantnutany idea what his irc nick is?14:45
jelmerhis IRC nick is "poolie"14:45
brilliantnutjelmer: would you also happen to know what timezone 'poolie' is in? as in appropriate hours to find him online?14:59
jelmerI expect he'll be online again in about 30 hours, maybe earlier14:59
jelmerhe's in Sydney14:59
brilliantnutcool, thanks for the help, jelmer.15:01
brilliantnutc ya15:01
RainCTHi16:14
RainCTDoes the version of bzr in Gutsy support tags?16:15
datoRainCT: yes16:18
datoRainCT: but you have to pass --dirstate-tag to `bzr init` for it to work16:18
datoRainCT: or for existing branches, `bzr upgrade --dirstate-tags`16:18
RainCTYes I just did that, but I wasn't sure if it would break the branch for the other developers (I'm using the latest bzr from Hardy). Thanks16:19
RainCTis there any reason why it is disabled by default?16:19
datowhen a new format gets introduced, we normally wait a few releases before making it the default16:20
datoso, for example, dirstate-tags was made the default in 0.9116:20
RainCTah :)16:22
RainCTso now if I commit & push it will also upgrade the copy in Launchpad, or what do I have to do?16:23
datoyou have to16:23
datobzr upgrade sftp:// ...16:23
datoupgrade --dirstate-tags16:23
datoif you just upgrade with hardy's bzr, it'll upgrade to a version not supported by < 0.9216:24
RainCTI did a   bzr upgrade --dirstate-tags16:24
datovery well. now that for launchpad as well.16:25
RainCTbzr upgrade bzr+ssh://rainct@bazaar.launchpad.net/%7Efreevial/freevial/trunk/ --dirstate-tags    ?16:26
datotry that, but I think upgrade over bzr+ssh does not work (didn't use to), so if it gives you an error, use sftp instead16:26
RainCTokay. the copies that the other developers have will be updated when they pull then?16:28
datothey will have to run upgrade themselves first16:29
datopull will tell them16:30
datobzr: ERROR: Tags not supported by BzrBranch5('file:///tmp/b/x/foo/'); you may be able to use bzr upgrade --dirstate-tags.16:30
RainCTok. thanks for your help!16:33
datoyou're welcome16:34
=== soul9 is now known as s0u19
=== s0u19 is now known as soul9
RainCTdato: uh.. is it normal for LP to be still updating after half an hour?17:05
datosadly, yes... depending on the size of your branch17:05
RainCTis there some way to see how much longer it will take, or abort it?17:22
jelmerneither I think17:23
Lo-lan-doHmm.  graph-ancestry isn't as good as bzr-viz :-/17:46
Lo-lan-dohttp://www.placard.fr.eu.org/~roland/tmp/superpatch.png17:46
radixwow, yeah.17:46
radixwell then, hooray for bzr viz? :)17:47
jelmerblame graphviz (-:17:48
Lo-lan-doCompare to http://www.placard.fr.eu.org/~roland/tmp/Capture.png :-)17:48
brilliantnut?help19:34
PengWhat's up?19:36
RainCTdato: LP is still updating..... shouldn't this rather be a bug? :P19:38
Lo-lan-dojelmer: Is it possible to follow several SVN branches with bzr-svn?19:43
Lo-lan-dohttp://pastebin.com/d2876a51419:45
Lo-lan-doSeems that the history isn't preserved across branching :-/19:46
Lo-lan-doHm.  Only the ones created through "bzr svn-push", apparently.19:48
jelmerLo-lan-do: not sure I understand the question19:49
jelmertwo non-bzr revisions in Subversion with the same changes don't have the same identity19:49
Lo-lan-doIn my pastebin, I branched (using svn) trunk to branch1, then I started using bzr on them both, but they seem unrelated bzr-wise.19:50
jelmerhmm, that seems wrong19:51
jelmercan you paste the output of svn log -v ?19:51
Lo-lan-dohttp://pastebin.com/d34a6b6c819:53
jelmeryeah, that's definitely a bug19:54
jelmerplease file one. I think it's specific to "bzr missing"19:54
Lo-lan-doSo it's supposed to work?19:54
jelmeryes, it's supposed to show you:19:54
jelmerYou have 2 extra revisions:19:54
Lo-lan-do(I may have to tell clients that it's supposed to work :-)19:54
jelmercommit on branch119:54
jelmerstarted branch119:55
jelmerYou are missing one revision(s):19:55
jelmercommit 4 on trunk (after branching)19:55
jelmerLo-lan-do: clients as in business clients?19:56
jelmer'evening bialix19:56
Lo-lan-doYes19:56
bialixjelmer: 'evening19:57
bialix1.1 is delayed?19:57
jelmerbialix: we think so, but I haven't seen any news about it from Martin19:58
brilliantnutisn't that a common question today?19:58
bialixum?19:59
brilliantnutI was asking the same thing a couple of hours ago.. I wanted to move our code from CVS, and we're waiting for 1.120:01
bialixyour're using windows?20:03
brilliantnutme? yes...20:04
brilliantnutumm...20:04
bialixbecause otherwise bzr 1.1rc1 is good enough, IIUC20:04
brilliantnutI could reboot into linux, if you like.. :-P20:04
bialixno, IIRC there is one pending patch required for Windows for 1.120:05
brilliantnuthmm... our server is going to be on linux, but 12/13 members of our dev team are on windows, so we have to wait for the 1.1 release yet.20:05
bialixand last time I moved from CVS  I used cvsps-import plugin, but it works for me only on Cygwin20:06
brilliantnuthmm.. no problems there, we've tried that out on 1.0, and worked like a charm.20:06
bialixyou're planning to use smart-server?20:06
brilliantnutyeah, we're planning to use bzr+http with ldap authentication on http, but we ran into some issues when trying that out with 1.0, and there was (at that time) a server and client pending which would fix the specific issues that we were facing... we checked again with 1.1rc1, but we still have that problem.20:08
bialixis this patch helps to you: http://bundlebuggy.aaronbentley.com/request/%3C20080108055207.GA9962@steerpike.home.puzzling.org%3E ?20:10
brilliantnuthmm, not sure.. but don't think so.20:12
Lo-lan-dojelmer: Sent, thanks20:12
brilliantnuthmm, so you're saying this is the only patch pending since 1.1rc1?20:13
bialixbrilliantnut: hmm. if this patch does not help, then what is your problem actually?20:13
bialixbrilliantnut: I'm not sure actually, but looking at the page http://bundlebuggy.aaronbentley.com/ I don't see anything windows-specific and targeted to 1.120:14
bialixluks: 'evening20:26
lukshey20:26
bialixhow are you?20:26
lukslittle bit busy lately :/20:27
bialixI sent you mail recently. asking about sip and compiling new C++ code in QBzr20:27
luksyep, sorry for not replying20:28
bialixMy little research leads me to conclusion that I need full Qt20:28
luksit needs full pyqt install for 'setup.py build'20:28
luksbut it should be still usable without compiling anything20:28
bialixyeah? I don't try it yet without compiling20:29
luksI've kept the python code for now20:29
bialixI build sip myself, but then it say it need pyqtconfig or something similar and then I'm gave up20:29
jelmerwhat's this sip thing I keep seeing in relation to qbzr? It's not the voip protocol, is it?20:29
bialixno :-)20:29
bialixit's like a SWIG but Qt-oriented20:30
lukssip is the tool to generate python bindings for c++ libraries20:30
jelmerah, nice20:30
luksmore or less like swig, but without the pain :)20:30
bialixluks: I'm not sure about last point :-)20:30
lukspyqtconfig is part of the pyqt installation20:31
luksit's probably not included in the binary installe20:31
luksr20:31
bialixyeah, but to building pyqtconfig I need qmake20:32
luksright20:32
bialixand I don't find where I can just download it without full Qt20:32
luksyou can use the binary installer for qt, but you need the full devel setup to build pyqt20:33
luksbut as I said, building the c++ code is not required for now20:33
bialixseems overcomplicated for me20:33
luksit isn't easy to get it running on win, I know20:34
bialixluks: working from sources without compiling is working for me20:36
luksI'm planning to write the diff view in c++, because currently is scrolls very slowly20:38
luksafter that, it probably won't work without compilation20:39
bialixI understand20:39
brilliantnutbialix: I'm sorry, I think I missed your response to my last message if there was any... my net connection is a bit flaky.. :(20:57
bialixhere is backlog http://bzr.arbash-meinel.com/irc_log/bzr/2008/01/bzr-2008-01-1220:58
brilliantnutthanks.20:58
bialixI'm asking you about your problems with 1.1rc120:59
brilliantnutoh, apparently my connection went down earlier than I thought..21:00
brilliantnutbialix: no, I don't think I can find the specific patch that we were waiting for on that page right now.. but it had something to do with using bzr+http specifically21:02
brilliantnutbialix: even currently, we have been able to make bzr:// work, and http:// work, but not bzr+http://21:02
brilliantnutthen again, maybe we didn't try hard enough this time yet.. :-P we're waiting for 1.1 before spending a night on it.. ;)21:02
bialixyou need to ask spiv or vila about bzr+http21:03
bialixI'm just build win installers21:03
rjekOK.  Anybody with any bzr-svn fu?23:30
rjekrjek@necrosis:~/bzr$ bzr branch svn://svn.rjek.com/rjek/public/colloquy/trunk23:30
rjekbzr: ERROR: /rjek/public/colloquy/trunk is not a valid Subversion branch path.23:30
rjeksimilar error without the /trunk23:30
RashomonHi all. I'm wondering if you know of any good web-based bzr viewer? (like git-web for example)23:32
PengRashomon: Loggerhead, webserve, bzrweb.23:32
RashomonPeng:  Do you prefer any one before the other?23:32
PengRashomon: Never used 'em. :D Loggerhead is the most advanced but also very heavyweight (TurboGears).23:33
PengWell, I dunno if the most advanced part is true.23:33
PengBut I think of it as the primary viewer.23:33
rjekWhat's TurboGears?23:34
Pengrjek: Major Python web framework.23:35
jelmerrjek: try removing ~/.bazaar/subversion.conf and trying again23:35
rjekjelmer: OK.23:38
rjekjelmer: OK, that managed it.23:39
rjekTa.23:39
rjekAlthough now there's another problem.23:39
rjekRecently, the svn depot was rearranged slightly, and the place I'm trying to branch was svn mved23:40
rjekbzr appears to only have history since that move.23:40
KinnisonOh well, that's a pity23:40
Kinnisonbzr_access in contrib/ can never work23:40
rjekRather than including history all the way back.23:40
Kinnisonthe SmartSSHClient23:40
Kinnisonthe SmartSSHClientMedium will always pass --directory=/23:40
Kinnisonsux23:40
jelmerrjek: that may be right. You will have to readjust the branching scheme bzr-svn uses23:40
rjekIs it possible to tell bzr to branch an svn depot at a specific svn changeset number?23:41
rjekjelmer: I have no idea what that means, much less how to do it.23:41
rjekBasically, the trunk used to be in /colloquy/ and it was svn mved to /rjek/public/colloquy/trunk/23:41
jelmerrjek: what do you mean with "depot" ?23:42
rjekSorry, perforce terminolgy that's less typing than "respository" :)23:43
rjekdepot == respository23:43
Kinnisonor even repository23:43
jelmerahh23:43
fullermdI keep my code in a resplendatory.  It makes it look more important.23:43
rjekheh23:43
jelmerrjek: for help about branching schemes, see "bzr help svn-branching-schemes"23:43
rjekCertianly better than a suppository.23:44
rjekYes, I read that23:44
jelmer:-)23:44
fullermdWell, that's why I don't use svn, see...    ;)23:44
jelmerfullermd: bzr has repositories, too :-)23:45
rjekjelmer: I read it, and still have no clue.23:45
rjekFor example, I don't understand why it isn't already working, which puts me in a poor position to fix it.23:45
jelmerrjek: the branching scheme determines what paths in the svn repository bzr will consider to be branches23:46
fullermdYeah, but it doesn't have suppositories, and that's the important thing.23:46
jelmerrjek: originally it was set to the default /trunk, /branches/*, /tags/*23:46
rjekjelmer: Right.  So how do I tell it the svn mv from /foo/ to /rjek/public/foo/trunk is such a branch?23:47
jelmerrjek: it's now probably set to /jek/public/colloquy/trunk23:47
jelmerrjek: it will have to consider both /trunk and /jek/trunk/colloquy/trunk branches23:47
rjekThere was no /trunk23:47
Kinnisonhmm, no jam :-(23:47
rjekAnd there still is no /trunk23:47
jelmer/colloquy/trunk then23:48
Kinnisonjelmer: I think you and rjek are talking at cross-purposes23:48
jelmerrjek: try running "bzr svn-branching-scheme --set <repository-url>"23:48
rjekjelmer: There was no /colloquy/trunk23:48
KinnisonI think he must have run svn mv .../colloquy .../rjek/public/colloquy/trunk23:48
jelmerand then make sure both the original and the new branch paths are listed there23:49
jelmerKinnison: ah, ok23:49
rjekYes.  /colloquy was moved /rjek/public/colloquy/trunk/23:49
jelmerrjek: so just make sure /colloquy and /rjek/public/colloquy/trunk are listed there23:49
rjeklisted where?  In what syntax?23:50
jelmereach on a single line23:50
jelmerwhen running "bzr svn-branching-scheme --set <svn-repository>"23:50
rjekI'm still completely lost.23:50
jelmerhave you tried running "bzr svn-branching-scheme --set <svn-repository>"?23:51
Rashomonone more question. when you are using sftp to checkout or commit stuff to your server, I take it that you use some sort of pubkey? If I need to specify a specific username, how do I do that?23:52
rjekI don't understand what that will do yet.23:52
jelmerrjek: it edits the list of paths in the Subversion repository that bzr-svn will consider branches23:52
rjekah right, it opens an interactive editor.23:53
jelmerrjek: Since Subversion has no notion of branches itself23:53
rjekThat looks more promising.23:54
Odd_BlokeRashomon: sftp://<user>@<server>/<path>23:55
Rashomonalright, that was easliy solved ;)23:55
RashomonOdd_Bloke: So, if I want to make sure my own commits are sent to the server right when they're done, is that done by the bind command?23:55
rjekjelmer: That appears to be doing the right thing.  Ta.23:57
Kinnisonjelmer: now you've fixed rjek's problem, fancy fixing mine? The bzr+ssh protocol always passes --directory=/ which means that contrib/bzr_access is useless and it's the one thing which is currently making bzr a viable possible switch for someone I know23:57
Kinnisonjelmer is God tonight, and hopefully can do no wrong :-)23:57
* Kinnison crosses his fingers23:57
jelmerKinnison: sorry, I'm afraid I'm not as godlike as I would like to be in that area..23:59
* jelmer has a look at bzr_access23:59

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