/srv/irclogs.ubuntu.com/2008/08/20/#bzr.txt

james_whey vila00:00
james_wwelcome back, good to see you00:00
jamlifeless: the problem is that once you sign up for a bazaar-vcs account, the first link it gives you is your personal page, and then you follow it and it wants to create it for you.00:06
jamSo the *sign-up* procedure encourages it00:06
lifelessyes00:07
lifelessI wonder which page to edit to fix that00:07
jamlifeless: I'll try to ping newz tomorrow to ask00:08
jamlifeless: do you think there might be an obvious way to make the 'three_level' test go faster?00:09
jam60s for a test is a bit ugly00:09
jamI guess it is 68s, and iter_all is 81s00:09
lifelesswell00:09
lifelessmake the code faster :)00:10
jamI'm at least tempted to profile it and see if there is anything obvious00:10
lifelesson the dirstate corruption00:11
lifelessthe change I'm proposing for locks should help that too :P00:11
jamthere are lots of ways around it00:12
jamjust getting rid of the write-in-place will help00:13
jamhowever we go about it00:13
jamassuming it is the truncate() causing the problem00:13
lifelessyah00:14
lifelessthats true00:14
technomancydoes bzr support inline branches?00:20
lifelessI don't know what that means00:21
technomancyit means creating a new branch in the same directory and being able to switch between them without changing directories00:22
bob2no to git-style branches, yes to switching one working copy between branches in a repository00:25
technomancygotcha00:25
lifelesstechnomancy: we have a bzr switch command that can switch branches in a single working dir00:26
lifelesstechnomancy: and we have cheap branches (they are 'bare' - no source files)00:26
technomancyso if I've got my own branch checked out in one directory and a friend's checked out in another, I can't exactly just "bzr diff" them, can I... how does that work?00:27
lifelessbzr diff -r branch:otherdir00:28
technomancyaha; thanks!00:28
technomancyI heard Emacs was planning on migrating to bzr, does anyone know how that's going?00:32
technomancynobody in #emacs seems to know; heh.00:32
mwhudsonthere's a bzr mirror of the emacs trunk00:33
technomancyyeah, but afaik that's still all unofficial00:33
mwhudsonand i think there are some performance concerns, at least some of which are fixed00:33
mwhudsonbut i guess right now a whole lot of nothing is happening :)00:33
technomancyright; it sounded like they were waiting for some more perf fixes... Emacs is one of the oldest extant projects in any version control system, so it makes sense that it would be a good deal more taxing than your average launchpad project. =)00:34
mwhudsonit's not actually that big00:35
mwhudsonit's only 80k mainline revisions or something00:35
mwhudsonwhich, yeah, is on the large end, but it's nothing compared to OOo :)00:35
technomancyinteresting. Yeah I was thinking more in terms of years than any actual measurements I had read.00:36
mwhudsonoh probably yes00:37
technomancycan you diff with a branch straight from launchpad that you haven't checked out locally yet?01:13
technomancyoh wait, I  think I can figure that out.01:13
technomancyyup, that worked01:14
technomancyis there any way to automate file downloads when you cut a new release in launchpad, or do you have to create your tar/zip files manually and upload them through the web interface?01:16
james_wtechnomancy: that last question may be better asked in #launchpad01:17
technomancyoh, of course01:17
james_wI don't know the answer myself, sorry01:17
lifelessjam: don't suppose you are still around ?03:06
=== mw is now known as mw|out
jmllifeless: got an eta for reviewing https://code.edge.launchpad.net/~jml/testresources/tests-meaning-cleanup?03:44
lifeless'soon'03:52
lifelesswhee03:58
lifeless10 second saving on cold-cache stat03:58
jmllifeless: fair enough04:04
jmllifeless: also, 10s on cold-cache is pretty good.04:04
jmllifeless: if you have a look at the TODO file I've added, then that'll unblock me for further work.04:05
lifelessjml: 1m5 to 53 seconds04:05
lifelessjml: k04:05
jmllifeless: does the saving translate to hot-cache?04:06
lifelessmaybe04:08
lifelesscall for testers coming this afternoon04:08
jmlheh04:08
jmllifeless: well, I'm offline until this evening. maybe I'll talk to you then.04:08
lifelessokies04:11
=== samurai is now known as samiam
xshelfcan you have the bazaar mailing list available on www.opensubscriber.com04:50
xshelfit really has a cool (soothing) interface to reading mailing lists04:50
xshelfanyone here personally interested in brz-perforce-bzr interface?04:51
* jamesh hasn't had to use p4 since 2001 and is happy to keep it that way04:54
lifelessxshelf: you can probably get bazaar on opensubscriber yourself04:55
xshelflifeless: The mail I send to bazaar for subscription requires auth confirmation which opensubscriber does not support04:55
xshelflifeless: So, the list maint needs to bypass confirmation for this mail address04:56
lifelessoh04:56
jameshI guess that is a way of only archiving lists with admin approval04:57
xshelfyou can also reply to author or group with that interface04:58
xshelfwith Yahoo supporting only 15 filters, I run out of filter space if I subscribe to multiple lists!04:59
xshelfHence, I prefer a one stop shop of reading lists05:00
mwhudsonman we're going to get a lot of mail when aaron gets back and restarts bb05:30
bob2gmane!05:40
=== wantok is now known as `6og
chmacI'm not clear from http://bazaar-vcs.org/NestedTreeSupport on the status of nested tree support. I'm reading posts from early 2007 which say it's "soon"...06:34
chmacCan anyone give me a more up to date view?06:34
chmacOk, this seems like what I'm after http://bazaar-vcs.org/NestedTreeProgress06:36
chmacLast update was May 07 though, anyone know if any progress has been made since then?06:37
beunochmac, yeah, that hasn't happened yet06:37
beunoyou can ping LarstiQ06:37
beunoand make him feel guilty about it06:37
beunothat's what I do06:37
chmac:)06:37
chmacLarstiQ: Nested Tree support? When's it gonna happen? :)06:37
beunomaybe even email the list to get the subject re-started06:38
chmacbeuno: I'm considering bzr vs svn for a new project.06:38
chmacIt's managing WordPress installations, and keeping the up to date06:38
chmacSo I was thinking to use nested trees to keep the plugins up to date06:38
beunochmac, well, we have something really cool, which is the "bzr-upload" plugin06:38
chmacI only need very basic support, to add a nested tree, to update it to the latest version, and then to roll it back to a previous version if necessary06:38
chmacbeuno: Cool, let me check that out...06:39
beunowhich will let you upload *just* the working tree, and *just* what has changed since the last upload06:39
beunoright, nested trees don't currently work, so I wouldn't go down that path just yet06:39
chmacbeuno: Ok, bzr-upload looks very interesting06:40
chmacIt would allow me to keep the code in one central location, and push updates selectively to remote hosts06:40
beunochmac, and not just because I'm onw of the authors. It actually works  :)06:40
chmacThat might bypass my need for nested trees, as I could simply push plugins separately06:40
chmac:)06:40
beunochmac, yeap, that's the idea. Mainly aimed at web-dev06:40
chmachttps://launchpad.net/bzr-upload/+download:06:41
chmacNo download files exist for this project.06:41
beunochmac, yeah, we haven't made an official release (will soon)06:41
beunoso, to install it:   mkdir ~/.bazaar/plugins && bzr co lp:bzr-upload ~/.bazaar/plugins/upload06:42
beunoif you're on linux06:42
chmacUbuntu :)06:42
beunocool, the above should work then06:42
beunoand you're set06:42
chmacbeuno: Will it allow me to push a previous revision without rolling back my "working copy" ?06:43
beunochmac, yeap, just specify -r X06:43
chmac:)06:43
beunoand, if you find you need features that aren't there, file bugs, we'll get it done  :)06:43
chmacbeuno: Now that's what I want to hear! :)06:44
chmacIt's checking out now...06:44
chmacbeuno: Will it support ssh host definitions? So sftp://blah/some/path/ ? Automatically picking up my ssh key and so on?06:47
chmacbeuno: When I run `bzr help upload` the first line is "Unable to load plugin 'upload' from '/home/me/.bazaar/plugins'"06:48
chmacYet it outputs the help just fine...06:48
beunochmac, how odd...06:48
beunocan you take a peak in ~/.bzr.log?06:49
beunoyou should have a traceback06:49
chmacbeuno: http://pastebin.com/d4cc40f5f06:51
beunochmac, what version fo bzr are you using?06:51
beunosmells old06:51
chmacBazaar (bzr) 1.3.1, latest in Ubuntu 8.0406:51
beunochmac, hrmm...  mind filing a bug that it doesn't work with 1.3.1, and upgrading to 1.6rc3?  https://launchpad.net/~bzr/+archive06:52
chmacbeuno: Happy to file a bug. It does actually produce the output ok though.06:53
chmacShall I try a test upload to see if it works?06:54
beunochmac, yeah, it will work. It's the "auto" feature that won't.06:54
chmacOk06:54
beunochmac, I'll file the bug, don't worry06:54
beunoupgrade, and the message will be gone06:54
chmacbeuno: Ok, great, if you need anything else from me, just let me know06:54
beunochmac, you've already found a bug, plenty help already  :)06:55
chmac:)06:55
beunochmac, bug #259647 if you want to subscribe06:57
ubottuLaunchpad bug 259647 in bzr-upload "auto feature doesn't work with older bzr versions and tracebacks" [Undecided,New] https://launchpad.net/bugs/25964706:57
chmacbeuno: nice, just subscribed, and running `apt-get update` to install the latest bazaar, thanks for all this06:59
beunochmac, happy to help, and, especially, welcome new users   :)06:59
chmacLooks like the Thai ubuntu mirror is out of date, time to find an alternative...07:01
beunoit should download from PPA, not ubuntu mirrors07:01
chmacbeuno: Yeah, but the `apt-get update` was failing because of a mirror issue07:02
chmacSeems to be running ok now against Taiwan :)07:02
jpdschmac: A list of Ubuntu archive mirrors may be found here: https://launchpad.net/ubuntu/+archivemirrors07:03
chmacjpds: System > Software Sources has a neat tool which checks the mirrors and determines which one is fastest, turns out Taiwan is faster than Thailand in Bangkok :)07:03
beunoyeah, I use brazil07:04
jpdschmac: Oh, that's neat. Didn't know that.07:04
beunochmac, I'm off for the night. Good luck with that, and feel free to hang around here and ask questions. Everyone is very friendly here  :)07:10
chmacbeuno: Thanks again :)07:11
gourmorning07:24
gouris there release date scheduled for 1.6?07:24
thumpergour: btw, doing a branch of ghc inside a shared repo (generating a tree) takes about 6s without hardlinks07:26
* thumper is away07:26
gourthumper: heh07:26
markhkinda off-topic, but can anyone lend me a clue about how I can filter launchpad bugmail using gmail?  It doesn't recognize the mail as coming from a list07:27
markh(its bzr bugmail I most need to filter, which is why the question isn't completely off-topic ;)07:28
chmacAnyone familiar with the bzr upload plugin around?09:57
chmacbeuno said it leaves a file on the server to track what version was last uploaded. I'd like to see a demo of that file, where it's placed, the filename, and so on...09:58
mwhudsonchmac: i guess you can go bzr upload bzr+ssh://localhost/tmp/test and look in /tmp/test :)10:03
mwhudson(or however it works)10:03
chmacmwhudson: Hadn't thought of doing it to localhost, that's an idea... :)10:05
chmacTurns out it's crashing on my machine, I'm not running a late enough version of bzr10:07
chmacUpgrading caused hassle earlier, I'll try it again...10:07
chmacIf I grab bazaar from ppa.launchpad to get the latest version, I can't also get bzr-svn there can I?10:11
chmacWhen I try to install the latest bzr it's failing because bzr-svn depends on it, but there's no newer version of bzr-svn10:12
mwhudsoni uninstalled the bzr-svn package and stuck trunk in ~/.bazaar/plugins/svn10:15
chmacmwhudson: Is it that easy?10:23
chmacI love me some bazaar... :)10:23
MvGHi! I'm looking for some features in bzr, and would be interested to learn if they are available already, or if not, if they have been discussed before, and what you know about the status of them.10:27
MvGOne would be a way to merge distinct branches. Say you have two projects that started as independent branches, but they grow together with interdependence in both directions, so they should be merged into a single source tree. Is there a way to do so which would maintain the revision history of both parts from before the merger?10:28
uwsMvG: i thought there was a (kludgy) trick for that10:29
MvGThe second would be an analogous to the "svn cp" command. When you refactor a file, it makes sense to have two files descend from a common previous file, so that again lines in both files can be attributed to revisions before the split. Is there any way to achieve this in bzr?10:29
uwsMvG: Something with "use the null revision as the merge parent" methinks10:30
MvGuws: Would that work with rich root repos, where even the root dir has a file id? Do you know how I would formulate that on the command line?10:30
MvGcd tmp10:32
MvGSorry, wrong window...10:32
chmacI'm getting this error when trying to check out bzr-svn:  ERROR: Invalid http response for http://bazaar.launchpad.net/%7Ejelmer/bzr-svn/0.4/.bzr/repository/packs/bffc0ecb67b4c56b089ca948c85597dc.pack: Expected a boundary (nDMiLeDyiK0rv.WGnkX:) line, got ''10:33
chmacAny suggestions?10:33
uwsMvG: Something like  bzr merge /path/to/other/branch -r 0..12345   where 12345 is the tip of the other branch10:36
uwsMvG: backup/try first, it might do strange things10:36
MvGuws: At least on a test repo that looks very promising. -r 0..-1 would be the generic way. Thanks a lot, that will be helpful!10:38
uwsMvG: yw.10:38
uwsMvG: let me know if you know about the "cp" thing :)10:39
MvGuws: Sure.10:40
MvGchmac: "bzr branch http://bazaar.launchpad.net/%7Ejelmer/bzr-svn/0.4" works for me, with current bzr.dev. Was that the command you tried? You might try branching http://people.samba.org/bzr/jelmer/bzr-svn/0.4 instead.10:42
chmacMvG: That wasn't the command I tried, I was trying `bzr co lp:bzr-svn ~/.bazaar/plugins/bzr-svn/`10:42
chmacBut I'm trying your command now10:42
chmacI'm also reading https://bugs.launchpad.net/bzr/+bug/19864610:43
ubottuLaunchpad bug 198646 in squid "Invalid http response ... Expected a boundary" [Medium,Fix released]10:43
chmacIt looks like bazaar can cause issues with firewalls, I'm in Thailand, so everything runs through a transparent proxy10:43
chmacI'm trying to run the command via tsocks, but that doesn't seem to be working either...10:43
MvGchmac: You can register an ssh pubkey with launchpad, then the lp: branches will convert to bzr+svn, which might work better.10:44
chmacMvG: That sounds like a plan...10:44
chmacI'll be in Australia on Sunday and will probably not have this issue, but the ssh option is probably sensible anyway...10:44
gnomefreakwhat does bzr: ERROR: Path(s) are not versioned: debian/changelog  mean? see: http://pastebin.mozilla.org/520727 for changelog10:45
gnomefreakit looks perfect to me. i get it when trying to commit changelog10:46
MvGIf this transp. proxy is repeatedly causing you trouble, I would probably start looking for ways to avoid it when the need arises. Most of the ideas I can think of right now do require a host on the outside through which you can relay things, though.10:46
MvGgnomefreak: It means that the file is not under control of bzr. If you just created it (like it seems), you should call "bzr add debian/changelog" first.10:47
MvGgnomefreak: "bzr status" is useful to tell you about files not yet added.10:47
gnomefreaki found issue10:48
gnomefreaki forgot to add debian/10:48
chmacWoohoo, it worked via tsocks after all :)10:48
chmacGotta love ssh! :)10:48
gnomefreakwill commit take several files at a time if i list them "bzr commit rules control"?10:49
MvGgnomefreak: Sure. Why not simply say "bzr commit" to commit all your changes in one bunch?10:49
gnomefreakMvG: what changelog on a separate commit10:50
gnomefreaki want10:50
gnomefreaknot what10:50
MvGDoes anybody know whether bundlebuggy is ill? Haven't been able to reach it lately, connections always time out.10:51
MvGuws: Found http://article.gmane.org/gmane.comp.version-control.bazaar-ng.general/45083 by Martin Pool which says the feature is wanted, but not yet implemented. Still hunting for the references.10:55
MvGjelmer: How does bzr-svn handle copied files from svn? Do you have an elegant way of representing the copy, whcih would be suitable for non-svn use cases as well?10:59
MvGOh, I guess not, as you are the author of http://bazaar-vcs.org/BzrFileCopies and the corresponding https://launchpad.net/bzr/+spec/filecopies is marked "not started". uws, I think that sums it up so far.11:01
uwsMvG: I'm not the author of that page :)11:16
MvGuws: No, sorry, that was addressed to jelmer.11:17
MvGShould have been more clear.11:17
uwsMvG: it's ok.11:18
uwsthanks for the pointer11:18
MvGhttp://bazaar-vcs.org/DraftSpecs/PathTokens seems worth reading as well.11:18
MvGlifeless: Your path tokens approach, are they intended to replace file ids? Or be an additional tool along file ids for cases where file ids don't get the job done by themselves?11:26
lifelessMvG: replace11:57
lifelessMvG: or more accurately, implement copy in the file id model11:57
MvGI believe I can see the issue in both your use cases, but I have doubt that a single approach would be fit to address them both.11:58
MvGAs I understand it, the file tokens for copy would depend only of the history of the files involved, whereas the working with different trees in the parallel import scenario would be based on some user configuration, ore some perhaps costly automatic search for a common ancestor.12:00
MvGFor copy/merge, a DAG of file ids might serve as a token. I have some ideas how to implement this, although I don't know how they would agree with the current infrastructure. But I can see no way to generalize this for parallel imports.12:04
MvGlifeless: If I want to put some ideas into words, should I do so in the wiki, or add comments on launchpad, or discuss them here?12:06
lifelessMvG: well for parallelimports tokens would work by allowing a join to take place at the first time both trees are examined12:08
lifelessthe mailing list is probably the best place to describe thoughts on this12:09
MvGlifeless: Ah, so you don't want to seamlessly handle distinct imports in all commands, but instead want a single command to join the trees, which does specialized work, and continue from there handling things as two related branches, right?12:10
MvGI'm starting a mail to the list. Thanks.12:11
lifelessMvG: actually, I mean that 'merge OTHERIMPORT"12:14
lifelesswill see separate tokens for conflicting file paths12:14
lifelessand depending on what we decide works best UI wise, with either have an option to enable, or disable, joining the tokens where the file path conflicts exist12:15
lifelesswhen you commit that merge, you will have created a join in the per-file dags, and subsequent merges in either direction will not conflict12:15
MvGMakes sense.12:16
lifelessthis should be fast - the number of token changes in two parallel imports will be 1 each, and user friendly12:16
MvGHow about this case: I have a private parallel import, and for some reason I want to merge that branch into an official branch, not the other way round, and continue working on these two in that fashion. So I myself would want to join the DAGs, but it wouldn't make much sense to push these joins anywhere, as noone else can make any use of the IDs from my private branch in any case. I would want a "private, unpushable join". Do you consider this scenar12:19
lifelessit cut off at 'do you consider this scenar'12:20
MvG... this scenario to be of any relevance at all?12:22
lifelesswell12:22
lifelessI don't really understand the scenario12:23
lifelessyou want to merge a private branch into the official branch12:23
lifelessbut you don't want to merge your history?12:23
lifelessignore implementation details for now12:23
lifeless(file ids & file tokens are implementation details)12:23
lifelessMvG: still there?12:26
MvGlifeless: been AFK ... catching up now.12:28
MvGI want to merge the history, but I want to filter which part of the history I publish, I think.12:30
lifelesscan you be more specific?12:30
lifeless(I'm still not understanding the use case)12:31
MvGLet's try a set of examples.12:31
MvGI create a branch "checkout" from an upstream repo and a branch "tarball" from a tarball.12:31
MvGI do "cd checkout; bzr merge ../tarball" or some such.12:32
MvGNow when I do "bzr log", I want to see a forked hiostory for the files, as they come from the tarball and the checkout.12:32
lifelesssure12:33
MvGBut when I push the branch, I might wish the option of hiding all the joins, so people think that files changed in the tarball were modified by me, and files just present in the tarball were newly added by me.12:33
lifelesswell the forked history would show that anyway12:34
MvGThe forked history would register a different branch from which files have been merged, up to the initial import of the tarball.12:34
MvGOn my system at least.12:34
MvGGotta go now, I'll write the mail later today, and include this scenario for discussion once I have thought more about it.12:35
lifelessshowing a fork and showing you as having made changes/added files are not mutually exclusive options12:35
lifelessanyhow, I think you could do revert --forget-merges after doing a merge to mainline; not sure why you would want to12:37
cybercoHi! One of my branches (actually the trunk) has a parent branch ('bzr info' says so) that it doesn't need (since it is itself the trunk). Can I remove the parent branch?13:16
james_wcyberco: only by editing .bzr/branch/branch.conf currently13:18
LarstiQnot that it's particulary important to do so.13:18
cybercojames: ok, sounds a little dangerous (being new to bzr). I guess it won't do any harm there is still a parent (that doesn't exist anymore), will it?13:23
LarstiQcyberco: no, it is only used as a default for things like `bzr pull` when you don't supply any arguments.13:24
cybercook, that's no problem then13:24
LarstiQindeed :)13:24
LarstiQcyberco: in case you want to change it, bzr pull --remeber some/other/branch would do it.13:25
LarstiQcyberco: maybe not for trunk, but will come in handy for others.13:25
cybercoanother question. On the server I've branched my trunk to 'workbranch'. Then I branched it to my local machine using sftp. But when I try to push my changes back to the 'workbranch' on the server I get the message: "This transport does not update the working tree"13:26
LarstiQcyberco: right13:26
LarstiQcyberco: if you don't need the working tree there (and I suspect you don't), then I'd blow it away on the server with `bzr remove-tree`13:27
cybercolarstiq: which means that the files will be removed but not the bzr info?13:28
LarstiQcyberco: exactly.13:28
cybercocool13:28
LarstiQcyberco: in the case you did want to have a working tree there, the message is harmless, .bzr is still updated. You can `bzr up` on the server to update the working tree, or use a plugin like push-and-update to do that everytime you push. (Or bzr-upload if you don't want .bzr, say, website deployment)13:29
cybercoYes, that was what I figured, but I don't need a 'working tree' on the server, so I thought that was a lot of hassle. But, alas, things work wonderful now! Thanks for your help13:32
cybercoI'm really impressed with bazaar13:32
LarstiQthanks :)13:33
gourLarstiQ: lifeless anyone free to share some point with main ghc dev (JaffaCake in #ghc) ?13:33
LarstiQgour: I'll join, but I can't guarantee anything13:33
gourLarstiQ: ok.13:33
grutte_pierhas anyone experience in setting up a http bzr repository protected by an .htaccess file?13:34
LarstiQgour: in general, there are more eyes in here, so I would recommend asking questions here. But I recognize the value of hopping over to their community for help.13:34
LarstiQgour: I just wish I was better at giving it.13:34
gouryes, but let's take whatever opportunity which arises13:34
LarstiQok13:36
cybercohow are commit rights normally arranged? By standard OS file access control?13:38
LarstiQcyberco: yes.13:39
LarstiQgrutte_pier: not me.13:40
grutte_piercyberco: from the hasseling I'm having now with .htaccess I would say yes13:41
fbondHeya, svn has --stop-on-copy to show log from branch point forward.  Does bzr have anything like that?13:42
grutte_piermy problem is that even with a authentication.conf file, I keep getting a 401: Authentication requested error,that bzr doesn't deal with...13:42
moyaI need to publish branches over http, I can not find documentation about it in the user guide, any hints ?13:44
fbondI guess I can use `bzr log -r ancestor:foo..`.13:46
grutte_piermoya: same here! I think you'll need the WebDAV plugin to do that13:46
grutte_piermoya: you are not coincidentally trying to protect you're branches by a .htaccess + .htpasswrd file are you?13:47
grutte_piermoya: https://launchpad.net/bzr.webdav13:48
moyagrutte_pier:  yes I am13:48
moyagrutte_pier: using LDAP instead of .htpasswd file13:48
james_wyou want people to be able to push over http as well?13:48
moyajames_w: yes, I'd like everything possible available over http13:49
LarstiQgrutte_pier: access the branch by http://user@host/...13:49
james_wyeah, you need either webdav, or the smart server13:49
grutte_pierLarstiQ: that gives an error as well: PathNotChild: Path 'http://host' is not a child of path 'http://user@host': user name mismatch13:53
* LarstiQ blinks13:54
grutte_piermaybe host is not allowed to be a www. adres?13:55
cybercogrote_pier:) Do you have links where these "commit rights" access-issues are described?14:00
LarstiQgrutte_pier: what version of bzr are you using, and can you pastebin the traceback for that?14:00
grutte_piercyberco: no links yet14:02
grutte_pierLarstiQ: version 1.5... but I've been having the problems with all previous versions14:02
grutte_pierLarstiQ: I'm not sure what a 'pastebin' means..... :(14:03
LarstiQgrutte_pier: http://rafb.net/paste/14:03
grutte_pierLarstiQ: great facility ;) http://rafb.net/p/7cPcjb41.html14:06
LarstiQgrutte_pier: there are tons of these pastebins around, rafb is just the one I can remember14:07
Leonidashi, am am trying to use the api of bazaar and wanted to ask you guys how to get the permissions of a file in bzr.14:09
LarstiQLeonidas: I'm not sure what you mean.14:15
LarstiQLeonidas: do you mean, what are the unix permissions of a file in a historical revision?14:15
LeonidasLarstiQ: Now, when I have a revtree I can get a files contents via a StriongIO object. But I'd also like to get the special attributes like link, executable etc.14:16
LarstiQLeonidas: ah ok, right, those we do track. But everything other than executable we do not.14:16
robstaping Jc2k14:16
LeonidasI think exacutable and link is the only thing I need to know anyway.14:17
LeonidasThere is revtree.is_executable, but what about links?14:17
Jc2krobsta pong14:19
=== mw|out is now known as mw
LarstiQLeonidas: is there one specific file you are interested in, or do you need to handle all files?14:20
robstahi Jc2k, i'm trying to reach bkor for 2 days now, to help out with the bzr/svn maintainter script workaround, but to no avail14:20
robstaJc2k: any alternative?14:21
LeonidasLarstiQ: I just need it for one file at the moment (I the future I might better use a cache for this, but first I wanted to get it working).14:21
grutte_pierLarstiQ: same story for test release 1.614:21
LarstiQLeonidas: well, there are iter_entries type apis for the latter.14:22
LarstiQLeonidas: revtree.kind(fileid)14:29
LarstiQgrutte_pier: ok, back to your problem14:29
LeonidasLarstiQ: thanks, I'm trying but I am struggling a bit with IPython, it somehow chokes on exceptions.14:30
LarstiQLeonidas: you can %pdb in ipython for dropping you into a debugger when that happens, but can you provide some more info?14:31
LarstiQgrutte_pier: https://bugs.edge.launchpad.net/bzr/+bug/245964 looks ort of similar14:31
ubottuLaunchpad bug 245964 in launchpad-bazaar "nosmart+http interacts badly with http redirects" [Critical,Fix released]14:31
LeonidasLarstiQ: well, it seems to be rather IPython related: http://paste.pocoo.org/show/82797/14:32
LarstiQLeonidas: wuh14:32
LarstiQLeonidas: it barfs on getcwd()?14:32
LeonidasLarstiQ: oh, indeed.14:34
LarstiQgrutte_pier: is there a redirect going on perhaps?14:34
grutte_pierLarstiQ: yep, there is... this looks indeed very familiar14:34
LeonidasLarstiQ: I have deleted the directory it was in. Just fixed it by chdiring somewhere else.14:34
LarstiQLeonidas: ok :)14:35
LeonidasMhh, that might explain my earlier troubles with it. Sometimes I delete branch folders from one of my numerous screen sessions.14:36
grutte_pierLarstiQ: when taking another close look at my traceback, the remarks in bug 245964 make sense as well14:41
ubottuLaunchpad bug 245964 in launchpad-bazaar "nosmart+http interacts badly with http redirects" [Critical,Fix released] https://launchpad.net/bugs/24596414:41
grutte_pierLarstiQ: in the bug they speak of some comparison and indeed the error in my traceback, is that http://host/.bzr/smart is compared with http://user@host/ .... without the additional .bzr-path14:42
grutte_pierLarstiQ: it makes sense that something is going wrong there, because they are simply different paths14:43
grutte_pierLarstiQ:with nosmart+http the same problems happens with .bzr/smart replaced with .bzr/branch-format14:44
LarstiQgrutte_pier: well, foo/.bzr/etc is a a child of foo/, our problem is that foo isn't foo.14:45
LarstiQgrutte_pier: I'm not exactly sure why that arises.14:45
LarstiQgrutte_pier: and I really need to go out and buy breakfast14:45
* LarstiQ heads to the AH, oh no, aldi.14:45
LarstiQgrutte_pier: I'll get back to you on this.14:46
Necorohey :)15:16
Necoroevery time I push via FTP - all .bzr files which are altered get the permissions 0600 ...15:16
Necorobut this blocks access from the HTTP-server15:16
Necoroso I can't pull via http any more15:16
Necorois it possible to make bzr change the default permissions to 0644 ?15:17
beunojames_w, hi15:50
james_whey beuno15:52
beunohow's it going?15:52
james_wgood thanks, you?15:52
beunopretty good too15:53
beunoI'll be in London again next week, if you want to/can drop by  :)15:54
james_wah cool15:54
james_wnext week isn't great for me though, sorry15:54
beunono worries, next time (which, for now, seems to be october)15:55
james_wcool15:55
james_wyou're travelling a lot?15:55
beunoheh, yeah, seems like it's going to be like this for quite a while15:56
LarstiQbeuno: how so?15:57
beunoLarstiQ, hi. Well, I have 3 trips already planned from here to december, and a few "maybes"15:57
LarstiQI see.15:58
beunoeverytime I start to complain about 14 hour plane trips, I remember australian folks do 24+  :)15:59
jamNecoro: I don't think we chmod over ftp, but I could be wrong16:12
jamif we *do* then setting the permissions on the '.bzr/' directory itself should cause us to set permissions on files correctly.16:13
jamBut my guess is that it is an ftp server thing, and something outside of bzr's control16:13
jambeuno: I'm a bit surprised their bringing you to London so often, I suppose it depends if you enjoy it or not whether I should be congratulating you or expressing sympathy :)16:14
Necorojam: on my local branch the permissions are correct16:14
Necoroso - perhaps it is really a server thing16:14
jamNecoro: TODO: jam 20051215 ftp as a protocol seems to support chmod, but16:14
jam        ftplib does not16:14
jamNecoro: but I also see a "SITE CHMOD" command16:15
jamSo it seems that the server *might* support chmod16:15
beunojam, heheh, well, I *do* enjoy the sprints. Actual plane flights, not as much, but I'm getting used to them. I guess my work needs more high bandwidth interaction16:15
jamNecoro: we generally set permissions based on the .bzr/ directory16:15
jambeuno: just hack on the plane, right?16:15
jamlifeless does that16:15
jamyou can get some interesting work out of him before/after sprints16:15
jamNecoro: so if the .bzr/ directory is set 700 we will create files as 60016:16
jamif it is 777 we should create files as 66616:16
beunoyeah, I really have to start upgrading to business class, where they have plugs for laptops16:16
jamNecoro: that, of course, requires the ftp server to support both stat and chmod16:16
jamNecoro: hm... I see a possible problem. It seems that our code doesn't detect ftp permissions correctly, but it does try to *set* them. :(16:17
jamvila: ping, just curious if you know about the SITE CHMOD work16:17
beunojam, all debs uploaded, moving on to docs tweaks16:30
jam /cheer16:30
jamI guess I should announce then16:39
beunojam, yeah, and possibly blog about it?  warn people this is the last RC, so, speak now or forever hold your complaints16:56
Odd_Blokejelmer: I just got http://paste.ubuntu.com/39158/ when attempting to commit to the Python Applications Packaging Team's SVN repo.17:06
Odd_BlokeI get much the same when I commit locally and attempt a push (same SVN exception).17:06
jamOdd_Bloke: it looks like a directory isn't there any more, are you sure the URLs are all correct still17:09
jambeuno: I suppose17:09
jamI just feel a bit like I'm hammering people with 5 release candidates17:09
jamwhen it is typically only 117:09
jamthe fact that I've released 4 of them in < 1 week17:09
fullermdWell, you could have hammered then with 4 releases in a week instead.  That would have gotten plenty of attention...17:10
jambeuno: also there is a trivial bit incorrect with 1.6rc5, the date in NEWS is wrong. I don't know if it is worth doing anything about it.17:10
luksrc6 with a changelog bugfix! :)17:11
=== kiko is now known as kiko-phone
Odd_Blokejam: This was on a fresh checkout of a freshly created folder.17:11
fullermdThen rc7 for the changelog bug of forgetting to put rc6 in the changelog.17:11
=== mw is now known as mw|brb
beunojam, I'm sure people will forgive an incorrect date in NEWS  :)17:12
jamluks, fullermd: Well, Peng teased me that there will be a 1.6rc7, so I need to avoid that one :)17:14
jamI'll just skip to 1.6rc817:14
moyaI have created a repo with bzr init-repo --no-trees in /srv/bzr and published that dir via web using dav, when I try to access it bzr complains with: ERROR: Target directory http+webdav://localhost/bzr/ already exists, but does not have a valid .bzr directory17:15
fullermdThat would make perfect sense, actually.17:16
fullermdIf you skipped rc6 too, that would make the 5th rc in the week, and 1.6 is 8/5.17:16
jamfullermd: exactly :)17:16
beunojam, patch sent. I'm moving to the office, will put together a draft on what the script should do and send it to the list. Then I move on to stuff I need to do in these channels  -->17:18
fullermdMmmm.  1.6 stopped using some of the smart server verbs we were using, right?17:18
jamfullermd: right17:18
beuno(moving to the office == 15 minutes AFK)17:18
jambeuno: I thought you just ignored the .bzr dir rather than deleting it17:19
Odd_BlokeThere is a /www/policy.txt in the SVN repo, but I don't know why it's looking at it (as I'm in a completely different place).17:19
Odd_Blokejelmer: jam: ^17:19
fullermdWould that be why a remote missing is taking over a minute to a 1.5 server now, instead of the merely absurd 25 seconds 1.5 takes?17:19
fullermdIt seems to churn for a very long time before the "You are missing xyz revisions" line.17:20
beunojam, it created problems last time. lamont implied it didn't get added, but it did last time I tried, so I'm adding it just in case17:20
jambeuno: you sure you did both -I.bzr and -i.bzr ?17:21
beunojam, I did what the PPA docs say:  debuild -S -sa -i -D17:22
jambeuno: I thought lamont's recommendation was to do17:22
jamdebuild -S -sa -i -D -I.bzr -i.bzr17:22
jamOr at least, he configured it to do that in his ~/.something17:23
lukswhy not use bzr-builddeb for the packages?17:23
jamluks: a few reasons17:23
beunojam, I didn't quite understand that part, so I went down a different path. I'll be happy to go over the docs with him if he has time17:23
jam1) We add the intermediate compiled .pyx => .c files so people don't need pyrex to build the bzr source17:23
jamAnd AFAIK bzr-builddeb doesn't allow adding intermediate files17:23
datojam: "-i" alone should be enough17:24
luksthe packages are built against the release tarball, aren't they?17:24
jamdato: well, lamont came and complained that it wasn't17:24
datojam: ok, but odd :-)17:24
luksand the tarball already contains the compiled .c files17:24
jamluks: 2) There was something about bzr-builddeb interacting poorly with orig.tar.gz17:24
jamluks: I though bzr-builddeb worked against the *bzr* tree, not a tarball17:24
luksbzr-builddeb has many workflows17:25
jamdato: and according to beuno just now, it also failed17:25
luksbut as most software isn't in bzr, it would be weird requirement to use a bzr tree17:25
jamluks: I think we would *like* to use bzr-builddeb, and if someone can put something together that actually works, we probably *would* use it.17:25
beunojam, dato, I may have done something else wrong, which made -i do something else, but I'd rather stick with an extra step that works 100% of the time for now. We can always improve17:25
luksjam: well, I use bzr-builddeb for some PPA packages and it works all fine17:26
luksjam: maybe I'll take a look at it17:26
jamluks: *I* would appreciate that a lot17:29
Odd_BlokeBwahaha, I win.17:32
Odd_BlokeI had branching scheme issues.17:32
* LarstiQ hands Odd_Bloke the washing machine!17:32
=== mw|brb is now known as mw
LeonidasWhat is the number that is stored in Revision.timezone? It seems to be seconds, right?17:42
Leonidas(seconds from UTC)17:42
* fullermd would presume so.17:43
fullermdAt least, until some random place gets a bug up their behind and decides to make their TZ offset sub-second...17:44
vilajam: not sure what you're referring to, I fixed some bugs in the ftp transport but Christophe Troestler  (IRC nick anyone ?) also made some modifications I didn't review18:22
beunovila, hi!18:23
vilabeuno: hi ! I will be back far more often starting in 37 hours :-D18:24
vilabeuno: I need to reply to  a couple of mails regarding bzr-upload (as in: I read them but didn't find the time to reply)18:25
beunovila, yay!  Welcome back, you've been missed18:26
vilathanks18:26
vilaI think I'm so excited I prefer to hide :-) (kidding, I need to finish a project in record times but I came back from vacations with fully charged batteries :)18:28
Verterokmornin' all18:30
beunohey Verterok18:30
Verterokbeuno: hey there18:30
beunoVerterok, home yet?18:31
Verterokbeuno: still @ work...but leaving in ~ 2hs18:31
Verterokbeuno: (mini)sprint at you office? :D18:32
beunoVerterok, absolutely!  I'll be here18:32
LeonidasWhen I have a file id, how do I get the revision in which it was last modified?18:32
Leonidasfor example I have pointtec-20061130215532-730mabsm1q6n7007-118:33
LeonidasNow I'd like to get a revision that contains the file.18:34
beunoLeonidas, I can't dig into it right now, but you should peak into how loggerhead does it18:36
=== kiko-phone is now known as kiko
jamvila: well the "SITE CHMOD" lines are attributed to a commit from you19:14
jamnamely 3508.1.1, "Fix ftp transport so that it handles the 'mode' parameter when provided"19:14
jamLeonidas: Do you already have a tree?19:15
jamrevtree.inventory[file_id].revision19:15
Leonidasjam: yeah, I do. thanks. I was peeking into bzrlib.builtins.cmd_file_id_path which is using WorkingTree.19:17
jamLeonidas: unfortunately, for a working tree you have to grab the "basis_tree"19:17
jambt = wt.basis_tree()19:17
jambt.lock_read()19:17
jambt.inventory[file_id].revision19:17
jambt.unlock()19:17
Leonidasjam: it is not a problem, I don't want to use the workingtree anyway :)19:18
=== thumper_laptop is now known as thumper
beunowhat do I need to fiddle with in locations.conf to commit with different email addys in different locations?19:51
jambeuno: 'bzr whoami --branch'20:03
jamYou just set "email = ..." I believe20:03
vilajam: ok, so you're referring to my fix. What's up ?20:07
jamvila: I'm just trying to figure out what is going on, since it appears that we don't *stat* over ftp, so we get a bogus mode, and then try to chmod incorrectly.20:09
jamSomeone earlier was saying that over ftp he was getting 700 for everything20:09
jamwhich meant when he uploaded, it broke modes for http access20:09
vilajam: hmm, weird, two things:20:10
vila1- I thought bzrlib always provides 755 or 644 by default (without stat'ing)20:11
vila2- ftp servers can restrict chmod usage20:11
vilaor set an umask20:11
beunojam, thanks20:12
vilabut that's from memory, if there is a bug report I could look into fixing it anyway (very sooon 8-)20:12
jamvila: *I* thought we provided None by default20:12
jamNo bug report that I know20:12
Necorovila, jam: Files uploaded via a normal ftp-program results in 64420:13
beunolifeless, ping me when you're up, I'm preparing 1.6.120:15
Necorook - using zsh's ftp client also results in 64420:15
Necoroso I assume it is a bzr issue20:15
vilajam: if we provide mode=None, then we don't call SITE CHMOD...20:15
jamvila: I thought we provide None unless we successfully *stat*20:16
vilaNecoro: can you file a bug report please, I'll look into it20:16
jambut our ftp.stat() returns st_mode = S_REG20:17
jamor20:17
jamst_mode = S_DIR20:17
Necorovila: ok20:17
jamand nothing about the actual permissions20:17
jamNecoro, vila: My guess is that we should see "mode == 000" and then fall back to None20:17
vilajam: I know, it's a faked stat, but where do you see 'we provide None unless we successfully *stat*'20:18
jamvila: "BzrDir._find_creation_modes"20:18
jamst = self.transport.stat('.')20:18
jamtry/except TransportNotPossible20:18
jamif not posisble "_dir_mode = None"20:19
jamelse20:19
jam_dir_mode = (st.st_mode & 07777) | 0070020:19
jamvila, Necoro: So explicitly this is the problem.20:19
jamThe stat succeeds20:19
jambut doesn't return a valid mode20:19
jamso we fall back to 070020:19
jamWe could simply do20:19
jamif st.st_mode & 07777 == 0: self._dir_mode = None20:20
vilathat's nasty because I thought transport.stat() was used to know wether or not a path is a dir, I was not aware it was used to get permissions20:21
jamvila, Necoro: This should be a reasonable fix: http://pastebin.com/d66e4426c20:21
jamvila: In other places it is used for size20:21
jamNot sure when that is used any more20:21
Necorojam: I'll give it a try20:21
vilawebdav will suffer from the same problem as will the smart server then (that's where I stole the idea to implement it in webdav)20:22
Necorojam: what version of bzr is this diffed against?20:23
jamNecoro: bzr.dev20:23
Necorobecause the patch fails with 1.6rc320:23
jamNecoro: odd, I see exactly the same code20:24
jamslightly different offset20:24
jamNecoro: starts at 648 in bzr-1.6rc320:25
jamline 64820:25
* Necoro will just patch by hand ;)20:25
jamvila: smart server issues a real stat request20:26
jamand returns stat.st_mode directly20:26
jamso it includes file modes.20:26
jamwell, it uses "self._backing_transport.stat()"20:26
jambut 99% of the time backing_transport is Local20:26
jamwell Chroot(Local())20:27
* vila scratches his head20:28
Necorojam: works now20:29
Necoroshould I still file the bug?20:29
jamNecoro: so please file a bug20:29
jamand include that as a patch20:29
jamso we don't forget about it20:29
jamand then poke vila in 37 hours so that he fixes ftp's stat :)20:29
jamIn the mean time, let him get his "private" work done, so he doesn't start working for us late20:30
jam:)20:30
vilamake that 34.5 hours :-D20:31
Necorobug #25985520:33
ubottuLaunchpad bug 259855 in bzr "Wrong mode of .bzr files when pushed via FTP" [Undecided,New] https://launchpad.net/bugs/25985520:33
jamThanks Necoro20:49
Necorothank you jam for the patch20:49
=== mw is now known as mw|food
teratornis there any easy way to append some more changes to the last commit?21:12
teratorn(before its pushed or pulled, of course)21:12
luksbzr uncommit / bzr commit21:15
teratornyeah, I already knew about that :/21:17
LarstiQteratorn: so what did you want different?21:18
teratornjust a simple command "append-commit" or the like... so I don't have to fumble with copying commit messages, etc21:19
teratornone other thing.. bzr shelve/unshleve is great and all, but is there a way to do hunk cherry-picking at commit time, instead of having to do a separate shelve operation first?21:21
* LarstiQ wonders why people suddenly keep asking for that21:21
jamteratorn: there is the "bzr-interactive" plugin, which allows "bzr commit -i"21:21
teratornoften times I have a mass of changes, but I will make little "side changes" (docs, comments, etc), that should just be committed immediately and forgotten about21:22
teratornjam: interesting, thanks21:22
LarstiQnow, if my browser didn't freeze out on me, I could try to look up if there is an ammend style plugin to do the uncommit/commit dance.21:23
Necorowhere is the problem with doing two commits?21:24
Necoroand stating in the commit message that it counts as an ammendment to the previous one?21:25
Peng_Uh-ohs. SimpleTAL exceptions in Loggerhead.21:25
teratornit's dumb... other developers shouldn't be burdened processing two commit messages/diffs when one is best21:25
teratornsee e.g. "darcs amend-record"21:25
Peng_Coinciding with a spike in resource usage too.21:25
LarstiQteratorn: I thought there was something like that, but I can't find it atm.21:26
teratornLarstiQ: well I'll keep my eye out.. thanks21:26
teratornI imagine writing a plugin to do it wouldn't be hard21:26
LarstiQteratorn: right, fairly trivial even.21:27
fullermdI think there might be something in bzr-gtk or one of the GUIs that does it.21:27
fullermdThere was a hunk of discussion/work on saving uncommit'd logs at least, which is part of the process.21:27
* LarstiQ watches http://gigo-ice.org/scm/bazaar/plugins/docdiffdemo.htm in the interim21:28
mwhudsonPeng_: hmm21:31
Peng_Oh hi21:32
Peng_This page does it: http://bzr.mattnordhoff.com/loggerhead/bzr/configobj-4.5.2/changes?start_revid=1185.33.4921:33
Peng_Augh, I can't copy and paste from my log files when you people make 20 requests! :(21:34
Peng_Anyway, it just says it can't concatenate str and None.21:34
mwhudsonwhat21:34
mwhudsonException: cannot concatenate 'str' and 'NoneType' objects21:34
mwhudsonhm21:34
mwhudsonit's in the source too, which makes it easier to find :)21:35
Peng_Oh.21:36
Peng_OK then. That should make it easier to track down. The log file didn't give any context.21:36
Peng_(FWIW, the error was repeated 3 times.)21:36
Peng_That revision has no branch nick.21:37
Peng_Yeah, none of them do.21:38
mwhudsonyeah, it's a branch_nick problem indeed21:38
bkorJc2k: when robsta is around, tell him I have an email address21:50
mwhudsonPeng_: fixed21:51
Peng_mwhudson: Cool. Thanks. :)21:51
mwhudsonnp, thanks for mentioning it21:51
Peng_Could any other places have that issue?21:51
Jc2kbkor: will do21:57
bkorJc2k: I have no idea what the hell he's pinging me for (I prefer people just either asking outright, or staying online 24/7)21:58
beunomwhudson, are you up to doing a review today, so we can release a 1.6.1 with fixes to the template browse.pt and adding --port and --host flags to serve-branches?21:58
mwhudsonbeuno: sure21:59
mwhudsonPeng_: maybe :)21:59
mwhudsonPeng_: nowhere totally obvious suggested by grep21:59
Jc2kbkor: he's wanting to move his css gtk engine into svn.gnome.org sing the same method as uws did for gnome-specimen22:01
Lani78Hi, I'm trying to learn bzr and I've now created a central and shared repository on my server. First I created a local repo:22:01
Jc2kbkor: so he needs you do to the honour with killing trunk and copying his branch to trunk22:01
Lani78bzr init-repo --trees .22:01
Lani78then the remote on my server: bzr init-repo --no-trees sftp://centralhost/srv/bzr/22:02
bkorJc2k: I forgot what I did for uws22:02
Lani78I can add files, and commit them just fine, and get them from another computer later, so it all works :)22:02
Jc2kbkor: delete drunk and then move the bzr-playground branch in its place22:02
Jc2k*trunk22:02
Lani78BUT, where does it physically store my data?22:03
Jc2kbkor: for http://svn.gnome.org/svn/gtk-css-engine/22:03
Jc2kbkor: i can get the blog post uws made with notes if it is helpful22:03
Lani78the folders that I create in /srv/bzr are completely  emtpy... ;)22:03
Peng_Lani78: Do they have a .bzr directory?22:04
Lani78nope22:04
Lani78but the data must be somewhere on the server as I could get the files from another computer ;)22:04
Peng_Yeah, it's in ".bzr".22:05
Lani78but not on the server... I just told you. not in /srv/bzr anyway... If not "ls -l" has changed...22:06
Jc2kls -a22:06
Lani78ah!22:06
Lani78hehe22:06
Lani78da*n22:06
Lani78Thanks :)22:07
Lani78Now I feel safe again ;) I think that I should go to bed and get some sleep ;)22:07
=== mw|food is now known as mw
Lani78Ok, my next question now that we have that out of the way ;)22:09
Lani78I created the central shared repository with: bzr init-repo --no-trees sftp://centraluser@centralhost/srv/bzr/22:10
Lani78if I changed my mind now, and I want a separate shared repository for every project. can I just move all of the contents in /srv/bzr/.bzr into a subfolder, like /srv/bzr/project122:11
Lani78I only have one project at this time22:11
NecoroLani78: using "bzr branch" should make more sense, I think22:13
Necorothough using it in a subdirectory of a repository will not do what you think it'll do ...22:14
Lani78No, that is why I changed my mind and want a repository for every project22:14
Lani78Atleast that is what I think that I want and what was recommended on another wiki page when I found it ;)22:15
NecoroLani78: but I doubt copying .bzr directories is the way to go22:15
Lani78Ok. But to make it easy for me know, if I just want to start over, then all I have to do is to remove all the .bzr directories, locally and on my server, right?22:16
Necorothen you'll lose all bzr-related information22:17
Lani78yes, but that's fine, I can start over now, I only just begun.22:17
Lani78It's a lot of new terminology and techniques to grasp for a former Microsoft Visual SourceSafe guy... ;)22:19
NecoroLaney: given that /A is a shared repos with projects /A/b and /A/c - and you want to split ... I would do: bzr branch /A/b /tmp/b && bzr branch /A/c /tmp/c && rm -rf /A && mkdir /A && mv /tmp/[bc] /A/22:19
Necorothough perhaps there is an easier approach ...22:20
pickscrapeHow may people does Canonical employ to work on bzr full time?22:20
Lani78Necoro: ah ok, I think that made sense22:20
NecoroLani78: because for the shared repository, there is a .bzr in /A and in /A/b and /A/c ...22:22
Necoroso just copying the one in /A won't work, I assume22:22
Lani78Yes, and now I don't wont any in /A, just in /A/b and /A/c22:23
Necoroyeah - my branch and move approach above should handle this ...22:24
Lani78Yup :)22:24
Necoroperhaps "bzr split" might work too ... but this only a guess22:24
Lani78I will try that, but I have not fully grasped this working tree stuff yet but hopefully it will come to me eventually, I will start with just doing it as the tutorial says and see what the result becomes :)22:24
Peng_"split" is for when you want to break off one directory in a branch into its own branch. It has nothing to do with shared repos.22:25
Peng_Lani78: You don't need to throw out your history if you just want to reorganize your shared repos.22:25
Lani78Peng_: ok? Necoro gave me an example of creating temporary branches?22:26
Lani78(11:19:19 PM) Necoro: Laney: given that /A is a shared repos with projects /A/b and /A/c - and you want to split ... I would do: bzr branch /A/b /tmp/b && bzr branch /A/c /tmp/c && rm -rf /A && mkdir /A && mv /tmp/[bc] /A/22:26
lifelessbeuno: pong22:37
beunolifeless, good morning22:37
beunoI promised 3 things for LH 1.6.122:37
beuno1) fix template22:37
beuno2) --port flag for serve-branches22:38
beunoand 3) --host  ?22:38
beuno2) and 3) are done, and 1) is 3/4 there22:38
lifeless--prefix22:45
beunolifeless, --prefix for what, sorry?22:47
lifelessbeuno: see michael's mail to me22:48
lifelessbeuno: did you find it?22:53
beunomwhudson, can you clarify that a bit for me?  --prefix should be appended before path?  (serve-branches, line 79)22:53
beunolifeless, I don't quite get what needs to be plugged22:54
lifelessI have loggerhead on localhost, apache in front mapping host/bzrview -> loggerhead22:54
lifelessloggerhead can figure out host magically, but not that /bzrview == '.'22:55
beunolifeless, so you would add  --prefix /bzrview?22:55
lifelessbeuno: something like that22:56
beunonot sure what paste does with the PrefixMiddleware, so I'm kinda in the dark22:56
lifelessmwhudson_: welcome to the internets22:56
mwhudsonlifeless: :/22:57
mwhudsonlifeless: it's my laptop acting up this time22:57
lifelessheh22:57
lifelessmwhudson: beuno needs guidance22:57
lifeless07:53 < beuno> mwhudson, can you clarify that a bit for me?  --prefix should be appended before path?  (serve-branches, line 79)22:58
beunomwhudson, this is refered to:22:58
beuno>> We use port 8000, and map http://www.squid-cache.org/bzrview/ not /22:58
beuno>22:58
beuno> serve-branches is meant to autodetect this from apaches forwarded22:58
beuno> requests.22:58
mwhudsonlifeless, beuno: no, it's for the prefix middleware constructor22:58
beunoIt only detects the hostname automatically (by X-Http-Forwarded-Server),22:58
beunoyou have to specify the hostname in the construction of the22:58
beunoPrefixMiddleware object (or via a --prefix command line option we should22:58
beunoadd...).22:58
beunomwhudson, so it takes more parameters?22:59
mwhudsonbeuno: yes22:59
* beuno looks for paste docs23:00
mwhudsonbeuno: read it's source/docstrings, perhaps,23:00
beunomwhudson, thanks. I see it has a prefix value, simple enough23:02
beunolifeless, mwhudson, does this look good enough?  http://beuno.com.ar/random/lh.png23:30
lifelessFINE23:30
lifelessfine :)23:30
mwhudsonbeuno: +123:31
beuno\o/23:31
* beuno commits and pushes for review23:31
=== mw is now known as mw|brb
beunolifeless, http://bazaar.launchpad.net/~beuno/loggerhead/1.6.1/revision/220?compare_revid=215  (see changes to serve-branches)23:43
beunowill that make you happy?23:43
mwhudsonbeuno: "Port Loggerhead should listen on. 8080 is the default one."23:46
mwhudsonis a bit clunky23:46
mwhudsonmaybe just23:46
mwhudson"Port Loggerhead should listen on (default 8080 is the default."23:46
rockyhm, any reason NEWS.html hasn't been updated to reflect the latest bzr rc releaes?23:47
mwhudson"Port Loggerhead should listen on (defaults to 8080)."23:47
beunomwhudson, fair enough. it did feel odd. Any other changes to the other strings?23:49
mwhudsoni think it's ok23:50
mwhudsonlets see what lifeless says23:50

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