/srv/irclogs.ubuntu.com/2007/10/30/#bzr.txt

Peakerbzr: ERROR: Repository KnitRepository('file:///.../.bzr/') is not compatible with repository KnitRepository3('file:///..../.bzr/')00:21
PeakerDoes the svnplugin make KnitRepository's instead of KnitRepository3?00:21
jelmerno, it uses KnitRepository3 but standard bzr uses KnitRepository00:23
Peakeroh, why is that?00:23
jelmeryou can upgrade a repository to the first by running 'bzr upgrade --dirstate-with-subtree'00:23
jelmerforward compatibility on bzr-svn's side00:23
Peakercool, thanks00:24
PeakerI love bzr! :-)00:28
PeakerThe horror of using svn because of googlecode.. for weeks!00:28
arjenAUPeaker: so access the svn repos from bzr00:38
PeakerarjenAU: What I really wanted was shared branches though, and now I hope to have that with launchpad00:39
PeakerarjenAU: I want development to go into branches instead of messing up trunk all the time00:39
Peakernot just by me, but by codevelopers00:39
Peakera heavy checkout is really just a repo+branch pulling/pushing from/to another branch on every commit, whereas a light checkout is really just a branch ptr, right?00:40
=== mw is now known as mw|out
PeakerIf I just delete the working tree (when it has no uncomitted changes ofcourse), I can just restore it with update, right? So when I'm done with a branch, I can remove the working tree to save some space until I use it again, right?01:03
Peakerif that is true, I think I might need/write a plugin that verifies there are no uncommitted changes, cleans up and deletes all the files it can restore later01:04
fullermdYou delete the working tree with remove-tree, and recreate it with checkout01:12
fullermdremove-tree won't remove altered files (or non-versioned files)01:12
Peakerfullermd: ah cool thanks01:15
Peakerthen it seems I dont have to write a plugin :-)01:16
Peakerhmm, bzr hosting on launchpad seems to force me to upload the entire repo for each branch I make there. Where do you guys host your bzr branches such that creating a new hosted branch is cheap and doesn't require pushing the entire history?01:33
PeakerWhen I C-c (SIGINT) the bzr push to launchpad, I got  TooManyConcurrentRequests: The medium '<bzrlib.smart.medium.SmartSSHClientMedium object at 0x89a680c>' has reached its concurrent request limit. Be sure to finish_writing and finish_reading on the currently open request.01:34
PeakerHow do you run "bzr serve" over ssh? How is access control done?03:03
spivPeaker: bzr+ssh:// just connects via SSH as normal, and runs the "bzr serve" command (actually it gives it a couple of arguments).03:06
Peakerspiv: oh, I thought it bzr+ssh connects to an sshd already running03:06
spivPeaker: access control is done entirely by the SSH server and filesystem; i.e. normal user accounts.03:06
spiv(unless you want to write a custom sshd...)03:06
spivIt's pretty similar to how svn+ssh:// works, AIUI.03:07
Peakerso the path given to bzr+ssh://path-here  must be absolute, not relative, right?03:07
Peaker(relative would be relative to user's home dir, I'd suppose)03:08
PeakerTo set up permissions of who can access my bzr repository via bzr+ssh, I'd need root access to create a group I suppose. I hate unix security...03:11
Peakerdo you think if I install a local copy of bzr in my homedir on the sourceforge shell server they'd be mad? :-)03:22
jelmerPeaker, you can always use sftp03:24
jelmerthat'll be a bit slower, but won't require bzr on the remote side03:24
Peakerjelmer: thanks that works :)  I wonder if that will piss them off.. heh03:27
Peakerdoesn't seem like shell.sf.net is a usable file host for bzr, its taking ages to do anything03:30
Peakerwhere do you guys host your shared branches?03:31
jelmersftp is slower than bzr+ssh in any case, unless you use it with packs (new data format in 0.92)03:31
jelmerI host them on my team's shared server or launchpad03:31
Peakermy ubuntu is still packaged with 0.90.003:31
Peakerjelmer: but if you want to make a new branch on launchpad you have to push the entire history again03:32
jelmeryes, but I only use launchpad for smaller things03:32
jelmerhow big is your history?03:32
Peakerthere's 40MB in my repository/03:34
Peakerif that's a good measure03:34
jelmerbut what's the number of revisions?03:34
jelmerthis is bug 41415 in launchpad apparently03:34
Peaker45203:34
ubotuLaunchpad bug 41415 in launchpad-bazaar "supermirror sftp server does not support hosting bzr repositories" [Wishlist,Confirmed] https://launchpad.net/bugs/4141503:34
Peakeraccording to the bug I can use sftp to explicitly create repositories03:36
jelmerwell, you can on an ordinary sftp server, but not on launchpad03:37
Peakerweird, how does their sftp prevent it?03:37
jelmeronly allows you to create certain directories03:38
jelmerto prevent you from using launchpad for general-purpose (non-bzr branches) hosting03:38
PeakerI see03:42
Peakercan I tell a branch to move its head back without creating a new revision that's identical to previous revisions?04:09
PeakerI could create a new branch but the branch is already there and advertised as a main branch..04:10
Peakeralso can I decide that a bunch of changes I've been making should not commit to this branch but instead go to another branch?04:11
PeakerWithout bzr diff | patch in-new-branch ?04:12
spivPeaker: "cd ../new-branch; bzr merge --uncommitted ../old-branch"04:13
Peakerspiv: thanks!04:13
Peakerno way to get a branch to throw a bunch of the last revisions to become ghosts though?04:13
Peakerwell actually I made a branch that contains them now, so they wouldn't be ghosts04:14
Peakerdoes bzr have nested checkouts? (if I want to split my repo into 3 for each of the components)05:11
jelmerPeaker: partially08:55
jelmerPeaker: it's somewhat supported, but still experimental08:55
ubotuNew bug: #158596 in bzr "`bzr info -v` is not working if WT4 is locked." [Undecided,New] https://launchpad.net/bugs/15859610:20
=== LarstiQ_ is now known as LarstiQ
=== weigon__ is now known as weigon
jelmermwhudson: ping11:36
mwhudsonjelmer: hi11:36
jelmermwhudson: Can you please try pushing your pydoctor branch to svn again, using the latest and greatest bzr-svn ?11:36
mwhudsonjelmer: ok11:37
mwhudsonjelmer: should i use bzr.dev?11:37
jelmerI've reproduce the property bug and fixed it11:37
jelmeryes, either bzr.dev or 0.92rc1 and bzr-svn's 0.4 branch11:37
mwhudsonwhat's the url of the bzr-svn branch?11:38
mwhudsonit seems that i haven't installed it again since my hard drive died11:38
jelmerhttp://people.samba.org/bzr/jelmer/bzr-svn/0.411:38
jelmeror lp:bzr-svn11:39
mwhudsonok11:39
mwhudsonah, lovely, a segfault when i C-c-ed the fetching revision info step11:50
mwhudsonjelmer: hm, seems to be doing the 'finding branches' thing twice11:54
jelmerhmm, it shouldn't do the finding branches more than once11:55
mwhudsonit's doing it a third time now11:56
jelmerthis is during a push or a pull?11:57
mwhudsonpush11:57
jelmerbut you've never pulled this particular branch before?11:58
mwhudsonjelmer: not on this machine no11:59
mwhudsoni can do that first if you like11:59
mwhudsonjelmer: http://rafb.net/p/fVHbyE18.html11:59
mwhudsonand noe12:00
mwhudsonmwh@grond:pydoctor$ ~/src/bzr/bzr.dev/bzr get http://codespeak.net/svn/user/pydoctor/trunk12:00
mwhudsonbzr: ERROR: Not a branch: "http://codespeak.net/svn/user/pydoctor/trunk".12:00
mwhudsonmwh@grond:pydoctor$ ~/src/bzr/bzr.dev/bzr get svn+http://codespeak.net/svn/user/pydoctor/trunk12:00
mwhudsonbzr: ERROR: Not a branch: "svn+http://codespeak.net/svn/user/pydoctor/trunk".12:00
jelmerwhat does "bzr svn-branching-scheme http://codespeak.net/svn/user/pydoctor/trunk" say?12:02
mwhudsonoh we12:02
mwhudsoner12:02
mwhudsonwrong svn url12:02
mwhudsonmwh@grond:pydoctor$ ~/src/bzr/bzr.dev/bzr svn-branching-scheme http://codespeak.net/svn/user/mwh/pydoctor/trunk12:03
mwhudsonbzr: ERROR: No repository present: "http://codespeak.net/svn/user/mwh/pydoctor/trunk/"12:03
jelmertry:12:06
jelmerbzr svn-branching-scheme http://codespeak.net/svn/12:06
jelmerhere it says:12:06
jelmer*/*/*/trunk12:06
jelmer*/*/*/branches/*12:06
jelmer*/*/*/tags/*12:06
mwhudsoni have one level less of */12:07
mwhudsonmaybe this is because i fed it a bogus url to start with?12:07
jelmerah, yeah, that may've confused it if there are also branche swith just two levels of parent directories12:08
mwhudsonprobably12:08
mwhudsonit's a fairly chaotic repo :)12:09
jelmersimply removing "scheme = " from ~/.bazaar/subversion.conf will make it try again12:09
jelmeror rather, set it to "trunk3"12:10
mwhudsonok, i managed to get the branch now12:12
mwhudsonpushing is doing the finding branches thing again12:14
jelmermore than once?12:15
mwhudsonnot yet12:16
mwhudsonit's going slowly this time12:16
mwhudsoni guess the extra level of */ gives it a lot more locations to consider?12:21
mwhudsonjelmer: http://rafb.net/p/9RE7Or87.html12:22
jelmermwhudson: yeah, it's very inefficient for your sort of repository12:24
jelmermwhudson: does it break like in a reproducible way?12:24
=== mrevell is now known as mrevell-lunch
mwhudsonjelmer: will let you know :)12:27
mwhudsonjelmer: yes, seem reproducible12:34
jelmermwhudson: ok, guess I have a new bug to work on then.. thanks!12:37
mwhudsonjelmer: i guess this is some kind of corruption in the repository12:38
mwhudsonjelmer: but it ought to be possible to ignore stuff over in other parts of the tree from where i want to work?12:38
jelmermwhudson: corruption in the svn repository you mean?12:41
jelmermwhudson: yes, bzr-svn should be able to ignore that bit but it can't yet12:41
mwhudsonjelmer: yes12:42
=== mrevell-lunch is now known as mrevell
schierbeckjelmer: ping13:23
=== mw|out is now known as mw
ubotuNew bug: #158690 in bzr "ls --non-recursive PATH : no list" [Undecided,New] https://launchpad.net/bugs/15869014:15
jelmerschierbeck: pong14:42
vilalifeless: ping14:45
lifelessvila: pong14:46
vilawow :)14:46
vilaI saw you used transport.list_dir14:46
vilaCan't you avoid it ?14:46
lifelessyes, in a write operation14:46
vila(it's in Rev 2949: * Obsolete packs are now cleaned up by pack and autopack operations.)14:47
lifelessnot without more round trips than it's worth.14:47
lifelessoh,  I know where it is.14:47
vilathat means wedav plugin will never be able to do that :-/14:47
lifelesswebdav supports listing14:47
vilaerr, let me check that :-)14:48
lifelesswe used it on tla for writing over webdav14:48
lifelessIIRC its :search14:48
jroeshas anyone had some weird problem with "cannot access lock file" on win32?14:56
* jroes forgets to just google and find bugs on launchpad14:56
vilalooks like an extension to RFC2518... would be far more work to marshall the request and extract the useful bits in the response... I think the sort tem answer will be to activate directory listing on the http server and lightly parse an index.html (i.e. implement an ad-hoc list_Dit) :-/14:57
vilas/Dit/dir14:57
vilaI thought that with packs you somehow maintained the list of files created on the server, why can't it be used for obsolete ? Recovery handling ?14:58
vilaAnd the other hand webdav is happy to delete a whole tree, (i.e. the obsolete dir even if not empty)14:59
lifelesswe shouldn't rm the obsolete dir because that would trash permissions15:04
vilagee, s/sort tem/short term/ around three lines above15:04
vilapermission handling is already messy when using a web server...15:06
vilaSo far, the webdav plugin stay simple because it avoids parsing xml in any response, having to implement list_dir wil kill that, I just have no idea when or even if I will take into account15:09
lifelesswell packs are still experimental15:09
jroesso, after reading "bzr help working-trees" I'm beginning to have trouble following the point of bzr when you are on a machine that is not running a webserver.  is this the general consensus or am I not understanding right?15:10
vilaSaid otherwise, my question is: should I just kill webdav plugin *now* or do you think you can avoid using list_dir ?15:10
lifelessthe tla code for list_dir was pretty darn trivial15:10
vilalifeless: pointer ? C ? python ?15:10
lifelessjroes: I think you are not understanding right15:10
lifelessvila: apt-get source 'bazaar' and look for pfs_http.c15:10
jroeswell, see, if I'm just a developer on my development machine, and I want to have my branch publically accessible for friends/colleagues/the public to branch and merge from, I need to push my changes to a separate machine via SSH15:11
jroesfrom what I've read, unless I use a plugin, I have to login to the machine after every `bzr push` and run `bzr update`15:11
lifelessjroes: you don't need to run update for other people to be able to pull from it15:12
jroeswell, what happens when I commit a new change in my local branch and then I run push again?15:13
lifelessthen bzr updates its metadata, and ifthey do a pull they will getyour commit15:13
jroesok, so then the message I am seeing when I push is just a warning, and not an error based on what I'm actually pushing at this point?15:15
lifelessyou're getting the warning because you have a working tree on the remote machine15:15
jroes"This transport does not update the working tree of: sftp:/etcetcetc/.  See working-trees for more docs"15:16
lifelesswe assume you have some reason for doing that and thus let you know that it will not be updated15:16
lifelessif you don't need a working tree there, then bzr zap-tree is your friend15:16
jroesok, so I must have accidentally done something on the remote box like a bzr commit of some sort?15:16
jroesI'm trying to figure out what I did to turn it into a working-tree, what kind of operation would do that?15:17
* jroes will grep his .shell_history15:18
vilalifeless: hehe, sure, pfs_dav.c trivially implemented pfs_directory_files by..... relying on neon :-)15:19
lifelessvila: oops, well.15:19
Peakerhow can I publish a bzr+ssh branch for all users that has a nice path and not some ://my_comp/var/hosting/bzr/... ?15:20
vilalifeless: no worries. just wanted to keep you informed, that if you can still avoid it...15:20
jroesPeaker: maybe you can get symlinks or hardlinks to work.  I don't think I could get symlinks to work, but I might have some permissions problems15:20
vilalifeless: ... or not avoid it, but knows about the consequences for webdav15:20
* vila back to fixing bugs :)15:21
lifelessvila: well there are some issues; I will mail the list some thoughts for packs215:21
vilaok15:21
jam-laptoplifeless, vila: what about having a Transport.clean_directory()15:22
jam-laptopwhich for most transports is implemented as lifeless  does15:22
jam-laptopand for webdav could be15:22
jam-laptoprmtree() + mkdir()15:22
lifelessjam-laptop: feels a bit bloatwarey15:23
jam-laptopI agree, but it solves the problem15:23
jam-laptopIt is a fairly specific request15:23
jam-laptopAnd means we don't expose 'list_dir()' to higher levels15:23
jam-laptopCertainly from a smart server perspective we would want it to be done solely on the remote side, though that would be handled by the fetch() logic I presume15:24
lifelessright15:25
vilajam-laptop: but doesn't address the permission bit lifeless talked about (I'm still unclear about what you worry though)15:25
jroeslifeless: where is this zap-tree?  even google only found 3 results (and 2/3 were irc quotes from you)15:25
jroes:)15:26
jam-laptopvila: well, as you said, if they are accessing over webdav, then permissions are pretty much just apache:apache15:26
jam-laptopjroes: "bzr remove-tree"15:26
jam-laptopzap-tree was an old command15:26
* jroes nods, thanks15:26
jam-laptopI think you have to be on that machine15:26
jroesI'll quiet down now since you guys are in heated developer discussion :)15:26
vilajroes: dont' do that :) We have time to solve our issue15:27
gotgeneslifeless: any chance of a 0.92rc1 deb today? =-)15:28
vilajam-laptop, lifeless : I *thought* the list_dir was... hmmm, would be deprecated one day :) But I also had the impression, at London sprint, that implementaing it for http my solve a range of issues15:29
jam-laptopvila: it is considered unusable for read-only transports15:29
jam-laptopbut lifeless was only doing this during a write operation15:29
lifelessjroes: remove-machine15:29
jroeshm.  so on my remote machine I ran a "bzr remove-tree" (which I believe completed successfully, since there were no errors), and then on my local machine I ran a bzr push to the remote machine, got an error about branches diverging, so I ran a bzr merge on my local machine merging from the remote machine, and got a "working tree has uncommitted changes"   I'm not too sure why, but technically if I just want my two branches to be the same, can I just rm-rf the en15:29
lifelessbleh. ignore me15:29
vilathe problem being that a bit of server-side configuration may be needed and that it kind of make our dumb support support have some limits15:29
jam-laptopAt the moment, all supported writable transports support listdir15:30
vilajam-laptop: gee, cruel again ;)15:30
jam-laptopjroes: Well, we are letting you know that there is divergance15:30
jam-laptopyou pushed something earlier that you haven't merged15:30
jam-laptopand you are trying to merge into an unclean tree15:30
jam-laptopThe recommendation would be15:30
jroesso, in that case it's telling me my -local- tree is not committed?15:30
jroesor the remote tree?15:31
jam-laptop"review changes; bzr commit; bzr merge; bzr commit; bzr push"15:31
jroesthat's what I'm confused about I think :)15:31
jam-laptopjroes: The "changes in your working tree" is because you have local uncommitted changes15:31
jam-laptopIf you want a big hammer15:31
jam-laptopyou can15:31
jam-laptopbzr push --overwrite15:31
jroesright, so, bzr commit shows me "no changes to commit" :)15:31
jam-laptopAnd then it will throw away whatever is extra in the server side15:31
jroesI think I will use overwrite, unless I discovered a bug and you guys want me to preserve this state15:31
jam-laptopvila: I think it is a little odd to have a filesystem that you can write to, but you cannot see the files15:32
jam-laptopjroes: well, having merge complain about an unclean tree, but commit say nothing to commit is weird15:32
jam-laptopjroes: save it for a second15:32
jam-laptopbbiab15:32
jroesok15:32
jroestoo bad this particular local machine is windows, I don't think I have a bash_history here to see what exactly I did to repro :|15:33
jam-laptopC:\Documents and Settings\<username>\.bzr.log15:33
jam-laptopOr maybe it is in My Documents?15:34
jam-laptopI don't quite remember where it gets put15:34
jroeshere's a pastebin so you guys can see what I'm talking about, I'll hunt down the log and see if I can copy the branch around and get the same results http://pastebin.com/m12f743c715:34
jroestbh, I wasn't really having a problem until recently, and I think this has to do with something previous where my repository lock file was unable to be accessed after I failed a merge somehow15:35
jam-laptopI think we try for "My Documents"15:35
jroes'tis in My Documents15:35
jam-laptopjroes: can you do "bzr status" ?15:36
jam-laptopHaving merge disagree with commit is really weird15:36
jam-laptopoh, and what "bzr --version" are you using?15:36
jroesbzr status works, there are a bunch of unknowns and a removed file, and 0.91.015:37
vilajam-laptop: sure, but it goes for read-only filesystems too :) I'm a lazy guy, so as long as I could maintain the webdav plugin without list_dir and more importantly without parsing zml, I did, if that chnaged, I'll have to take a tour to the drawing board...15:37
jam-laptopvila: well, we know for a fact that we have http15:37
jam-laptopvila: and we aren't trying to get list_dir for readonly15:37
jam-laptopvila: obviously i don't know the webdav protocol15:38
jam-laptopI offered a semi-cludgy workaround by customizing it at the Transport layer15:38
jam-laptopbut really, we *do* want to delete those files15:38
jroesI think all the problems really started when I got "ImmortalLimbo: Unable to delete transform temporary directory ..."15:38
jam-laptopIt might be possible to write our own index of "things we renamed into this directory"15:38
jam-laptopbut that can also get out of sync, etc.15:38
jroesoh, maybe I should have read "Please read the limbo file" :)15:38
vilajam-laptop: I understand and don't want to stop bzr going forward, webdav can well be freezed for a while, it's not as if hundreds of projects were using it daily :)15:39
vilaI was just hoping to push it a bit more as soon as I get auth.ring landed and true https support, now I have just another bigger problem :)15:40
jam-laptophow bad is zml?15:41
jam-laptopIs it drastically different from XML?15:41
datolifeless: your latest commit to bzr.dev has its NEWS entry under the old "IN DEVELOPMENT" (0.92); i don't know if the plan is to merge into 0.92, or a new "IN DEVELOPMENT" should have been created.15:41
lifelessits the key to the left15:41
jam-laptopOr is it like XHTML which is XML, but has specific tags you need to understand15:42
mwhudsonReadonlyTransportDecorator doesn't give wonderfully informative error messages15:42
lifelessdato: it's slated for 0.9215:42
datook15:42
lifelesspack disk changes::15:42
lifelesspacks2:15:42
lifeless - optional annotation cache15:42
lifeless - remove list-dir? discussion needed on race conditions15:42
lifeless - drop inventory parents data15:42
lifelesspacks3:15:42
lifeless - new inventory format15:43
lifeless - arbitrary-parent delta's.15:43
lifeless - 'pack' recompresses15:43
lifelesspacks4:15:43
lifeless - new delta-compression15:43
lifeless---15:43
lifelessjam-laptop: ^ thats a strawman15:43
jam-laptopwhat are you thinking as a timeframe for this?15:44
jam-laptop1 per month?15:44
lifelessyah, one per release15:44
jam-laptopWhat is the timeframe for getting retries working?15:45
jam-laptopAs that would be #1 for me15:45
lifelesssoon as you write the code ? :)15:45
lifelessretries don't need a new disk format...15:45
lifelessan alternative strategy for handliing old packs may remove the need to do that though15:45
jroesok, I see, I hit that ImmortalLimbo error when merging in a branch with a bunch of files, then I just tried merging with the same branch again and I got an "Unable to obtain lock file" for repository/lock.  at which point I panicked (3am), and deleted the repo lock, and subsequently branch lock when I got the same lock error on that as well15:46
jroesever since then, I've had that dissonance.  so, can I recreate my locks or is my branch entirely busted now? :)15:46
jam-laptop(jroes: for future reference you can use "bzr break-lock")15:46
jam-laptopAnd locks should automatically be replaced15:47
jroeshm. hmm15:48
jam-laptopjroes: had the dissonance that "bzr commit" says nothing to do, but "bzr merge" says there are changes?15:48
jam-laptop(again what does "bzr status" say?)15:48
jroesyeah15:49
jam-laptoplifeless: the "leave them in place but mark them absent in the names index" ?15:49
lifelessyah15:49
jroesbzr status right now shows 1 removed file and several unknowns15:49
jroesin fact, another developer's branch is in this same state now15:50
jam-laptopI guess I don't understand why "bzr status" would report changes, but "bzr commit" wouldn't commit them....15:50
jam-laptopYou aren't doing anything like a partial commit, right?15:51
jam-laptop(bzr commit just-this-path)15:51
jroesI don't even know how to do a partial commit15:51
jroesbut awesome I really wanted to know that last night :)15:51
jam-laptoplifeless: so I agree that the annotation cache should rate high in priority, especially before we have people start mass conversions from knits, and they lose all that data15:55
jam-laptopI would like to see the extra knit data added15:56
jam-laptopso that we can make the indicies fully redundant, and able to be regenerated15:56
jam-laptopI'm not sure where that fits with "drop inventory parents data"15:56
jam-laptop(but for that you are talking about the inventory ancestry graph, right?)15:56
jam-laptopAnd I assume by "pack recompresses" is that you mostly just want the wiring in place so we can see what layouts we want to use15:58
jroeshmm, so I tried to push the branch to a new location just for fun to see if you guys would run into the same problems if you did a get, and the push was successful, but when I tried to make a new branch I got a weird error about a directory not being empty  http://pastebin.com/m3783699b16:01
poolie_hi all16:01
lifelessjam-laptop: right, I'm talking about have compression info only for inventory storage16:02
poolie_jroes, could it be you already had a partly-created branch there?16:02
lifelessjam-laptop: by pack recompresses I mean doing your arbitrary-parent delta logic to get optimal storage.16:02
jroesI must have really hosed this thing somehow :)   the only other problems I had were sometimes I would do a bzr diff and my machine would practically lock up because it was doing diffs on binary files for some reason16:02
jroespoolie_: in the new remote location?16:03
jroesboth the remote dir poundbzr and the local dir poundbzr did not exist before those operations16:03
poolie_hm16:04
jroespoolie_: let me get you up to date, here's another pastebin from earlier - merge and commit don't agree on my branch: http://pastebin.com/m12f743c716:05
jroestheoretically you guys should be able to run "bzr branch http://jroes.net/jroes/poundbzr" in /tmp or wherever you like and get the same error I just got about directories not being empty16:06
jroesI wish this repo wasn't so large16:06
jroesbut I guess I'm wrong because I just branched successfully :)16:08
jam-laptopjroes: well the url you just gave is giving me a 40416:08
jam-laptopAh, but that is just because you have directory listings turned off16:08
jroesyeah :)16:08
jam-laptophttp://jroes.net/jroes/poundbzr/.bzr/branch-format still shows up16:09
jroesok, so in the parent directory where I did that first bzr branch, I have a .bzr directory, so I must have committed it to something at some point16:10
jroeswhich may be the root of all of my problems? :)16:10
jelmerLarstiQ, pingz0rz16:10
LarstiQjelmer: pong16:11
jelmerLarstiQ, did you see the discussion on knitpack-richroot on the list? Can you perhaps comment on the state of subtrees?16:12
LarstiQjelmer: I am not back to reading mail yet, so no. I'll have a look now.16:12
jelmerLarstiQ: Subject contains "Feedback on migration to bzr"16:14
jam-laptophi LarstiQ  good to see you around16:15
LarstiQjelmer: thanks16:15
jam-laptopI hope things are going well for you16:15
LarstiQjam-laptop: responding on pings and working my way (slowly) through a bzr.dev merge etc16:15
LarstiQjam-laptop: reasonably16:15
LarstiQjam-laptop: how are you?16:15
jam-laptoppretty good, a little sleep deprived :)16:16
jam-laptopnot terribly though16:16
jroesso, it's bad practice to have bzr branches within bzr branches, right?16:40
gotgenesjroes: why would you have a branch within a branch?16:41
jroesI have a src directory branch and then I have a branch for one of the projects16:43
jroesthe src branch is just kind of for keeping track of everything in my src directory for myself, and then the other branches were for the specific projects, but I don't know if this is really necessary :)16:44
gotgenesjroes: Ah, I see. My understanding of the Bazaar workflow shows that maybe you should break the src up into individual branches, one per project16:45
LarstiQjroes: you can do that, but the containing branch will not track the contained ones just yet, you still have to do that manually.16:46
lifelessjam-laptop: so that strawman works for you?16:56
schierbeckjelmer: ping17:10
jelmerschierbeck, pong17:11
schierbeckhave you looked at my latest logview changes?17:11
schierbecki think it's turning out pretty good17:11
jelmernot yet, sorry17:11
schierbeck:P17:11
jelmerwill have a look this evening17:11
schierbeckgreat17:11
jelmerwhat tz are you in?17:12
schierbeck+217:12
schierbeckcopenhagen17:12
jelmerah, ok - same here17:12
james_wpoolie_: the packaging session is at 2 in the room next to the lp room.17:26
fullermdWhat are they packaging the attendants in, and will there be pictures?   ;)17:28
lifelesshi coffeedude17:37
lifelesswelcome to the house of fun :)17:38
lifelessabentley: ping; I want to express fetch-ghosts in bzr core; do you think an option to pull/push, or a new command is better ?17:38
coffeedudehey lifeless17:38
lifelessI've just droped about 90% overhead in local pack based merges :)17:39
fullermdWell, only 10% to go!17:40
lifeless3 seconds to merge trivial change between two python full-history imports17:41
fullermdNifty.17:41
lifelessbit slow still17:42
lifelesswe're still doing an inventory upcast/downcast17:42
lifelessI think it should be < 2 seconds eventually17:42
lifeless< 1 second once the journalled inventory/split inventory stuff is done17:43
fullermdThat interests me.  AIUI, that should really help us with broad trees with deep history, to say nothing of the annoying even on small trees "can't log multiple files".17:45
lifelessyes17:46
fullermdEggselent.17:48
ubotuNew bug: #158774 in bzr "no UI for fetching/filling in ghosts" [Undecided,New] https://launchpad.net/bugs/15877417:55
Alien_Freakso... .. i'm very new at this, but for now, I just want to import my code into an bzr repo that i have on a remote server, I did the init-repo and init and I have a project.stable  which I want to import all the files I currently have in a certain directory....18:50
Alien_Freakwhat's my next step? ... check out right?18:50
beunoAlien_Freak, bzr add18:50
fullermdWhy not just create the branch in place?18:50
fullermdYou can push it off into a repo somewhere else later if you want, but why not keep it simple to start?18:50
Alien_Freakbeuno, I have bzr/project/project.stable as an initialized project on a remote machine... and i have my trunk/ in my home dir... bzr add wont work... unless it knows what repo it needs to add the files too..... at least i think18:51
gotgenesCan bzr do replacement of variables such as $Revision$ and like SVN?18:52
fullermdgotgenes: Keyword substitution.  No.18:53
gotgenesfullermd: :-( Is it a planned feature?18:55
lifelesssomewhat18:55
lifelessits a bit contentious, have a look at bzr version0info though which may do what you want18:55
lifelessAlien_Freak: 'bzr init; bzradd; bzr commit'18:55
beunoAlien_Freak, it adds it to the directory you are currently in recursively18:56
lifelessAlien_Freak: we have a getting started guide you might find useful18:56
beunoas fullermd pointed out, it's probably best for you to create it locally and then push it18:56
Alien_Freakyah,.. i probably should look into that...the whole branching tidbit.. is confusing me somewhat18:57
lifelessAlien_Freak: http://doc.bazaar-vcs.org/bzr.dev/en/mini-tutorial/index.html19:02
Alien_Freakis there a book on bzr yet?  just curious..19:06
james_wthanks poolie_.19:12
lifelessjam-laptop: so does that strawman work for you ?19:24
jam-laptoplifeless: well, you didn't respond to my comments19:24
jam-laptopLike when putting the extra data into the pack would land19:24
jam-laptop(extra index data)19:24
jam-laptopBut as an 30-mile view it seems fine.19:25
lifelessoh, I missed that. I was figuring that the replacement delta work would include that19:27
lifelessre: the merge/fetch performance fix. I'm confused about where I'm using a generator [in that patch, not in the index layer]19:28
lifelessjam-laptop: ^19:28
jam-laptopkeys = ((key,) for key in need_revs)19:32
jam-laptoplet me check the exact line19:33
jam-laptoplifeless: in your commit you changed target_keys =list ((key,) for key in next_revs)19:33
jam-laptopto target_keys = ((key,) for key in next_revs)19:34
jam-laptopWhen I recommended19:34
jam-laptoptarget_keys = [(key,) for key in next_revs)19:34
jam-laptoptarget_keys = [(key,) for key in next_revs]19:34
jam-laptoplifeless: "the replacement delta work would include that", is that "pack4" then?19:35
lifelessyes, pack419:41
lifelessjam-laptop: ah, generator there - got you, sure thing.19:41
jam-laptopIt seems a bit more important than waiting that long... but maybe not a big deal.19:41
lifelessand I've just made revert 10 times faster :)19:42
jam-laptopjelmer: I'm trying to understand some of your changes to my submission19:42
jelmergcommit you mean?19:43
jam-laptopfor example, you seem to have "from bzrlib.plugins.gtk.window import Window"19:43
jam-laptopbut I don't have a window.py file19:43
jam-laptopjelmer: yes19:43
jelmerjam-laptop: What upstream branch are you using?19:43
jam-laptopjelmer: I'm just trying to merge your bundle into my branch19:44
jam-laptopI'm not using an upstream yet19:44
jelmermy bundle was against upstream19:44
jelmernot against your branch19:44
jam-laptopsure, but it should pull both into my branch19:44
jam-laptopi'm just doing "bzr merge"19:44
jam-laptopthat is why things are weird19:44
jelmerand that works without errors?19:44
jam-laptopit should19:44
jam-laptopit works with normal branches19:44
jam-laptop(I had to update my repository to contain the bzr-gtk trunk revisions)19:45
jelmerit shouldn't contain the upstream revisions19:45
jelmerah, ok19:45
jam-laptopbut conceptually it shouldn't change the merge19:45
jam-laptopWhich is sort of weird19:45
jam-laptopbecause I got a lot of conflicts19:45
jam-laptopAnd if you had merged me19:45
jam-laptopI would have thought it would pick a common ancestor19:45
jam-laptopthat wouldn't break like this19:45
jam-laptopmaybe bzr-gtk has some criss-crosses that are confusing the common ancestor code?19:46
jelmerhave you tried merging my bundle against trunk? Does that work better?19:47
jam-laptopnow that is weird....19:48
jam-laptopWhen I merged the bundle19:48
jam-laptopI was getting conflicts19:48
jam-laptopwhen I create a local branch using "bzr pull --overwrite bundle"19:48
jam-laptopand then merge19:48
jam-laptopit goes clean19:48
jam-laptopAnd it is fully reproducible19:49
jam-laptopreally weird19:49
lifelessvila: grep for is_permament in errors.py19:55
jelmerhmm, wouldn't know19:56
lifelessjamesh: ^19:57
jam-laptopjelmer: it seems to be a problem with bzr itself, not related to you19:57
jam-laptopI'm sending a bug to the ML19:57
vilalifeless: yes, may not be worth an attribute, worth an additional FIXME in comment as I don't think it will be needed for handling the decorator/redirection bug19:57
jelmerjam-laptop: sounds odd though19:58
jam-laptopyeah19:58
vilalifeless: does that answer  your ping ?19:58
lifelessvila: well, I think the spelling error should be fixed20:04
jam-laptopjelmer: did you do a cherrypick send?20:05
vilageeee, bloody completion, had to read it 10 times :)20:05
vilaat least the user visible part is correct :)20:06
jam-laptophmm... probably not20:06
jam-laptopbut I think i figured it out20:06
jelmerjam-laptop: nope, send with bzr-gtk's trunk as submit branch20:06
jam-laptopjelmer: I believe the send code is creating a "base_revision_id" which is causing it to force a cherry pick20:06
jelmerhmm20:06
jelmeractually20:06
jelmerI may have used gsend20:06
jam-laptopjelmer: regular "bzr send" does it too20:07
jam-laptopI think I've worked out the problems20:08
jam-laptopI'll send a bug email20:08
jameshjam-laptop: by the way, I have a bunch of changes/improvements to bzr-pqm that'd be good to review/merge20:11
jameshjam-laptop: as well as cleaning things up, it adds tests20:12
jameshand makes it share more bzrlib infrastructure with the merge directive code20:12
jam-laptopjamesh: good to hear, thanks for working on it20:14
radixlifeless: !?!?!20:18
radixbug #15200820:18
ubotuLaunchpad bug 152008 in bzr "Ability to unmerge or revert a merge sensibly" [Wishlist,Fix released] https://launchpad.net/bugs/15200820:18
radixhow's it fixed? I'd really like to use it20:19
lifelessradix: bzr ervert --forget-merges20:19
lifelessoh damn, misread the bug20:19
radixlifeless: erm, that doesn't ...20:19
radix:)20:19
ubotuNew bug: #158820 in bzr "[BUG] Merging an MD into a different branch causes a cherrypick" [Medium,Triaged] https://launchpad.net/bugs/15882020:41
lifelesswtf is an MD  ?20:43
jam-laptopMerge Directive20:43
lifelessoh20:43
lifelessacronyms ftl20:43
fullermdIOTTMCO   :p20:44
jam-laptopbut of course20:44
jam-laptopfullermd: well, at least with a google search :)20:44
Odd_BlokeHeh, 'wtf', 'ftl' FTS.20:45
jam-laptophmm, my 'wtf' doesn't have IOTTMCO or "FTL"20:45
jam-laptopmaybe I need to update20:45
ubotuNew bug: #158824 in bzr "AssertionError after failure to find host" [Undecided,New] https://launchpad.net/bugs/15882420:46
fullermdI don't remember where I picked up IOTTMCO.  I've been carting it around since I was a kid.20:46
* beuno googles IOTTMCO and feels stupid20:50
jam-laptopjelmer: there was a test in "tests/test_viz.py" which was testing "DummyRevision" from viz/linegraph.py20:50
jam-laptopwait, graph.py20:50
jam-laptopanyway, there is no DummyRevision anymore20:50
jam-laptopshould the test just be deleted?20:50
jam-laptop(As it stands, I can't run the test suite)20:51
jam-laptopWhich i think shows that the bzr-gtk folks aren't in the habit of running the test suite before the commit to trunk20:51
jam-laptopOne other thing my patch introduced was20:51
jam-laptop'bzr test-gtk'20:51
jam-laptopwhich only runs the gtk test suite20:51
jam-laptopwhich is a *lot* faster than loading all of the bzr test suite, just to run gtk (bzr selftest gtk)20:52
jelmerjam-laptop: no, I wrote some initial tests about half a year ago, but nobody has touched it since20:53
jelmerthe test for DummyRevision should probably be removed, indeed20:53
lifelessjelmer: please try packs with my repository branch again20:56
lifelessjelmer: commit/branch/push/pull/merge/revert should now me acceptably fast for you20:56
jelmerlifeless: what was the url again?20:57
lifelessjelmer: people.ubuntu.com/~robertc/baz2.0/repository20:58
aconberedoes anyone have a link to documentation regarding group or paired use workflow? the documentation have a picture, but doesn't describe how you might want to host the share repository, or how you would resource a users branch and those kinds of actual implimentation details.21:28
lifelessaconbere: not sure if we have that or not; have you looked at the users guide?21:35
lifelessjelmer: where is your bzr-dbus branch, for bzr-gtk commit-notify to work21:37
aconberelifeless: yeah the user guide helps me figure out how to make branches, and merge, and all the things I already know how to do with svn, but I just don't have any clue how you set up a group work environement21:37
aconbereI presume doing something like... hosting the main branch in apache, with apache mod auth to protect it?21:38
jelmerlifeless: that's a good question21:38
lifelessaconbere: I'm not sure whyt you'd need auth21:38
lifelessaconbere: unless is private code on the internet; in which case you probably want https and auth21:39
aconberelifeless: it's private code for a small group of people21:40
aconberebut we have to share it somehow over great distances21:40
aconberein my experience the way one does this is either through tcp/ip and in general these days using http :)21:40
aconbere(and yes I would also pass that over https)21:40
aconbere(extra either snuck in there)21:41
* fullermd would just do it over ssh...21:43
aconberethat sounds like a terrifying hassle to add new people to the project :P21:44
aconberenot only that but I would be granting full machine access to every member21:44
aconbereI mean... maybe this is not a user case that Bazaar was designed for, I can keep using SVN, but I was hoping to get an idea of how to better utilize these tools, and with the way our teams are I think it would make more sense.21:45
lifelessaconbere: i would just put it on a webserver21:46
lifelessaconbere: then every team member can pull from it21:46
fullermdWell, you can give them a restricted shell that only allows running bzr and/or sftp.  Me, I tend to solve that problem via social means (to wit; I know where they live  ;)21:46
lifelessto get their code back they can send bundles easily21:46
lifelessbzr+ssh/sftp is nice though because it allows read-*write* access21:47
lifelessgotta go; ciao21:47
lifelessjelmer: let me know about bzr-dbus and packs please.21:47
fullermdThe real problem is that the question "how do I set it up" is heavily dependant on the answer to "how do I want to work", which is a terribly unfair question to pose to somebody who doesn't already know bzr well enough to understand the myriad choices.21:49
fullermdOne way is as lifeless said; you just put the branch up on a http server somewhere where everybody [or auth'd to only the somebodies] can read it, then you (or a member of a small group with access) can merge other people's work into and update it.21:50
fullermdAnother way is a shared branch that a bunch of people can write, which mostly means bzr+ssh/sftp, though I think you could do very gross stuff with bzr:// or somewhat less gross stuff with bzr+http:// to open up writability.21:51
=== bac_afk_ is now known as bac
fullermdThe difficulty around that is that bzr doesn't have any capability of doing AAA, so the protocol around it has to handle that (which is what's nice about ssh/sftp)21:52
jam-laptopwell, you could set up the bzr smart server over https and have it enabled for writing21:58
jam-laptopI haven't done it in a while, but it has worked21:59
jam-laptopas an alternative to giving them ssh accounts21:59
aconberefullermd: what does AAA mean?22:02
fullermdAuthentication, Authorization, Accounting22:03
fullermdAt present, ssh/Apache/firewall handles Authentication, filesystem permissions provide Authorization, and Accounting is mostly done by the transport protocol too.22:04
fullermdjam-laptop: I'm often glad I skipped svn, just for the fact that I don't look at "http://..." and think "Oh, yeah, that's writable"   :p22:05
jam-laptopI can say back when I tried to set up svn, it wasn't all that easy to make it writable22:06
beunojam-laptop, I've tried making bzr smart server provide writing over http a few months ago, and I just kept on running into new problems (that's why I updated documentation on it). At the end, I ran into a brick wall (can't find the bug number)22:08
gotgenesjelmer: Is v0.4.4 of bzr-svn really incompatible with bzr v0.91?22:20
jelmeryes22:20
gotgenes:-(22:20
jam-laptopbeuno: something about the paths not matching, iirc22:20
jelmergotgenes: there have been a couple of API changes in 0.92 that bzr-svn had to be fixed for22:20
jam-laptopI remember spiv looking into it22:21
gotgenesjelmer: I suppose it couldn't support both APIs.22:21
gotgenesI have been hoping for the 0.92rc1 debs to hit the bazaar-vcs repos but no luck so far22:21
jelmergotgenes: 0.4.4 isn't out yet either22:22
gotgenesjelmer: I've been pulling from your 0.4 branch as you told me yesterday22:23
jelmergotgenes: It could support both API's, but maintaing support for both would be a maintainance hell22:23
jelmergotgenes: You should be able to run bzr from bzr.dev as well22:23
beunojam-laptop, yup, but the end result was it impossible to push via http. I could give it another try if it needs testing. I gave up on it since no one had time to work on it at the time.22:23
gotgenesjelmer: I understand about the API support. I suppose the API will keep changing frequently until bzr v1.022:24
gotgenesI really prefer debs for system cleanliness22:25
fullermdgotgenes: You don't have to _install_ it; you can just run it out of the source tree until 0.92 debs show up.22:25
jelmergotgenes: 0.4.4 and 0.92 shouldn't be too far off, will both be released within about two weeks22:30
gotgenesfullermd: what's the best way to use it without installing? place it in /usr/local/lib/python2.5/site-packages/ ?22:36
aconberehuh22:36
fullermdNah, just stick it in your homedir.22:36
fullermdI run bzr.dev out of ~/src/bzr/bzr.dev, with a shell alias intercepting 'bzr'.22:37
aconbereI'm not sure I get it how people pass their data around, merge branches with eachother22:37
aconbereit doesn't seem trvial to share the branches22:37
fullermdPeople can do it by putting a branch on a web server somewhere and pointing people at it, or by sending bundles via email.22:38
jelmerlifeless: find_ghosts is great22:39
lifelessmm?22:39
jelmerbzr up/pull for svn branches went from 10 to <1 second22:40
jelmer(when it's a no-op)22:40
lifelessnice22:40
schierbeckjelmer: hello22:40
jelmerhey schierbeck22:40
schierbecki've sent in a version without the changes page22:40
Peakerhey, me and my friend both have bzr 0.90.0 and when he tries to pull a branch from me into a repo he just init-repo'd he's getting an error about repo format22:40
n04mbzr: ERROR: Repository KnitRepository('file:///home/noam/enough/bzr/repo/.bzr/') is not compatible with repository KnitRepository3('http://nextflow.dyndns.org/bzr/enough/.bzr/')22:41
n04mthat's the error22:41
Peakerbzr upgrade --dirstate-tags .   says "bzr: ERROR: The branch format Bazaar-NG meta directory, format 1 is already at the most recent format."22:41
jelmeryou need "bzr upgrade --dirstate-with-subtree"22:42
jelmerif the branch you're pulling was created using bzr-svn22:42
n04mbzr uses a different format when pulling from svn?22:42
jelmerbzr-svn requires a new bzr disk format22:43
n04mjelmer: yeah, it works now22:43
Peakerjelmer: I think that bzr should probably point the user to that command - I thought the --dirstate-tags was the one, but there's really no way for a user to figure it out just from bzr's output22:43
n04mdirstate-with-subtree is newer than dirstate-tags?22:43
n04mi agree, besides asking here there's no way we could hav efigured that out22:44
jelmerPeaker: we're currently discussing that on the development list22:44
Peakerjelmer: ah, ok, thanks22:44
n04mjelmer: ok, thank you22:44
jelmerbzr-svn's FAQ contains it (but will only be included starting 0.4.4)22:44
lifelessok, dinner time22:45
schierbeckjelmer: could i get you to approve the new version? the  i'll merge it right away22:45
fullermdShows why I object to rollup format names   :p22:45
jelmerschierbeck: yep, will have a look22:46
jelmerlifeless: I don't tihnk there were any special requirements for bzr-dbus23:02
n04mjelmer: hi, another question/comment23:02
jelmerlifeless: default trunk doesn't owkr?23:03
n04mi'm doing a 40MB bzr pull and the progress report is "stuck" for quite a while23:03
mc_can i tell bzr somehow to remember my password?(using sftp for pulling)23:03
n04mit would be nice to have some information (such as: bytes downloaded) being updated continuously so i won't worry about something going wrong23:03
Peakermc_: I asked the same and someone told me its coming real soon - you can put your public key in the remote ~/.ssh/authorized_keys223:04
Peakermc_: for password-less login23:04
mc_Peaker: well but that would only work if i would use key authentification instead of passwords i guess?23:05
Peakermc_: That's what ~/.ssh/authorized_keys2 is for -- key authentication instead of password auth23:05
n04mjelmer: ack?23:06
jelmern04m, see peakers' answer23:06
PeakerI didn't answer anything about  bzr progress report   I think it could be nice if bzr had one :)23:07
jelmerthere's been some discussion about improving progress reports as well, not sure what the status on that is23:12
n04mjelmer: thanks.23:12
Peakernot really bzr related, but I'd like the umask of bzr+ssh:// dirs created to have g+w, which file would that be on an Ubuntu system?23:27
fullermdYour shell rc file, I presume.23:28
fullermdI'd imagine there's some env variable or other you could trigger off.23:29
fullermd(of course, if this is in a branch, it'll happen by itself)23:30
Peakerwhy would push to a remote branch fail with: Generic bzr smart protocol error: Permission denied: u'...../.bzr/repository/lock/8xnfe7p211.tmp': [Errno 13] Permission denied ?23:32
Peakerfullermd: ah forgot about the versioning of file modes23:32
fullermdThey're not versioned, they're just used as a template.23:32
fullermdI'll go out on a limb and guess it's cuz permissions were denied   ;)23:32
abentleyPeaker: It's easy to write a shell wrapper around bzr that sets the umask, and use that for ssh.23:33
fullermdProbably don't have +w on the lock dir.23:33
Peakeroops I am dumb, sorry :)23:33
PeakerI thought I had the entire hierarchy set to that group, but appearantly I did it too deep23:34
fullermd 27151 inconsistent parents23:39
fullermd 27151 file versions are not referenced by their inventory23:39
fullermdwuff.23:39
fullermdPretty impressive, for a tree with under 400 revisions...23:41
Peakerhmm all users' umask is now 0002, but the directories created over bzr+ssh://  still have g-w23:41
Peakerunix permissions are annoying :-)23:41
Peakerso its not the umask - what mode does bzr+ssh:// use for directories it makes? how do I change that?23:45
fullermdLast I checked, it inherited from the dir they went in.23:47
fullermdumask would only come into play when making new directories with no higher power to guide it (like init/new-push)23:48
Peakerthe dir its making it in has:   drwxrwsr-x  but its being made as  drwxr-sr-x  (umask is 0002)23:49
lifelessjelmer: LanGateway.start does not exist in my bzr-dbus23:51
jelmerlifeless: looks like I hadn't uploaded it yet, so I just did23:54
jelmerit's at http://people.samba.org/bzr/jelmer/bzr-dbus/trunk23:54
jelmernot registered at launchpad, because it seems to be oopsing on me again23:54
lifeless:(23:54
lifelessoh heh it was in the dbus trunk on the web23:57
lifelessI forgot I wasn't the only one pushing there :)23:57
jelmerthinking about it23:58
jelmerI think you actually gave +1 for that change in Vilnius23:58
jelmermy branch is also registered now, the launchpad web ui seems to like me better23:59

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