[00:00] <beuno> hm
[00:00] <beuno> I probably meant 1k
[00:00] <jam> beuno: internally, bzr log will be traversing the whole list, as will 'bzr revision-info' if it gets a non-mainline commit
[00:00] <jam> beuno: so calling it 1 time with a lot of revisions
[00:00] <jam> should be a lot faster than calling it lots of times.
[00:01] <beuno> jam, I shoulds absolutely go down that path then
[00:02] <beuno> I wonder how hard it would be to change the current code...
[00:07] <nDuff> in what contexts is bzr-git intended to be presently usable?
[00:16] <jam> nDuff: proof of concept, afaik
[00:16] <jam> bzr fast-import is the recommended way to convert from git
[00:16] <jam> bzr-git probably has some bitrot, etc.
[00:17] <bob2> I think it could run 'bzr log' on a git repository
[00:19] <jam> bob2: I believe that was working as well
[00:19] <jam> because it could run "bzr viz" at the time
[00:24] <lifeless> yes, my first fraft at EP2006 did that :P
[02:06] <rockstar> abentley, ping
[02:06] <abentley> rockstar: pong
[02:07] <rockstar> You seem to be close to my timezone, and I'm rather interested in getting into Bazaar hacking, probably outside of Canonical time.  I was wondering if we could arrange a mentoring situation.
[02:08] <rockstar> I promise to stay out the way as much as possible.
[02:08] <abentley> rockstar: Sure, I'd be happy to.
[02:08] <abentley> Did you have a task in mind?
[02:09] <rockstar> Not really.  I looked at the bug list, and I'm not really sure I know enough to say "That's a good starter bug"
[02:09] <abentley> There are actually a few that are tagged that way.
[02:10]  * rockstar looks again
[02:10] <abentley> Look for the "easy" tag.
[02:11] <rockstar> Ah, 23 of them.
[02:11] <abentley> Also "trivial".
[02:12] <abentley> I can't guarantee that the assessment is right-- some are probably only "easy" until you actually try to fix them... :-)
[02:13] <rockstar> abentley, yea, that's what I gathered out of some of the trivial bugs.  Didn't see the easy ones
[02:14] <rockstar> Alright, I'll just take one of these, and start exploring.  Be prepared to be harassed.
[02:16] <abentley> If you let me know which one you're doing, I can give you some starting points.
[02:17] <rockstar> I was thinking this one:  https://bugs.edge.launchpad.net/bzr/+bug/200575
[02:18] <abentley> rockstar: It seems there's already a patch attached to that bug.
[02:19] <rockstar> Ah, bugger
[02:19] <rockstar> https://bugs.edge.launchpad.net/bzr/+bug/89570
[02:22] <abentley> rockstar: I'm not sure what more needs to be done there.
[02:23] <abentley> Newer formats do indicate the minimum Bazaar version in their format strings.
[02:23] <abentley> But people still get thrown from time to time.
[02:24] <abentley> Of course, it's impossible for Bazaar to guess what version is required for an unknown format.
[02:24] <rockstar> Alright.  How 'bout I take an hour or so and find a few of them, and them come back to you.  :)
[02:25] <abentley> Sure.
[02:47] <thumper> poolie: ping
[02:48] <igc> thumper: poolie on an leave today
[02:48] <igc> s/an/on/
[02:48] <thumper> igc: thanks
[02:48] <thumper> igc: are you up for a call?
[02:49] <igc> I guess so
[02:49] <thumper> you sound so enthusiastic ;-)
[02:49] <igc> well - I'd need to know what's its about
[03:45]  * igc lunch
[04:26] <abentley> BB is temporarily down while I update the machine.
[05:02] <igc> out to a medical appointment - bbl
[06:44] <abentley> BB back.  Failed to install Hardy.
[06:44] <bob2> eep
[06:45] <Peng> abentley: Upgrading from what to Hardy?
[06:45] <abentley> Peng: Feisty
[06:46] <Peng> Oh.
[06:46] <abentley> Now, it's a Xen box, so not your standard install target.  But still ...
[06:47] <Peng> Gutsy to Hardy was trivial for me, but then, that server (VPS) didn't have much of anything installed at the time.
[06:48] <abentley> Peng: The stuff failing was pretty basic stuff, like initramfs-tools
[06:50] <RAOF> You did go through gutsy, right?
[06:50] <abentley> RAOF: Yep.  Gutsy was where the problems started.
[06:51] <RAOF> Eh.
[06:51] <RAOF> I'm not sure if I've never had problems updating or whether I just don't remember them ;)
[07:10] <gour> i see that opensolaris uses bzr-0.7 when evaluating and it looks speed was their concern  for 'cons'
[07:11] <gour> same with mozilla...
[07:13] <bob2> 'cons'?
[07:13] <gour> opposite of 'pro'
[07:13] <bob2> ah
[07:13] <Peng> 0.7?
[07:13] <bob2> thought it might be run by lisp nerds
[07:14] <Peng> gour: Bzr has gotten a lot faster, of course, (and better in every other way) but it still has problems with huge projects.
[07:14] <AfC> gour: that is true, but then when they were evaluating bzr 0.7 was all that was out. Personally I think they were short sighted in their decision, but it is difficult to fault the "set criterion and then pick the one that scores best" approach. It's called "engineering" :)
[07:15] <gour> i do not plan to use bzr for such big project(s), but i'm more interested to hear about other kinds of problem i had with darcs-1 like  doppleganger bug and exponential time
[07:15] <rockstar> 0.7?  That's older than what's in Gutsy.
[07:15] <james_w> hi AfC
[07:16] <AfC> It's unfortunate, because the Bazaar project lost out on a significant adoption opportunity there. While no one really cared about OpenSolaris, as such, it was obvious that whatever they picked would be adopted by the Java Engineering team at Sun, which in turn is propagating out via Open Java rapidly.
[07:16] <gour> rockstar: see http://www.opensolaris.org/os/community/tools/scm/bzr-eval/
[07:17] <AfC> james_w: hey James. Been a  while. I hope you're well.
[07:17] <james_w> I'm good thanks, how are you?
[07:18] <gour> AfC: with mozilla it was similar situation?
[07:18] <AfC> james_w: Just about to go for a run, actually. Thought I would chime in before I set off.
[07:18] <james_w> so you're ready to make a quick exit
[07:22] <gour> so, bzr probably does not have 'doppelganger' problem by design?
[07:23] <james_w> gour: not that we know of
[07:24] <gour> that's nice...i was bitten by it in darcs several times...
[07:24] <AfC> gour: if you're talking about http://research.operationaldynamics.com/blogs/andrew/software/version-control/red-giant-bugs.html then, no, Bazaar doesn't have that problem
[07:25] <AfC> gour: let me put it this way. If you are doing work with Bazaar and you have a project that is so large or a use pattern that is so unusual so as to cause Bazaar problems, I can only suggest that you will likely find interest here and likely will find that if you can offer your repository to the Bazaar hackers to work with that they will be able to use it in their tests and optimizations.
[07:26] <gour> here it is in more detail - http://wiki.darcs.net/DarcsWiki/ConflictsFAQ
[07:27] <gour> AfC: thanks. i had similar experience with darcs (droundy was inspecting my repos), but, unfortunately not easy to fix those design-issues
[07:27] <AfC> gour: otherwise, asking "is it fast enough" is all a bit silly, really. If it wasn't, there wouldn't be so many people here using it quite happily. Could it be faster? Probably, but that's the wrong question. Does it work reliably? Does it prevent you from shooting yourself in the foot and thereby loosing data? Does it have a clean and consistent user interface? are far more relevant.
[07:27] <gour> another nice thing i see in bzr is bzr-svn (i might soon switch to NixOS and they stil use svn)
[07:27] <AfC> gour: as I noted, we used Darcs for years, loved it, and miss it still.
[07:27] <Peng> gour: Yeah, bzr-svn rocks.
[07:28] <gour> AfC: right. git is like automatic gun to shoot your foot all the time :-D
[07:28] <bob2> and fast like a greased fox
[07:29] <gour> AfC: my 'speed' argument was just in the light of bzr vs. hg for solaris and mozilla
[07:29] <gour> for me it's not so important - finally, that's why we use dvcs ;)
[07:29] <AfC> gour: but Bazaar is an improvement in many other areas, so we swallow our impatience with the less-then-Darcs user interface and abysmal lack of cherry picking support in favour of having a robust tool with a vibrant and intelligent group of hackers working on it.
[07:31] <gour> AfC: so far (reading user manual etc.) i like bzr, today i'll try with some tests...interface looks nice (i won't even compare it to git's surprises)
[07:31]  * gour --> breakfast. bbs
[07:31] <asabil> AfC: maybe I can convince you to hack on bzr-interactive ? :p
[07:31] <fullermd> Pshaw.  git's interface makes perfect sense if you follow a few simple steps.
[07:32] <fullermd> First, you become Linus...
[07:32] <AfC> fullermd: no, you've got to learn Finnish first.
[07:35] <fullermd> Ah, no wonder it doesn't work right.  I keep mixing up those Scandinavian countries.
[07:35] <fullermd> % git de bork bork bork
[07:35] <fullermd> git: 'de' is not a git-command. See 'git --help'.
[07:37]  * AfC goes out
[08:51] <AfC> What is the version of bzr-svn you have to have to work with bzr 1.4?
[09:03] <luks> AfC: there isn't one that works with 1.4, as far as I know
[09:10] <bob2> 0.4.10 is compatible with 1.4 and 1.5
[09:10]  * igc dinner
[09:50] <gour> i see that bzr help formats shows plethora of different formats...will this trend to continue or is it reasonable to expect bzr to settle on some proven one?
[10:09] <Peng> gour: Well, they probably thought they were going to settle on each one as they created it.
[10:09] <Peng> gour: But yes, it should go down.
[10:10] <gour> Peng: the 0.92 format is that git-like 'pack' format?
[10:11] <Peng> gour: I'm sure the implementation is different, but it's the same idea, yeah.
[10:11] <Peng> gour: BTW, there are 5 or 6 more hidden formats! ;)
[10:12] <gour> only?
[10:12] <gour> :-D
[10:13] <Peng> gour: Whenever they've changed the branch, repository or working directory format, they've added a new format to the formats list, and pretty much all of them are still supported.
[10:14] <Peng> gour: E.g., I think dirstate is just knit with a different working tree format. dirstate-tags is just dirstate, only the branch supports tags. pack-0.92 uses the same branch and working tree formats as dirstate-tags, but an entirely new repo format.
[10:16] <gour> in any case, 0.92 is default now and recommended one?
[10:16] <Peng> gour: Also, there are now multiple variations of the same base format: There's pack-0.92; rich-root-pack, which is the same but supports slightly more meta data; and pack-0.92-subtree, which has experimental support for stuff similar to svn:externals.
[10:16] <Peng> gour: pack-0.92 is.
[10:17] <Peng> gour: They want to switch the default to a rich-root format soon, which will simplify things somewhat. (Rich roots are perfectly stable, but you can't downgrade from a rich-root format to a non-rich-root format.)
[10:30] <gour> Peng: in 1.6 ?
[10:31] <Peng> gour: Maybe.
[10:31] <gour> it would be nice
[10:44] <elmo> bzr: ERROR: Transport error: Server refuses to fullfil the request
[10:44] <elmo> 'sup with that?
[10:47] <Peng> elmo: Are you the guy from the mailing list?
[10:47] <elmo> Peng: err, i don't know? if you mean, have I posted about this problem on the mailing list, then no
[10:47] <elmo> I only ran into it 10 seconds ago
[10:47] <Peng> elmo: Then, someone else has the same issue on the mailing list. :)
[10:47] <elmo> ok
[10:47] <elmo> apparently it's a 1.4 regression too
[10:48] <elmo> someone else with 1.3 claims it WF him
[10:48] <elmo> I'll try downgrading
[10:48] <Peng> elmo: Run bzr with -Dhttp -Dtransport and pastebin the relevant section of your .bzr.log (warning, really long).
[10:48] <Peng> elmo: Are you experiencing this with the same branch?
[10:48] <elmo> Peng: same branch as what, sorry?
[10:51] <elmo> wow, it really does work with 1.3
[10:52] <james_w> elmo: I presume this isn't python-apt--debian-sid from mvo's people.debian.org you are trying to grab?
[10:53] <elmo> it's http://bzr.debian.org/da-tools/da-tools/userdir-ldap-common
[10:53] <elmo> 1.4 seems to a POST?
[10:53] <elmo> which gets 403ed
[10:53] <james_w> did 1.3 -> 1.4 have the addition of probing for the smart server?
[10:53] <james_w> ah, yes, it seems so.
[10:54] <james_w> elmo: I think nosmart+http:// is the transport that forces that off, which should allow you to work around this.
[10:54] <elmo> james_w: 'apt-get install bzr/hardy' is good too :-) thanks
[11:01] <elmo> filed as #230223
[11:03] <james_w> thanks
[11:19] <awilkins> jam: Ping?
[11:48] <Kemurii> Hi, I'm having a rather small Mercurial repo, and need to move it to Bazaar.. So, I'm using fast-import:   bzr init-repo new.bzr ; hg-fast-export.py --repo=../old.hg | bzr fast-import -  .. I copied first all files from old.hg..  but, it says "bzr: ERROR: No WorkingTree exists for" ... I'm missing a step somewhere?
[11:49] <mwhudson> Kemurii: init-repo doesn't make a branch or a tree
[11:49] <mwhudson> try bzr init-repo new.bzr; bzr init new.bzr/import-branch; cd new.bzr/import-branch
[11:49] <mwhudson> then the same commands again
[11:49] <Kemurii> ah, mm
[11:51] <Peng> Kemurii: Just out of curiosity, why move from hg to bzr?
[11:51] <gour> same question here as well
[11:51] <Kemurii> Peng: company policy, I'm sticking with Mercurial for personal stuff
[11:52] <Peng> Kemurii: Oh. That sucks.
[11:52] <Peng> At least the company policy isn't VSS or something.
[11:52] <Kemurii> well, 'company policy', nothing says I have to do it in bzr, but well.. :)
[11:53] <Kemurii> mwhudson: hehe, that somehow worked :)  thanks!
[11:53] <mwhudson> Kemurii: no worries
[11:55] <Peng> Kemurii: Oh, good.
[11:55] <Kemurii> mtaylor: here?
[11:59] <Kemurii> woohoo, pushed to parent, nice nice
[12:01] <Kemurii> now I have to learn typing 'bzr' instead of hg or bk
[12:04]  * awilkins proposes the evil solution of aliasing hg and bk to something that mocks and ridicules you
[12:04] <awilkins> random-insult.sh should do
[12:05] <awilkins> Kemurii: Your company policy is highly enlightened. I know shops that are still using VSS and moving to TFS
[12:05] <awilkins> (blech)
[12:06] <Kinnison> Kemurii: because my prompt knows what vcs I'm using, I am tempted to start using 'vcs' as the command and let my shell sort it all out for me :-)
[12:07] <Kemurii> awilkins: not sure it's policy yet, just 1st option for VCS now
[12:07] <Kemurii> Kinnison: now that's an idea :)
[12:09] <awilkins> At least in SVN shops you can still use bzr.
[12:09] <awilkins> I'm the svn server admin here, and I use bzr these days.
[12:10] <Kinnison> vcs () { if [ "x$_VCS" = "x" ] then bzr "$@"; else $_VCS "$@" ; fi }
[12:10] <Kinnison> that should do the trick for me
[12:10] <Kemurii> hehe
[12:12] <Peng> TFS?
[12:14] <Kemurii> anyway, thanks again guys, back to work, I mean lunch, cheers
[12:20] <awilkins> Team Foundation Server (with all new VSS! Blech!)
[13:35] <lamby> dato: I'm still failing at accessing that repo over http. I'm using your exact command too.
[13:47] <pickscrape> Is there some way to suppress the deprecation notice output when running bzr?
[13:50] <kaaloo> Hi, I was wondering if there was an issue with bzr-svn using authentication.conf ?  I'm using 1.3.1-1
[13:51] <dato> lamby: odd
[13:51] <dato> lamby: tried from another host?
[13:57] <lamby> dato: Ah, that seems to have helped. I'll poke a little more.
[14:03] <awilkins> kaaloo: I'm not sure it even uses authentication.conf
[14:04] <pickscrape> Is there way to define location 'bookmarks', in the same way that the launchpad plugin lets you reference lp: ?
[14:06] <pickscrape> e.g. so I can define the 'mine' refers to bzr+ssh://example.com/bzr, and subsequently use bzr branch mine:trunk
[14:07] <Peng> pickscrape: THere's a bzr-bookmark or bzr-bookmarks plugin. Not sure how exactly it works.
[14:08] <pickscrape> Oh, cool
[14:53] <Odd_Bloke> lamby: What bzr version are you using?
[14:53] <lamby> 1.4.
[14:55] <lamby> Now this is interesting, can reproduce on 1.5~rc1 from a different host.
[14:56] <lamby> Would you like a login? It's a testing machine anyway.
[14:56] <james_w> lamby: hi
[14:56] <lamby> Good afternoon.
[14:56] <james_w> sorry, I missed the start of this
[14:56] <james_w> is this a problem with http?
[14:57] <lamby> This started on pkg-bazaar-maint.. So the testcase is "bzr get http://bzr.debian.org/pkg-bazaar/trac-bzr/unstable/ trac-bzr".
[14:58] <james_w> ah yeah, I saw that
[14:58] <james_w> is there a difference in whether pycurl is installed on these machines?
[14:59] <lamby> Heh, psychic debugging.. Installing pycurl made it work.
[15:00] <Odd_Bloke> I was going to suggest that yesterday, but thought it might be _too_ psychic to be right. :p
[15:00] <james_w> bug 230223 may be relevant then
[15:01] <lamby> Ah yes, seems to be the same bug. tcpdump is confirming that only the POST is attempted, which 403s.
[15:03] <james_w> hopefulls spiv or vila will be able to find a fix soon.
[15:04] <lamby> Subtle ping.
[15:04] <lamby> jelmer: bzr-gtk just uploaded with DM-Upload-Allowed: yes.  I'm still seeing the breakage when visualising via `olive-gtk` (when `bzr viz` works fine). Did you try a fix? Shall I file a bug?
[15:05] <jam> james_w: well, there is already the workaround of nosmart+http://
[15:06] <james_w> jam: true
[15:06] <vila> james_w: you got the targets right :-) My plate is already pretty full so I'm not sure I can fix it quickly. But I think the diagnosis points to hpss probing, also bug #229076 is pretty similar
[15:06] <vila> hehe, nice point jam, indeed nosmart for the win :)
[15:06] <vila> phoen
[15:07]  * dato marks "upload bzr-gtk" off his TODO :)
[15:07] <james_w> vila: yeah, I think that's what it is. It also appears to be a difference in the handling of 403 response between urllib and pycurl.
[15:08]  * abentley really hopes we can get rid of pycurl soon.
[15:28] <dato> sigh, I forgot to push to the bzrtools packaging branch again
[15:33] <orospakr> Hey, is there a bazaar equivalent to git-archive?  I'd like to spit out a tarball of all the files that are in version control.
[15:34] <james_w> export
[15:34] <james_w> "bzr export <location> [<branch>]"
[15:34] <james_w> location can end with .tar.gz to make a gzipped tarball
[15:34] <james_w> note that it exports the last revision, not the working tree, so uncommitted changes won't be included.
[15:37] <orospakr> that's exactly what I want. Thanks! :D
[15:38] <jam> vila, james_w: there also seems to be a problem where you get the 403 a long time after you started downloading
[15:39] <jam> At least, that is what Ben Finney's logs seem to indicate
[15:39] <jam> I'm guessing a permissions issue, but I'm not positive
[15:39] <james_w> jam: yeah, I saw that just now, I was going to look at the permissions on the directory that you pointed to, but I'm currently locked out of that machine.
[15:40] <awilkins> jam: I've been having some success with your service plugin as a backend for bzr-eclipse
[15:41] <ricardokirkner> hi, what is the best way to configure bzr over http with authentication? fastcgi or mod_python? or something else?
[15:42] <awilkins> jam: I had to change it to threads rather than forks because the library implements ForkTCPServer with fork() (duH). No forks on Windows.
[15:42] <jam> awilkins: I will warn you that bzrlib isn't particularly thread safe
[15:42] <awilkins> jam: It should all be single-threaded access.
[15:42] <jam> and you can fork under cygwin, so it *is* possible, but AIUI they had to jump through a lot of hoops to get it to work
[15:43] <awilkins> jam: Yeah, I mean "the os module in CPython doesn't do fork()"
[15:44] <awilkins> For the purpose I'm using it for, thread isn't so bad ; it gives charge of the process to the Eclipse instance with no extra steps involved.
[15:45] <awilkins> Dammit, IO blocking again
[15:46] <jam> awilkins: I would just mention that you probably want a plain TCPServer not a Forking* or a Threading*
[15:46] <jam> I believe if you use the base class, you will get a single-threaded server
[15:46] <jam> which is what you need anyway.
[15:47] <awilkins> Perhaps I'll change it down one then...
[15:49] <awilkins> It so annoying ; it works lovely when you run the tests one-class-at-a-time... then it blocks on IO when you run them as a block
[15:50] <awilkins> Is JUnit multithreaded?
[15:51] <jam> awilkins: I don't know about Junit, but enforcing multithreaded test running without requesting it seems like bad mojo
[15:52] <awilkins> Or bad "juju" for JUnit :-)
[15:53] <kaaloo> awilknis: thanks, I'll check the code, maybe there is a fix
[15:53] <ricardokirkner> I am trying to set up a bzr repo for my project, which I migrated from svn. the bzr stuff is working ok, but I need to be able to checkout/checkin through http so as to mimick the previous setup. checkout through http is ok, but in order to commit, do I need webdav or anything like that? (I dont want to give the apache user full write permission to my repository)
[16:02] <ricardokirkner> ok, I managed to checkout my branch using bzr+http and mod_python... now a strange thing happened... if I try to check out a normal branch, it complains about KnitpackRepository is not compatible with RemoteRepository, but if I checkout a lightweight branch, then it works...
[16:02] <ricardokirkner> is this a feature or a bug?
[16:02] <james_w> "checkout a lightweight branch"? I'm not sure what you mean, "checkout --lightweight"?
[16:03] <ricardokirkner> yes
[16:03] <james_w> and yes, there are two options, bzr+http with write access, or webdav. I've not used either, so I don't feel confident to explain the pros and cons.
[16:03] <jam> ricardokirkner: you converted from svn
[16:03] <jam> which means you need to use 'bzr init-repo --rich-root-pack' locally
[16:03] <ricardokirkner> yes :$
[16:04] <jam> the problem is that the RemoteRepository is hiding the "real" versions on each side to give you a clearer error
[16:04] <jam> you can also do "bzr upgrade --rich-root-pack" in your local repository
[16:04] <jam> and things should work
[16:04] <jam> ricardokirkner: I would probably recommend using bzr+http with write access, but I would *probably* do it as bzr+https: and make sure you have proper authentication at the http layer
[16:04] <ricardokirkner> jam, but then every developer will have to know that the project originally started in svn, and prepare a local repository by hand? isn't that a bit of counterproductive?
[16:05] <jam> ricardokirkner: bzr-svn "jumped the gun" and started using some development formats
[16:05] <jam> supported, but not default
[16:05] <jam> we are working on making it the default format for 1.6
[16:06] <ricardokirkner> jam, ok I think I understand. the correct behaviour should be that the bzr server tells the client which format that branch is, so that the client can create the repository in the correct format instead of assuming the default format. am I right?
[16:07] <jam> ricardokirkner: you did 'bzr init-repo' on the local side first
[16:07] <jam> if you did not do that
[16:07] <jam> then doing "bzr branch" would preserve the source format
[16:08] <jam> 'init-repo' is a good thing, but 'bzr branch' isn't going to upgrade your repo for you
[16:08] <jam> as if you are using a specific format, there may be a reason
[16:08] <jam> (old clients, etc.)
[16:08] <ricardokirkner> no jam, I did not issue init-repo on the local side first
[16:08] <ricardokirkner> I have a repo on the server side, but I just did a bzr co
[16:08] <jam> ricardokirkner: hmm... that seems a bit weird, I'll try to check the code for a sec
[16:09] <kaaloo> ok, update on my bzr-svn problem, of it not using authentication.conf, actually pycurl was not installed, now I'm getting a "certificate verification failed" error from pycurl, which is actually true since I had to deal with that using svn co, but here pycurl simply fails
[16:10] <ricardokirkner> jam, if I try a bzr branch, then I get a traceback
[16:10] <jam> ricardokirkner: ok, it does seem to be a problem with the RemoteRepository not reporting the right source format, I can reproduce it here trivially
[16:10] <jam> ricardokirkner: interestingly 'bzr branch' works fine
[16:10] <jam> ricardokirkner: can you paste your traceback
[16:10] <jam> !paste
[16:10] <ricardokirkner> just a sec
[16:13] <ricardokirkner> jam, http://paste.ubuntu.com/12071/
[16:13] <gour> anyone uses fish shell? i just noticed it does not have bzr-completion :-(
[16:15] <kaaloo> ok this is an old bug that hasn't been fixed in pycurl : https://bugs.launchpad.net/bzr/+bug/82086
[16:18] <dato> jam: your latest import cleanup to stats broke things... http://dpaste.com/49901/
[16:19] <jam> dato: update to trunk, you are using the wrong one
[16:19] <jam> lp:bzr-stats is the official trunk
[16:19] <jam> not the one on bzr.arbash-meinel.com
[16:19] <jam> I'll try to fix my branch
[16:20] <dato> hm
[16:20] <dato> ok, sorry for the noise.
[16:21] <jam> dato: you aren't the first one, I was just being lazy about my branch
[16:21] <jam> I'll redirect it to launchpad
[16:21] <dato> I supposed update-mirrors now lives in... lp too?
[16:22] <jam> dato: actually, I don't know if I ever moved that one, I should
[16:22] <dato> haha
[16:22] <jam> dato: some old code there :)
[16:22] <jam> I believe Jelmer was interested in helping with stats, so I moved it to lp:
[16:22] <jam> dato: I haven't touched update-mirrors since 2006-06-19
[16:22] <jam> so almost 2yrs ago
[16:23] <jam> I'm amazed it still works properly
[16:23] <jam> I guess we have at least *some* api stability
[16:23] <dato> *g*
[16:23] <dato> it certainly does work, against 1.5 even
[16:25] <jam> dato: can you try doing an update/pull/branch from my bzr.arbash-meinel.com/plugins/stats ?
[16:26] <jam> I believe it should redirect you to lp:///bzr-stats now
[16:26] <dato> stray \n in location, I'd say
[16:27] <jam> dato: try again
[16:28] <dato> works :)
[16:29] <jam> dato: does it give you any indication, or just "work" but point at a different location when it is done
[16:29] <jam> my understanding is it just works, but if you do "bzr info" you will find out it went somewhere else
[16:30] <dato> yes, it changes your url
[16:37] <kaaloo> hmm, unfortunately the pycurl http transport implementation doesn't seem to use AuthenticationConfig as does the urllib2 implementation :(
[16:50] <dennda> http://paste.pocoo.org/show/50195/ <-- Urg, what's wrong?
[16:51] <dennda> (This is arch linux)
[16:52] <dennda> The very same command works well on my ubuntu box
[16:53] <dennda> bzr 1.3
[16:53] <kaaloo> ok, I think I see what's happening, the svn repository is being accessed through WebDav over https, and it requires authentication to checkout a revision.  Running bzr branch https://...  is not getting through to bzr-svn because of the authentication issue, when starts to check the branch format, it coughs on a 401.  On the other hand running bzr branch svn+https://.. tries to go through the svn smart server protocol which of course fails 
[17:01] <james_w> dennda: it's something to do with paramiko.
[17:02] <james_w> if you search for the error string you should find the bug report.
[17:59] <mxpxpod> how would I undo a merge?
[18:00] <LeoNerd> revert? uncommit..?
[18:01] <asabil_> mxpxpod: bzr revert
[18:01] <LeoNerd> merge backwards?
[18:01] <asabil_> if you didn't commit
[18:01] <mxpxpod> asabil_: revert still leaves pending merges in the status
[18:01] <mxpxpod> ah, wait
[18:01] <mxpxpod> n/m... I was doing bzr revert *
[18:02] <asabil_> bzr revert --forget-merges
[18:02] <asabil_> only reverts the merge status
[18:02] <mxpxpod> nice, thanks
[18:12] <abentley> mxpxpod: "revert" with no arguments will forget the merge status.  Supplying arguments prevents that.
[18:12] <mxpxpod> abentley: thanks :)
[18:12] <abentley> (revert with no arguments reverts all files too)
[18:27] <jam> ricardokirkner: the exception shown here: http://paste.ubuntu.com/12071/ is a bug in 1.2.0 which has been fixed in later releases. You can get 1.5rc1 from http://launchpad.net/~bzr/+archive, or we can try to work out something else.
[18:27] <jam> dennda: this is actually an interaction with a newer paramiko
[18:27] <jam> if you use paramiko 1.7.2 you don't have that problem
[18:28] <jam> paramiko 1.7.3 causes the "no attribute "get_name"" traceback
[18:28] <ricardokirkner> jam, thank you for your help. what version do you suggest me to use? I was using 1.4 previously, but downgraded due to some issues with that version too.. what is the most stable version (with a good amount of support for svn) for use in production right now?
[18:57] <dennda> jam: uff, I doubt I can install the older version through pacman that easily
[19:08] <dennda> Is there some sort of push-history in bzr?
[19:43] <jam> ricardokirkner: sorry, about the delay, I have a sick child here.
[19:43] <jam> anyway, what problem were you having with 1.4?
[19:43] <jam> dennda: push-history?
[19:51] <dennda> jam: bzr stores the last push location
[19:51] <dennda> I wonder if it stores the last N locations
[19:51] <dennda> accessible via push N
[19:52] <dennda> I will drop the net now, brb
[20:20] <Stavros> hello
[20:20] <Stavros> i want to use bzr for backups, to version a folder on a different hard disk, is there a way not to have the entire repository on both disks?
[20:21] <Stavros> i would like to minimize disk space
[20:21] <Stavros> so if i could have JUST the repo on the backup disk and JUST the working copy on my normal disk it would be ideal
[20:21] <Stavros> is that possible?
[20:21] <beuno> Stavros, maybe something along the lines of a lightweight checkiut
[20:22] <beuno> but, if you have large binary files, it might not be a good idea to use bzr
[20:22] <Stavros> beuno: hmm, yes, how do i do that?
[20:22] <Stavros> hmm
[20:22] <Stavros> i have large binary files but they don't change much
[20:22] <Stavros> they're mostly pictures and such
[20:22] <beuno> Stavros, bzr uses a lot of ram for binary files
[20:22] <Stavros> i'd use git for backup (is that better for binaries?) but its windows support is lacking
[20:22] <Stavros> oh
[20:22] <Stavros> hmm
[20:22] <beuno> is this going to be one way syincing?
[20:22] <Stavros> yes
[20:23] <Stavros> mostly added files
[20:23] <Stavros> no changed ones
[20:25] <beuno> Stavros, bzr will use aprox 3x the file size in RAM
[20:25] <demod> sounds like a job for rsync or rsnapshot
[20:25] <beuno> just so you can calculate what it will take
[20:25] <beuno> but yeah, rsynce sounds like a better candidate
[20:25] <Stavros> i do use rsync, i wanted a better solution because rsync takes ages
[20:28] <demod> thats odd, rsync should be rather fast since it's only checking file size and modification time (iirc)
[20:30] <Stavros> hmm, indeed
[20:30] <Stavros> maybe it's because around 10 mb
[21:37] <brilliantnut> hi, I've been around asking this a long time ago, but what is the best way to have a central repository with LDAP based authentication?
[21:42] <brilliantnut> basically, we looked at bzr+http earlier, but there were some open bugs concerning those, so we left it at that... this was around 1.0
[22:37] <jam> brilliantnut: you could use 'bzr+ssh' and have ssh use pam+ldap for authentication
[22:37] <jam> I believe you can even put ssh keys into ldap
[22:38] <pickscrape> Anyone know the bzr-svn syntax for subversion.conf for explicitly specifying the branches in the svn repository?
[22:39] <pickscrape> bzr svn-branching-scheme --set is crashing for me
[22:42] <brilliantnut> incidentally, this was the exact suggestion we got the last time around, but we came back to bzr+http for some reason... We really need to bzr+http to work...
[22:44] <brilliantnut> jam: we have followed instructions on http://doc.bazaar-vcs.org/bzr.dev/en/user-guide/index.html#serving-bazaar-with-fastcgi
[22:56] <jam> brilliantnut: I'm not sure what your current state is. You followed the instructions and it didn't work?
[23:02] <brilliantnut> jam: yes. We followed the instructions on the link that I just posted.
[23:03] <brilliantnut> /home/tech-admin/data/bzr is the repository, and is mapped to http://ourserver/bzr, /home/tech-admin/data/bzr/HEAD is the root branch.
[23:04] <brilliantnut> bzr branch http://<credentials>@ourserver/bzr works just fine
[23:06] <brilliantnut> actually scratch that
[23:07] <brilliantnut> bzr branch http://<credentials>@ourserver/bzr/HEAD works just fine
[23:07] <brilliantnut> bzr branch bzr+http://<credentials>@ourserver/bzr/HEAD gives an error: bzr: ERROR: No repository present: "bzr+http://<credentials>@ourserver/bzr/HEAD/"
[23:10] <brilliantnut> I could pastebin the bzr-smart.py and relevant portions of our httpd if needed...
[23:10] <bob2> also logs
[23:19] <brilliantnut> http://paste.ubuntu.com/12141/
[23:20] <brilliantnut> There are no relevant logs in error.log with that error... access.log shows a 401 followed by several 200s... post which I get the "No repository present" error.
[23:21] <bob2> adoes http://blahblah/.bzr/smart 404?
[23:21] <brilliantnut> no, no 404.
[23:21] <brilliantnut> 401 Unauthorized
[23:22] <bob2> great
[23:23] <brilliantnut> which is fine, since it tries to access without auth first, then I provide credentials, and it goes ahead to 200s
[23:24] <brilliantnut> all the 200s are http://blahblah/bzr/HEAD/.bzr/smart
[23:25] <bob2> perhaps "bzr -Dhpss co http://blah" will be enlkightening
[23:26] <deepjoy> this is what we saw as brilliantnut described http://paste.ubuntu.com/12142/
[23:26] <brilliantnut> deepjoy is with me, by the way...
[23:30] <jam> brilliantnut, deepjoy: There is a plugin you might try
[23:30] <jam> 'bzr co lp:bzr-hello ~/.bazaar/plugins/hello
[23:31] <jam> it adds a "bzr hello URL" command
[23:31] <jam> which just tries to send the "hello" request to the server
[23:31] <jam> that can be a "is the smart server running" check
[23:31] <jam> It does look like the POST is getting through
[23:32] <jam> You have a "/bzr/.bzr/repository/" directory?
[23:32] <jam> (I'm just checking where the actual repository is at, and that the smart server was told that it has access to it)
[23:32] <jam> Otherwise you might have restricted the smart server to only serve things underneath /bzr/HEAD
[23:32] <jam> which would prevent it from reaching the repo at /bzr/...
[23:36] <deepjoy> jam: we can branch using the http protocol
[23:36] <deepjoy> jam: it's only when we use bzr+http that we have trouble
[23:37] <deepjoy> jam: no the config does not include HEAD anywhere
[23:37] <jam> deepjoy: I understand that. I'm saying that you may have configured the bzr server with the wrong chroot
[23:37] <jam> I don't know for user
[23:37] <jam> sure
[23:38] <jam> you could try sending a
[23:38] <jam> bzr hello bzr+http://.../bzr/
[23:38] <jam> versus
[23:38] <jam> bzr hello bzr+http://.../bzr/HEAD
[23:38] <jam> if the former fails but the latter works
[23:38] <jam> then you are unable to contact the smart server via bzr/.bzr/smart (as opposed to bzr/HEAD/.bzr/smart)
[23:39] <jam> deepjoy: alternatively, it could be a problem with your Apache config
[23:39] <jam> depending on what rule you used to redirect POST => .bzr/smart to the cgi script
[23:39] <deepjoy> I'll post the relevant configs. just gimme a moment
[23:39] <jam> I'm not a huge expert on this, spiv knows more
[23:39] <jam> I'm just trying to point out some things to try
[23:42] <deepjoy> apache conf http://paste.ubuntu.com/12145/
[23:43] <jam> deepjoy: that apache conf *looks* correct to me. Can you try installing the 'bzr-hello' plugin and see if you can talk to "bzr+http://..../bzr" ?
[23:43] <jam> deepjoy: and, of course, make sure you've restarted apache since whenever you last changed the config files
[23:44] <jam> Apache config always feels like shooting in the dark to me. As a stray '/' can totally break things.
[23:44] <deepjoy> bzr-smart.py http://paste.ubuntu.com/12146/
[23:44] <deepjoy> jam: yes we restarted apache even if the change was only at the py file
[23:45] <deepjoy> apache is serving up trac on the same virtualhost also on mod_python
[23:45] <jam> deepjoy: I'm wondering about the line in smart.py:
[23:45] <jam> prefix='/bzr/',
[23:45] <jam> You might try
[23:45] <jam> prefix='/bzr',
[23:46] <jam> I'm not guaranteeing anything here, just something to try
[23:46] <brilliantnut> we've tried both of them :)
[23:46] <jam> spiv should be on in another 15min or so, and he's had more experience with this
[23:46] <jam> brilliantnut: do you have the "POST" program installed?
[23:46] <brilliantnut> yes.
[23:46] <jam> you should be able to do
[23:46] <jam> echo "hello" > POST http://.../bzr/.bzr/smart
[23:48] <jam> It should  return "ok\012"
[23:48] <jam> sorry \001 or \x01 or ^A depending on how you want to view that character
[23:48] <jam> but on your terminal, you should see something "ok 2"
[23:50] <brilliantnut> just a sec, sanitizing the conf again.
[23:58] <jam> spiv, igc, poolie: are you guys there?