[01:26] <mtaylor> what the crap?
[01:26] <mtaylor> bzr: ERROR: exceptions.AttributeError: 'Inter1and2Helper' object has no attribute 'source_repo'
[02:16] <mcr> I was hoping bzr serve would permit some kind of minor password authentication.
[02:17] <mcr> I want to setup some people with TortoiseBZR because they are major lusers who can not cope with plink, etc. stuff.
[02:17] <mcr> Is there some option for this?  I'll resort to IP address restrictions if I have to, but ...
[02:26] <fullermd> No, the bzr:// protocol doesn't have any of that.  There've been occasional discussions on the list; I think somebody posted some WIP patches once.
[02:26] <fullermd> You could try setting up the bzr+http:// smart server, and using HTTP auth via Apache etc.
[02:29] <wgrant> Does Windows really still not have a good SSH story?
[02:33] <fullermd> Oh, c'mon, just put the ball ON the tee for us, why doncha...
[05:42] <keithy> is there a solution for nested projects as part of bzr yet?
[08:04] <jam> lp:~canonical-bazaar/udd/hottest100/
[08:04] <jam> lifeless, poolie, vila: ^^
[08:04] <jam> lp:~canonical-bazaar/udd/hottest100/
[08:04] <lifeless> lp:~canonical-bazaar/udd/hottest100/
[09:20] <justdave> I created a branch with bzr clone, but I want to treat that branch as if it's the original source now, how do I remove the "parent repo" relationship from it?
[09:24] <fullermd> You can edit it out of the branch.conf.  But what makes you think you need to?
[09:25] <fullermd> 'parent' doesn't mean any sort of dependancy; it's just the default place that 'pull' looks to.
[09:25] <justdave> when I try to pull from the new location from a client, it's giving me an error about being unable to write to the original parent
[09:26] <fullermd> Being a parent branch will never make it try to write there.  That's something else; you have it bound, maybe.
[09:26] <fullermd> What does 'info' say it is?
[09:28] <justdave> oh, must be my client spewing that, because the error is about an https: repo, and the new repo shows it with a bzr+ssh: on the old location
[09:28] <justdave> the client had formerly checked out from the old repo, and I was trying to update it with bzr pull --remember (new repo location)
[09:28] <Peng> Try "bzr switch".
[09:30] <justdave> ok, that almost works.
[09:30] <fullermd> Yes, pull probably isn't what you want to do in a checkout there.
[09:30] <justdave> my cleint's too old.
[09:30] <justdave> client*
[09:30] <Peng> Eep, too old for what? How old is it?
[09:30] <justdave> Bazaar (bzr) 1.18
[09:30] <justdave> repository format is 2a
[09:31] <fullermd> 1.18 can grok 2a (but definitely not as well as a recent 2.0.x, true)
[09:33] <justdave> bzr: ERROR: KnitPackRepository('file:///(local checkout)') is not compatible with RemoteRepository(bzr+ssh://(new repo)) different rich-root support
[09:33] <Peng> Hm, can you "bzr upgrade" a checkout to a rich-root format?
[09:33] <fullermd> That's not a bzr version problem; that's because your checkout is a poor-root format (e.g., pack-0.92 or the like), and the upstream you're wanting to move to is rich-root (probably 2a)
[09:34] <lifeless> Peng: yes
[09:34] <justdave> ok, so upgrading the local checkout first might work
[09:36] <Peng> lifeless: Oh, nice. That makes sense, but it's kind of the thing I'd expect to blow up. :P
[09:36] <Peng> justdave: It will work. Have faith! :D
[09:36] <justdave> yeah, it's converting now
[09:37] <lifeless> fullermd: cat /proc/cpuinfo :P
[09:37] <timClicks> hi there, is there anything I can do to fix this?
[09:37] <timClicks> bzr: warning: unsupported locale setting
[09:37] <timClicks>   Could not determine what text encoding to use.
[09:37] <timClicks>   This error usually means your Python interpreter
[09:37] <timClicks>   doesn't support the locale set by $LANG (en_NZ.UTF-8)
[09:37] <timClicks>   Continuing with ascii encoding.
[09:37] <Peng> timClicks: sudo dpkg-reconfigure locales, or whatever it is.
[09:37] <lifeless> timClicks: yes, make sure that you have po files for that locale.
[09:37] <lifeless> timClicks: if thats turning up when you push, talk to the sysadmin of the server you are pushing to
[09:38] <timClicks> okay, should be fine
[09:38] <timClicks> is this a warning or an error?
[09:38] <timClicks> is it fatal?
[09:38]  * timClicks reads text... warning
[09:39] <Peng> Also "Continuing". :D
[09:39] <timClicks> :)
[09:39] <Peng> Nah, it just means bzr won't give you Unicodey goodness.
[09:39] <Peng> Other software is likely to complain about the same thing.
[09:40] <timClicks> hrm
[09:40] <timClicks> i don't have sudo rights to this machine
[09:40] <Peng> So you really should fix it. It's not hard.
[09:40] <Peng> Ah.
[09:41] <Peng> ...If the sysadmin hasn't fixed this, maybe it's running a kernel vulnerable to those privilege escalation vulnerabilities? :D
[09:42] <fullermd> lifeless: cat: /proc/cpuinfo: No such file or directory     :p
[09:43] <Peng> Wait, why are we talking about /proc/cpuinfo?
[09:43] <fullermd> timClicks: Are you sure that's a valid locale in your system in the first place?  Check `locale -a`.
[09:43] <fullermd> I presume he's poking at my bug comments.  So I poke back   ;>
[09:44] <lifeless> Peng: bug tracker fun
[09:44] <timClicks> well, it's my own machine's locale
[09:44] <timClicks> i've sshed into another
[09:44] <timClicks> and am trying to run bzr within it
[09:44] <fullermd> Sure, but locale names can differ by platforms.
[09:44] <lifeless> Peng: what privilege escalation vulnerabilities?
[09:44] <Peng> lifeless: Linux kernel. Past few months.
[09:44] <fullermd> You have have en_NZ.UTF-8, while another platform may call it en_NZ.UTF8 or something.
[09:44]  * Peng waves hands
[09:44] <lifeless> Peng: for /locales/ ?
[09:45] <lifeless> fullermd: they generally Just Work
[09:45] <Peng> lifeless: No, so you can get root and fix the locales. :D
[09:45] <fullermd> Well, using zh_CN locales makes you vulnerable to Google, doesn't it?   8-}
[09:45] <Peng> (This is probably illegal and not actually recommended.)
[09:45] <lifeless> Peng: oh, groan.
[09:45] <lifeless> timClicks: you can also tell ssh not to pass all your env variables over
[09:45] <Peng> Sorry. When I have nothing useful to say, I make bad jokes.
[09:45] <lifeless> I don't recall how to do that offhand.
[09:45] <Peng> grep LANG /etc/ssh/ssh_config
[09:46] <fullermd> I'm pretty sure ssh doesn't pass locale stuff like that.  It would probably be in shell rc files on the other side...
[09:46] <Peng> Ah, SendEnv apparently.
[09:46] <fullermd> (leastwise, it never has for me)
[09:46] <timClicks> lifeless: locally or from within ssh ?
[09:46] <Peng> fullermd: It can, and it often does by default, depending on your distro.
[09:47] <Peng> fullermd: The server doesn't necessarily care, though.
[09:47] <lifeless> timClicks: see SendEnv in the ssh config as Peng says
[09:48] <fullermd> AcceptEnv is off by default in sshd, looks like.
[09:48] <poolie> jml, i want to know if i should be pushing tribunal stuff into trunk or what
[09:48] <poolie> "i need to think about it" is totally acceptable of course
[09:48] <Peng> fullermd: The manpage suggests Debian turns it on, though.
[09:49] <fullermd> Mmph.  Damn crazy commie hackers...
[09:49] <fullermd> I wish openssh would give some lovin' to cleaning up connection sharing infrastructure (apropos of nothing)
[09:49] <jml> poolie, I'll think about it :)
[09:49] <timClicks> hrm..
[09:49] <timClicks> just checked locale -a
[09:49] <Peng> fullermd: What's wrong with it?
[09:50] <timClicks> and then  export LANG="en_GB.utf-8"
[09:50] <fullermd> Ah, yeah.  UTF-8 vs utf-8 is one of those things I've seen vary a good bit, along with with/without "-".
[09:50] <jelmer> jam: http://pastebin.ubuntu.com/363128/
[09:50] <fullermd> Peng: Too manual.  I've got a lot of fudgery and manual work just to get it working in a few places.
[09:51] <fullermd> Peng: If it would grow (a) detection and replacement of stale sockets, and (b) automatic spawning and backgrounding, that would fix things nicely.
[09:54] <justdave> ok, conversion finished, now trying to "switch" tells me:
[09:54] <justdave> bzr: ERROR: Cannot switch a branch, only a checkout.
[09:55] <lifeless> justdave: pastebin bzr info somewhere please
[09:55] <justdave> on the other hand, bzr pull --remember actually works now
[09:55] <justdave> it's update
[09:55] <justdave> d
[09:57] <fullermd> ('course, on the list of software features needing polish, that winds up WAY below !@&$ suexec...)
[09:57] <Peng> fullermd: Ahh, good point. My favorite part is the big race condition: if you start two SSH processes with no socket, the second one will start a connection, then error out because the other created the socket.
[10:02] <mkanat> justdave: Oh, I was going to paste info about how to resolve your exact situation, after we switched.
[10:02] <mkanat> s/paste/write/
[10:02] <justdave> mkanat: yeah, was my checkout of bmo I was trying to update :)
[10:02] <mkanat> justdave: Yeah, I figured.
[10:03] <mkanat> justdave: It just takes a "bzr upgrade" then probably a "bzr bind" I'd guess.
[10:03] <justdave> so the main trick is I need to update my local repo to 2a format first before trying to reparent it
[10:03]  * mkanat nods.
[10:05] <justdave> tells me "conflicting tags" though...  I get that a lot (because the current-production tag floats, and gets moved along with what's on the production server)
[10:06] <justdave> is there a way to tell it "use the parent's version of the tags"
[10:06] <justdave> ?
[10:06] <mkanat> justdave: Oh, that's interesting. Are you using pull or update?
[10:06] <justdave> pull
[10:06] <fullermd> I think pull --overwrite will force overwrite the tags.
[10:06]  * mkanat was just about to suggest that.
[10:07] <mkanat> justdave: pull is only usually for unbound branches, though.
[10:07] <mkanat> justdave: Usually for checkouts I use update.
[10:07] <Peng> You can also "rm .bzr/branch/tags && bzr pull". :D
[10:08] <justdave> I keep a local branch so I can work on stuff when I don't have internet
[10:08] <justdave> push the whole thing back when I get online again
[10:08] <mkanat> Makes sense.
[10:08] <jelmer> jam: debian_bundle.changelog.Version
[10:16] <bialix> hi jelmer
[10:17] <jelmer> hey bialix
[10:17] <bialix> what do you mean by: "qbzr command for importing svn/hg/git repositories? "
[10:17] <bialix> from http://wiki.bazaar.canonical.com/BzrForeignBranches/Infrastructure
[10:19] <bialix> jelmer: ^
[10:19] <timClicks> :/ i have an error 13 (permissions) popping up. have used ssh to get into a machine and bzr refuses to do anything
[10:19] <timClicks> can i do anything to help it along from my end?
[10:20] <jelmer> bialix: a qbzr command that does svn-import/git-import
[10:20] <jelmer> bialix: if you're familiar with those bzr subcommands
[10:20] <bialix> jelmer: I've used svn-import
[10:21] <bialix> jelmer: do you want to have generic dialog?
[10:21] <bialix> e.g. Import wizard?
[10:22] <bialix> there is also plain import command from bzrtools, what about it?
[10:23] <jelmer> bialix: yeah, generic dialog
[10:23] <jelmer> bialix: plain import is completely different
[10:24] <bialix> jelmer:why?
[10:25] <jelmer> bialix: for ease of use
[10:26] <bialix> no, I've asked why about bzrtools' import
[10:28] <jml> poolie, I'll try to devote some concentrated time to tribunal today
[10:28] <jelmer> bialix: Why it is completely unrelated? It imports trees from directories or zip files
[10:28] <bialix> or tarballs
[10:32] <bialix> jelmer: if you have some sketch in the mind, can you send it to qbzr@googlegroups.com ? ascii art will be fine
[10:32] <bialix> btw, what's the current status of bzr-gtk?
[10:32] <lifeless> jml: we could do a conerence call after work, if you want
[10:32] <jelmer> bialix: we should probably add the required infrastructure in Bazaar first
[10:32] <jml> lifeless, thanks, but I've already got plans for this evening.
[10:32] <bialix> that's great
[10:34] <lifeless> jml: :P
[10:37] <poolie> jml, actually i don't want to demand a lot of time from you
[10:37] <poolie> just
[10:37] <poolie> s//also, we can talk easily in london
[10:37] <poolie> i feel a bit like i'm forking your project so just wanted some reassurance that you're ok with where it's going
[10:37] <poolie> but you seemed to basically agree in sinny
[10:39] <jml> poolie, ok. the context-switch overhead is basically my biggest blocker atm :)
[10:39] <poolie> yeah i thought so
[10:39] <poolie> just say "I trust you, poolie" and I'll continue :)
[10:44] <jml> poolie, I trust you
[10:45] <fullermd> Just don't sign anything in blood after saying that...
[11:02] <bialix> evening igc
[11:08] <lifeless> hi bialix
[11:08] <bialix> heya lifeless!
[11:08] <bialix> how you guys&
[11:08] <bialix> ?
[11:09] <lifeless> we're good; spriting at vila's place
[11:10] <bialix> cool!
[11:10]  * bialix waves at vila
[11:11] <bialix> I will give a talk next saturday about using gettext in python, based on our work in qbzr and bzr-explorer
[11:11] <bialix> want to chat with igc, but can't catch it here
[11:13] <poolie> bialix: hello, he is here
[11:13] <bialix> heya poolie
[11:14] <poolie> hi there
[11:17] <bialix> poolie, I know this is not any high or medium priority for bzr itself, but do you think we can just reuse our i18n work from bzr-explorer?
[11:25] <poolie> in core bzr?
[11:25] <poolie> i haven't looked at the code at all but i'd love to do it
[11:25] <bialix> yes
[11:25] <poolie> now would be an excellent time to do it in 2.2
[11:25] <poolie> because we have time to shake out any problems
[11:26] <poolie> can we do a tiny patch that starts adding it in?
[11:27] <bialix> perhaps
[11:28] <bialix> Ian has suggested to use special ZzzTranslations class which we can use for testing if we want to really test gettext stuff
[11:33] <bialix> poolie: we can start with tiny patch
[11:33] <bialix> just need to figure out what is the good target for it?
[11:33] <bialix> error messages, maybe
[11:34] <bialix> command helps kept in docstrings -- this will require serious rework
[11:34] <jelmer> jam: https://edge.launchpad.net/+apidoc/
[11:38] <poolie> jam, the url's like that because it's looking at docstrings in the running app aiu
[11:38] <poolie> aiui*
[11:38] <poolie> bialix: i think errors would be good
[11:39] <poolie> i don't know what ZzzTranslations means
[11:39] <bialix> anybody has idea what's wrong? http://doc.bazaar.canonical.com/plugins/en/push_and_update-plugin.html
[11:39] <bialix> the link above from BzrPlugins page
[11:39] <poolie> http://doc.bazaar.canonical.com/plugins/en/push-and-update-plugin.html
[11:39] <bialix> poolie: zzz is special decorator wich used instead of real translations
[11:39] <poolie> i guess that ian just renamed it
[11:40] <bialix> oh
[11:40] <bialix> poolie: so in the tests if we need to ensure we properly translate the string we can self.assertEqual('zz{{Hello}}', gettext('Hello'))
[11:41] <bialix> igc: there is many links at http://wiki.bazaar.canonical.com/BzrPlugins which does not work now
[11:43] <lifeless> poolie: https://bugs.edge.launchpad.net/launchpad-code/+bug/386596
[12:02]  * vila waves back at bialix
[12:02] <bialix> heya vila :-D
[12:33] <lifeless> igc: can you paste the url for hte upstream bug report
[12:36] <Ng> how can I do bzr annotate on a revision in the past, where subsequent revisions have renamed or removed the file in question?
[12:40] <mzz> huh, I could've sworn "bzr ann -r<old> old/path/to/file" worked
[12:40] <elmo> bzr annotate -r <old rev> <filename?
[12:40] <mzz> unless I'm screwing up one of my arguments it fails with an "is not versioned" message
[12:40] <bialix> Ng: use current name, you're in bzr, not in hg ;-)
[12:40] <mzz> bialix: yes, but what if the file no longer exists?
[12:41] <Ng> I
[12:41] <Ng> I branched at the revision I care about and that worked ;)
[12:41] <mzz> oh, yes, that's a workaround
[12:41] <bialix> mzz: then I'd open qbrowse and launch qannotate from there ;-P
[12:43] <bialix> hmm, bzr cat has the option --name-from-revision
[12:43] <bialix> perhaps annotate should provides such option too
[12:43] <bialix> care to file a bug?
[12:45] <lifeless> mzz: it should use the path of the file in that revision
[12:45] <lifeless> if it doesn't please file a bug
[12:46] <mzz> well, it's possible I'm screwing up my arguments, but I don't think so
[12:46] <mzz> lemme try with a test branch, just in case
[12:47] <fullermd> Well, you wouldn't want it to ALWAYS use the path from the revision...
[12:48] <mzz> yes, sometimes when I'm backtracking I want to see an annotate for a file that's still there
[12:48] <lifeless> fullermd: its more sophisticated than that :P
[12:48] <fullermd> Well, yeah, should be.  I'm not aware that it IS, though; seems I've run across it before.
[12:48] <mzz> while simultaneously I can imagine wanting to annotate an old file while a different file with the same name is currently present
[12:48] <mzz> that's probably pretty rare though.
[12:50]  * mzz is filing
[12:51] <mzz> err, or not. I wonder why my bug search missed this
[12:51]  * fullermd is fliing.
[12:51] <mzz> it's part of https://bugs.launchpad.net/bzr/+bug/255687
[14:01] <jbrouault> hi, the bzr join command fails with the error "File id {TREE_ROOT} already exists in inventory as InventoryDirectory...."
[14:01] <jbrouault> is the python code given in https://answers.launchpad.net/bzr/+question/71563 safe to use to make it work ?
[14:25] <lifeless> jbrouault: probably
[14:27] <Peng> Always reassuring. :D
[14:32] <jbrouault> lifeless: the parameter to set_root_id must be a "unique" string that's all ?
[14:35] <lifeless> not "unique", Unique
[14:35] <lifeless> there is a guid  generator in bzr that you should use
[14:35] <lifeless> we use it to generate file ids
[14:35] <maxb> How does changing the root id not involve rewriting all historical revisions?
[14:36] <lifeless> maxb: why should it involve that?
[14:36] <maxb> I thought file ids were recorded as part of revisions?
[14:36] <lifeless> yes
[14:37]  * fullermd suspects semantic clash.
[14:38] <maxb> oh... is bzr's view of this operation somewhat as if you've mkdir'ed a fresh root in the resulting tree, and moved all the content of the tree being joined into it?
[14:38] <fullermd> "changing the root id" can mean both "changing the file-id of the existing root (which requires rewriting whatever's based on that)" and "switching the root to be a different file{,-id}", which doesn't require rewriting any more than "bzr mv a b ; bzr mv c a" requires rewriting all the previous revs that had a.
[14:40] <maxb> I think I begin to understand
[14:46] <jbrouault> lifeless: ok thanks :)
[16:03] <nyu> hi
[16:04] <nyu> I want to branch from an SVN repository using -r parameter, I understand I should specify the bazaar rev number rather than the svn one, but I don't know how to figure it out without having the checkout first
[16:12] <bialix> nyu: create shared repository, checkout everything, then create new local branch from desired revision
[16:13] <bialix> is it OK for you?
[16:13] <nyu> bialix: I wanted to branch only a subdir of the SVN repo.  can I get that at the end of this process somehow?
[16:14] <bialix> it depends: do you need to push changes from local repo back?
[16:14] <nyu> no
[16:14] <nyu> fast-export?
[16:15] <bialix> just branch from the desired subdir
[16:15] <bialix> bzr branch http://svn/repo/dir/subdir
[16:15] <nyu> bialix: problem is, in current head this subdir no longer exists
[16:16] <nyu> taht's why I wanted to use -r
[16:16] <bialix> then get everything, after that use fast-import-filter or split
[16:16] <bialix> fast-import-filter should be the right thing
[16:17] <bialix> or maybe you can run log (qlog) against svn repo, remember the revision number as bzr see it and then branch
[16:18] <bialix> did you try it?
[16:18] <bialix> it will be double conversion and maybe slow though
[16:26] <nyu> bialix: you mean svn log or bzr log?
[16:26] <bialix> bzr log
[16:26] <nyu> on repo root or on removed subdir?
[16:26] <bialix> on your trunk
[16:26] <bialix> or parent dir of missing dir
[16:28]  * bialix gotta go, waves bye
[16:58] <adrien_> Hi,  I have one question concerning a migration from a subversion repository.
[17:01] <lifeless> adrien_: then you should ask it :)
[17:01] <adrien_> I fact I have screwed up the conversion process and the history is incomplete in generated bzr branches. However the final state of each branch is correct (same as in each svn branch)
[17:02] <adrien_> lifeless: it's a long problem ...
[17:03] <adrien_> So the question is: can I still hack on the branches with incomplete history and then later apply each patch on a correct bzr branch when I understand how to create it
[17:04] <adrien_> or is this incomplete history problem a top priority problem that I really need to solve before even thinking about starting programming new features ?
[17:04] <adrien_> thanks :)
[17:09] <lifeless> you should probably fix it first
[17:10] <adrien_> this may take a long time
[17:13] <adrien_> I have thought about bzr rebase, but maybe this command only works on branches that share a common history
[17:13] <lifeless> indeed, it prefers common history
[17:14] <lifeless> you can in the worst case use 'bzr diff' + 'patch' to migrate across
[17:14] <lifeless> it would depend on the amount of work you do
[17:21] <adrien_> I see. It could even be automated and apply patches + commit iteratively. But then I would have to manage cases when files are created, and call bzr add before commiting.
[17:22] <mzz> adrien_: that sounds like you're describing the "tailor" tool
[17:24] <adrien_> can tailor import from bzr branches to bzr branches ?
[17:28] <fullermd> I think so, as well as it can bzr->anything && anything->bzr anyway.
[17:31] <lifeless> personally I would keep working on svn till the import is good
[17:32] <phoenixz> I am workin on a large webbased project in a medium size company here. some 200 people are using it and I use bzr to manage the php source code. So far so good, but I want to be able to work on multiple versions of our system.
[17:33] <phoenixz> that is to say, there is a 0.8 in production already, we must work on revisions there.. there is a 0.9 planned to be released next month, we must work on that to build it.. there is a 0.10 planned for in 2 months and also there we must be able to work on it to prepare it
[17:33] <phoenixz> So Im thinking how to do that, I was thinking to have 3 repositories with their WTs, so I have project/0.8, project/0.9 andp project/0.10
[17:34] <phoenixz> I also have the same structure on the server, where 0.10 is a checkout of 0.9, and 0.9 is a chekcout of 0.8
[17:35] <phoenixz> In the 0.8 checkout we will only add bugfixes  (and also revision tags), which we can merge to the 0.9 and 0.10 checkout
[17:35] <adrien_> lifeless: I think that I'll follow your advice. Unfortunately the subversion server is down so I took this opportunity to migrate to a distributed vcs. I'll try harder to convert our subversion history before going too far with the corrupted bzr branches.
[17:35] <fullermd> phoenixz: Well, (a), 3 _branches_, not 3 _repositories_, and (b) that last sentence with the chain of checkouts doesn't make sense...
[17:35] <phoenixz> Is this setup a good idea or am I totally off here?
[17:36] <phoenixz> fullermd: sounds like Im off here :)
[17:36] <phoenixz> fullermd: okay, so how would I take this up then?
[17:36] <fullermd> Well, the first part was reasonable; just a terminological quibble.
[17:36] <fullermd> The latter isn't really parseable; it's like saying "then I'll coffee wibble venetian blinds"
[17:36] <phoenixz> fullermd: I agree with that I need 3 branches, but the thing is that I don't see ATM how I can have multiple WTs from multiple branches from one checkout
[17:37] <adrien_> thanks to lifeless, mzz and fullermd for your advices :)
[17:38] <fullermd> Right, that second clause right there; it makes me go all cross-eyed, because it doesn't make sense   8-}
[17:38] <phoenixz> fullermd: Sure, make fun of me! :) anyway, how can I then, have only one checkout? because AFAIK, a checkout == branch, not? can I have multiple branches in one checkout?
[17:38] <fullermd> Not that it's a bad way to set it up, or that it won't do what you want; it doesn't _mean_ anything.
[17:39] <fullermd> "multiply branches in one checkout" is gibberish.  What is it you need to DO?
[17:39] <phoenixz> fullermd: well, I think you need my glasses to see it :)
[17:39] <fullermd> I mean, it sounds like you just want 3 branches.  So where does this extra layer of complication come from?
[17:39] <phoenixz> fullermd: okay, let me rephrase.. is it possible to have multiple branches in one checkout?
[17:40] <phoenixz> because AFAIK, it was not.. thats where the complication comes from
[17:40] <fullermd> The answer has to be "no", because it's nonsensical.  You can't have ONE branch in a checkout.  Branches don't go in checkouts.
[17:41] <phoenixz> fullermd: I need three branches of the same project (versions 0.8, 0.9, 0.10, and in the future also other versions) to work on
[17:41] <fullermd> OK.  So far, so good.  Sounds like just what you'd want.
[17:41] <phoenixz> fullermd: okay, Im using the wrong term then..  When I do bzr checkout, what is the .bzr directory called?
[17:41] <phoenixz> fullermd: crap
[17:42] <phoenixz> fullermd: when I do bzr branch originalrepo targetrepo... I'll have a new project directory with its own .bzr directory in it, right?
[17:42] <fullermd> Nothing in particular, really.  ".bzr" I guess...
[17:42] <phoenixz> fullermd: my bad, I'm a mess today with terminology
[17:43] <fullermd> Right, you'll have a new branch (technically; socially, you may really just intend the second branch to remain a mirror of the first branch, but it's technically separate)
[17:43] <fullermd> And terminologically, you'd "bzr branch originalbranch targetbranch", not [...]repo.  Repository is a different thing, which you generally don't touch explicitly.
[17:44] <phoenixz> fullermd: alright.. So, I have a projects/kas directory, (kas is the projects name), I want to have projects/kas/0.8, projects/kas/0.9, and projects/kas/0.10 so that I can work on each version as needed..
[17:45] <phoenixz> fullermd: so far, so good?
[17:46] <phoenixz> fullermd: thing is, 0.8 can only contain bugfixes.. 0.9, in development can contain new stuff.. 0.10 will contain new stuff in another area of the project..
[17:46] <fullermd> (phone; I'll read backlog)
[17:46] <phoenixz> fullermd: Now, on the server, where we have the branches designated to be trunk, what would I d
[17:46] <phoenixz> fullermd: sure, np, I'll keep writing
[17:46] <phoenixz> Now, on the server, where we have the branches designated to be trunk, what would I do?
[17:47] <phoenixz> would I also set up the same projects/kas/0.8, projects/kas/0.9 etc. layout? or is that, as I understood from you, overly complicated and should we only have one trunk?
[17:49] <phoenixz> Because my next problem then is.. Im also working with other people on it, they'll have the same layout on their computers.. so if they make a 0.8 version fix, that needs to be sent a) to me, and b) to the server too.. if we all make changes to 0.8, 0.9 and 0.10, and we all merge those to that trunk, how can we separate the bugfixes for 0.8 and the new changes for 0.10? I can tag 0.8.x here on my computer, but AFAIK, the trunk repo on the server would contain
[17:49] <phoenixz> all chages
[17:50] <fullermd> OK, well, "trunk" is a purely social construct.  It's useful when there's essentially one branch, and everything is aimed to go there.
[17:50] <fullermd> Here, you have something like 2.5 "trunks".  So using that term probably clouds more than it helps.
[17:51] <fullermd> Basically, you've just got 3 branches, and you need at least some subset of people to work on all 3.
[17:51] <fullermd> So...   well, it's pretty much the same as having 1 branch, and having a bunch of people work on it.  Just 3 times.
[17:52] <fullermd> One central branch, everybody has a checkout of it.  Alternately, 1 branch that everybody pushes too.  The former's probably simpler to explain and manage.
[17:56] <radoe> Hm, am I missing something or is there really no difference between "bzr version" and "bzr version -v"?
[17:58] <LeoNerd> $ diff <( bzr version ) <( bzr version -v )      Gives me no output
[17:58] <LeoNerd> So apparently not
[18:05] <phoenixz> fullermd: ah, okay.. so basically, the setup with 3... master branches? on a central server, one for each version, is correct then?
[18:05] <phoenixz> and every developer branches from one or more of those 3 to their own machine..
[18:06] <phoenixz> fullermd: and then.. if we make a fix to 0.8, I'd like to send that fix also to 0.9 and 0.10.. if those are also branches from eachother, I can just push the changes from 0.8 to 0.9 then, correct?
[18:07] <fullermd> 'push' in a metaphorical sense presumably; not in the sense of "bzr push" certainly.
[18:07] <fullermd> Perhaps in a "bzr merge" way, depending on your topology.  Wouldn't make sense to me.
[18:08] <phoenixz> fullermd: well, push / pull depend on which branch you are, and if you are taking it from another or sending it, not?
[18:08] <phoenixz> fullermd: Anyway, the setup would be correct?
[18:08] <fullermd> push/pull only work when the source branch is a superset of the target; that wouldn't be the case here.
[18:08] <fullermd> But yeah; 3 branches, checkout/branch whichever is appropriate for what you're working on.
[18:11] <phoenixz> fullermd: well, since the idea of "trunk" is more social, and branches are just copies with a shared history of eachother (i say that correctly?), I ought to be able to send (using push, pull, merge, whatever) from any branch to any other branch, no? practically, If I am A, my coworker B, the central "trunk" C... then if I have something on A0.8, I can push it to C0.8, and then send it to C0.9 and C0.10, right?
[18:11] <phoenixz> and from there, b0.9 could receive that change from B0.9
[18:11] <phoenixz> and from there, B0.9 could receive that change from C0.9
[18:11] <phoenixz> (fixed)
[18:12] <fullermd> push/pull don't make sense, because the result is to make the destination branch identical to the source.  If you wanted that, you wouldnt' want 3 branches in the first place.
[18:12] <fullermd> merge probably doesn't make sense either, because it requires fully connected graphs.  Same problem.
[18:13] <fullermd> Doing a 'bzr merge' that actually does a cherrypick is more likely.
[18:13] <fullermd> That's functionally identical to manually making the change in each branch, though it does give you some help with doing so.
[18:22] <phoenixz> fullermd: so in that case, if I have on the "trunk" the versions 0.8, 0.9, etc.. How can I send fixes from 0.8 to 0.9?
[18:23] <phoenixz> fullermd: basically, if 0.9 is a branch of 0.8, everything that was added to 0.8 AFTER the branch can be considdered a fix and could be sent to the 0.9 branch
[18:24] <phoenixz> fullermd: changes from 0.9 would NOT have to be send back to 0.8 because they are not related to the 0.8 version
[18:24] <phoenixz> fullermd: same thing goes for 0.9 and 0.10.. How could I somehow send these fixes to the versions above? 0.8 > 0.9 > 0.10
[18:25]  * fullermd shrugs.
[18:25] <fullermd> That becomes a project topology question.  It's a way to go; it's just not one that makes visceral sense to me.  If it works for you, then run with it.
[18:30] <phoenixz> fullermd: well, thats the thing.. AFAIK, it would work.. but Im wondering if its the best way to go, and because of that Im asking if it is.. If its not, how could I do this better?
[18:31] <phoenixz> fullermd: I need to get the code bases of each version separated as to not mix new functionalities with fixes.. but at the same time I don't want to do work double.. If I fix somehting in 0.8, I'd like to send it to 0.9 without having to redo all that work..
[18:31] <phoenixz> fullermd: how would you recommend to do this then?
[18:35] <fullermd> I wouldn't want to prejudice you.  There are as many opinions on that as there are developers, MULTIPLED by projects.
[18:36] <fullermd> If you're mentally, socially, and technically comfortable with declaring that 0.9 will always include everything 0.8 does...   well, then that'll probably work for you.
[18:37] <fullermd> I wouldn't be; I consider that the two branches go off in their own directions, and from the branch point neither is ever again a layer on top of the other.
[18:37] <fullermd> But I'm neither you, nor working on your project.
[18:37] <phoenixz> fullermd: Well, how would you do it then, when you find problems in version A, which have 100% shared code with B.. you fix A, you'd fix B separately?
[18:38] <phoenixz> fullermd: and again, NOFI, I'm just asking your opinion here
[18:39] <fullermd> But I'd never have 100% shared code.  If I did, I wouldn't have A and B, I'd just have A.
[18:40] <fullermd> Unstable branches always get changes that aren't appropriate for the stable branch, and vice versa.
[18:43] <fullermd> If that doesn't happen for you, then it can work.  It's just a different world from where I sit, so I can't have much of an opinion.
[18:48] <phoenixz> fullermd: okay, thanks for your opinion, everybody can always add their ideas I guess.. More opinions can only result in better decisions being made..
[18:48] <fullermd> All you can do is try it and see how it works.
[18:48] <fullermd> Keep merging 0.8 into 0.9, 0.9 into 0.10, and do it until it breaks down.  Then figure out what else to try.
[18:49] <fullermd> It's not like starting out that way commits you to sticking with it forever after all.
[18:56] <phoenixz> How can I change the default push path without actually pushing?
[18:57] <phoenixz> fullermd: nah, maybe we'll change this later on, who knows.. but I'd prefer starting out good than having to realize 6 months later that we've been on a very bad road..
[19:03] <beuno> phoenixz, you can edit ~/.bazaar/locations.conf
[19:04] <beuno> or and/or
[19:04] <beuno> yourbanch/.bzr/branch/branch.conf
[19:04] <phoenixz> beuno: yeah, just found it myself as well.. thanks anyway!
[19:09] <AnAnt> can one add post commit/receive... hook scripts in bazaar ?
[19:18] <phoenixz> AnAnt: AFAIK, yes, you can
[19:18] <phoenixz> AnAnt: not too much time to look it up now, but try google > "bzr hook scripts"
[19:18] <rockstar> AnAnt, yes, you can.
[19:27] <AnAnt> thanks
[19:57] <mrooney> hey all, if bzr svn-import is spewing "inconsistent details in skipped record", is this a problem or can I expect to have a usable repository at the end?
[20:02] <jam> mrooney: if you look at one, and the difference appears to be () versus [] in one location, then you can likely ignore it (and this is the most likely case)
[20:06] <mrooney> jam: hm, it seems to be more parens or something: http://bzr.pastebin.com/d3e0aefed, any thoughts?
[20:07] <jam> mrooney: the first one has ..... , ((( and the other has ....., ([(
[20:07] <jam> ignore it
[20:09] <lifeless> file a bug so we can fix it :)
[21:01] <mrooney> lifeless: certainly! in bzr or bzr-svn?
[22:09] <boombatower> where can I find documentation of the parameters for the pre_commit hook
[22:09] <boombatower> I can find a paragraph summary, but no documentation of paramters
[22:09] <boombatower> I am fairly sure I found it once, thanks in advance
[22:15] <khmarbaise> Hi...i have a little problem with pushing changes back to launchpad...
[22:15] <khmarbaise>  bzr push lp:~n-launchpad-soebes-de/doxygen-maven-plugin/trunk
[22:15] <khmarbaise> bzr: ERROR: Cannot lock LockDir(lp-64789904:///~n-launchpad-soebes-de/doxygen-maven-plugin/trunk/.bzr/branchlock): Transport operation not possible: readonly transport
[22:15] <khmarbaise> Someone an idea ?
[22:16] <cody-somerville> khmarbaise, Have you done 'bzr launchpad-login' yet?
[22:16] <khmarbaise> yes i did...
[22:17] <cody-somerville> khmarbaise, ah
[22:17] <cody-somerville> khmarbaise, You can't push to that branch. Its an import.
[22:19] <khmarbaise> Hm..Do you know what i have to do now so that i can push back the changes to launchpad ?
[22:21] <cody-somerville> khmarbaise, You'll have to push to a different location. Are you trying to migrate your svn repository to bzr on launchpad?
[22:21] <khmarbaise> It's already migrated ..
[22:22] <boombatower> any help on say...how I can get the branch/repository name from pre_commit hook...assuming local, or master variables
[22:22] <boombatower> but can't find documenation on what they are
[22:22] <cody-somerville> khmarbaise, Right. I just didn't know if you expected your changes on launchpad to be synced back to your svn repository or not :)
[22:23] <cody-somerville> khmarbaise, Now that we have that out of the way, what you can do is push to a different location or you can move your import to a different location and then you can push.
[22:23] <khmarbaise> cody-somerville: sync back to svn that might a good idea..but that can be done later..
[22:24] <khmarbaise> cody-somerville: How can a create a different location ?
[22:26] <cody-somerville> khmarbaise, By giving the branch a different name or by making the branch owned by a team you're a member of. So either 'lp:~n-launchpad-soebes-de/doxygen-maven-plugin/<NEW NAME HERE>' or 'lp:~<DIFFERENT OWNER HERE>/doxygen-maven-plugin/trunk'. You can also push the branch to a different project but I don't think thats what you're looking for.
[22:27] <cody-somerville> You'd replace the text between the brackets (e.g. < and >) with the actual value you wish to use.
[22:29] <khmarbaise> cody-somerville: I have created a new "series" on lp and pushed the changes to launchpad...
[22:47] <pynonoir> Hello again, I need to convert a svn repository with a non-classical layout. I have tried for a few hours with svn2bzr but I think it would require too much work (like defining a new BranchCreator object in python). Now I have some hope that bzr fast-export-from-svn could do the job but I'm completely lost somewhere between exporters filters and importers
[22:49] <pynonoir> the svn repository layout is described here: http://pastebin.com/d3c681c20
[22:51] <pynonoir> I would like to create a bzr branch for, say, feature2 and feature2b
[22:54] <pynonoir> the best I could do with svn2bzr is to create a bzr branch for feature2, but the history of this branch starts when I created this feature branch with the "svn cp" command
[22:56] <pynonoir> any idea of how to do this with fast-export/fast-import ?
[23:13] <Stavros> hi
[23:13] <Stavros> does anyone know how i can dpush to github? it's driving me crazy :/
[23:18] <thumper> igc: you around?
[23:22] <Stavros> bzr-git with github, anyone?
[23:24] <thumper> Stavros: why would it be different to bzr-git with elsewhere?
[23:24] <thumper> not that I've used it personally
[23:25] <Stavros> thumper: it wouldn't, but i can't get it to work
[23:25] <Stavros> actually, it works, it just gives an error message that make me think it wasn't
[23:25] <Stavros> so ignore me