[00:00] <Peng_> It might be easier to throw in some sort of JavaScript syntax highlighting.
[00:01] <beuno> yeah, I toyed with that too, but it was too hard on thw browser
[00:01] <beuno> I keep on wanting more and more to develope a "loggerheadlib"
[00:01] <beuno> from scratch
[00:01] <beuno> and start building on top of that
[00:02] <beuno> something that spits out html or json
[00:02] <beuno> and then possibly have multiple frontends to that
[00:02] <epsy> bzr branches have metadata, right?
[00:03] <Peng_> epsy: What do you mean?
[00:04] <epsy> sorry, that's the wrong way to ask my question
[00:05] <epsy> Can I retrieve info about a branch, such as remembered pull location or parent branch location in a way that's easily readable by a machine?
[00:05] <davidstrauss> epsy: It's stored in the .bzr/branch files
[00:06] <Peng_> Or in ~/.bazaar/locations.conf.
[00:06] <davidstrauss> epsy: The best bet is running a bzr command and parsing the output
[00:06] <Peng_> Or using bzrlib.
[00:07] <epsy> davidstrauss, meh :\
[00:07] <beuno> epsy, if you're in python, you can get it through bzrlib
[00:07] <beuno> if not, you also have the xmloutput plugin
[00:07] <epsy> I'm in bash
[00:07] <Peng_> bash can run Python. :D
[00:08] <epsy> so I can use grep/awk/sed, but an easy way would have been nicer(to me and to the aspect of the code)
[00:08] <davidstrauss> epsy: In that case, I would implement a large set of shell scripts that transparently replicate and reimplement Bazaar's capabilities
[00:08] <davidstrauss> epsy: But only for repo versions .92 and newer
[00:09] <davidstrauss> epsy: Supporting anything older with bash-bzr would be ridiculous
[00:09] <epsy> would you?
[00:09] <davidstrauss> I'm kidding :-)
[00:09] <davidstrauss> But I've seen some pretty ridiculous shell scripts
[00:10] <Peng_> Is awk turing-complete? Could we rewrite bzr in it?
[00:11] <davidstrauss> All repo database manipulations would be written as sed regexes
[00:11] <Peng_> (And by "we" I mean "someone completely insane".)
[00:11] <Peng_> ("who is not me")
[00:12] <davidstrauss> Peng: You haven't ruled out that you're completely insane; you'd only established that, despite your potential insanity, you wouldn't write bash-bzr
[00:12] <davidstrauss> you've*
[00:12] <davidstrauss> Peng: But what about in Windows PowerShell?
[00:12] <Peng_> I like to think I still cling to a few...somethings of sanity.
[00:16] <fullermd> Who is it that tries once in a while to use bzrlib in perl via Inline::Python or something?
[00:16]  * fullermd always finds that really neat.
[00:47] <rexbron> hey james_w, do you expect to have any time soon to review my branch?
[00:48] <james_w> hi rexbron, I'll do it tomorrow.
[00:48] <james_w> rexbron: thanks for the reminder
[00:49] <epsy> what can I use with bzr log --log-format= ??
[00:55] <james_w> epsy: by default "line" "log" and "short", but plugins can add others
[00:55] <epsy> oh, that was the purpose, heh
[00:56] <epsy> how would one count how many revisions, including merged revisions are in a branch?
[00:57] <james_w> "bzr revision-history | wc -l" perhaps
[00:58] <james_w> "bzr log | grep " *revno:" | wc -l"
[00:58] <epsy> bzr log | grep -P '^ *revno: [0-9]+$' | wc -l
[00:59] <epsy> that's what I came up with, but it can be spoofed
[00:59] <james_w> yeah, not sure if "revision-history" lists merged revisions
[00:59] <epsy> it does not, sadly
[00:59] <epsy> even with -v
[01:00] <james_w> try bzr info
[01:00] <james_w> perhaps with -v
[01:01] <epsy> the repo part shows something that seems to be a correct number, but it probably wont be on other configurations
[01:01] <james_w> yeah, it's for the repo, so it's not what you want
[01:02] <james_w> a couple of lines of python would do it
[01:02] <epsy> heh
[01:03] <epsy> would a couple of lines fit into one line ?
[01:03] <james_w> it could
[01:04] <epsy> right, I'll dig the bzrlib doc then..where is it?
[01:04] <epsy> http://starship.python.net/crew/mwh/bzrlibapi/ this?
[01:05] <james_w> yep
[01:06] <james_w> you need to use Graph methods, using the graph from the repo, and the tip revision of the branch as a starting place
[01:06] <james_w> and keep a set of visited revisions, and walk the graph
[01:06] <epsy> graph ? tip revision?
[01:06] <james_w> it might be a very long single line :-)
[01:06] <epsy> ah
[01:06] <epsy> heh
[01:07] <epsy> hm, at that rate I'll still be in bzrlib's doc tomorrow
[01:07] <epsy> I'll head for the spoof-able way
[01:08] <epsy> (in the secret hope a perfectionnist comes around and fixes it)
[01:12] <epsy> hrm, -d is lacking on bzr missing
[01:14] <spiv> epsy: "bzr ancestry | wc -l" maybe
[01:16] <epsy> spiv, ah, exactly!
[01:31] <AfC> I still don't understand why `bzr info -v` doesn't report that number instead of the number of left hand revisions. Since the revno is the latter, it's really quite silly to report the number again, and meanwhile everyone wants to know the former.
[01:40]  * fullermd blames the gnomes.
[01:55] <epsy> what does bzr missing return when you use --this and there are missing revisions(on <other> but not on <this>) ?
[02:31] <mcfletch> Stupid question, when bzr says "parsers.expat", what package is it referring to, as in:  mcfletch@sturm:~/OpenGL-dev/simpleparse$ bzr ls
[02:31] <mcfletch> bzr: ERROR: No module named parsers.expat
[02:31] <mcfletch> You may need to install this Python library separately.
[02:35] <mcfletch> I'd thought it would be python-xml (on Ubuntu), but that doesn't eliminate the error.
[11:17] <mdke> hi there
[11:18] <mdke> if I do a bzr merge, but then want to revert it, how do I do that? I see that bzr revert still leaves me with a "pending merge"
[11:20] <mdke> ah, running bzr revert a second time has done the trick
[11:20] <mdke> ignore me :)
[11:25] <spiv> mdke: bzr revert with no arguments will revert pending merges (and changes to files)
[11:25] <spiv> mdke: you can also do "bzr revert --forget-merges"
[11:29] <mdke> spiv: yeah, the first time I ran it I had done "bzr merge .", which i guess is why it didn't revert the merge, but only the files
[11:43] <spiv> mdke: right
[12:56] <epsy> hey..still working out stuff with bzr..
[12:56] <epsy> I'm setting my branches to use a shared repo
[12:57] <epsy> but somehow, when using bzr reconfigure --use-shared, it tells me both repositories(branch's personal and shared) aren't compatible:
[12:57] <epsy> bzr: ERROR: KnitPackRepository('file:///home/epsy/CODE/armagetron/.bzr/repository/')
[12:57] <epsy> is not compatible with
[12:57] <epsy> KnitPackRepository('file:///home/epsy/CODE/armagetron/0.2.8/.bzr/repository/')
[12:57] <epsy> different rich-root support
[13:05] <ronny> LarstiQ: any idea where jelmer is?
[13:09] <LarstiQ> ronny: no, his server froze on the 31st, I would have expected him back by now
[13:09] <LarstiQ> ronny: but maybe he is also suffering from a case of the flu
[13:10] <ronny> hmk
[16:19] <joeljkp> i'm getting "no repository found" when i try to add the bzr-eclipse update site to eclipse 3.4; what's going on?
[16:22] <garyvdm> Hi - I'm having trouble getting bzr to notice BZR_PLUGIN_PATH.
[16:22] <garyvdm> see http://pastebin.com/d38d129ee
[16:22] <garyvdm> I'm must be making a mistake some where.
[16:24] <Peng_> garyvdm: This isn't really an answer, but I'd just put a symlink to the plugin in ~/.bazaar/plugins.
[16:25] <garyvdm> The reason I want to change it is I want to test some changes I'm making to bar-upload, with out affecting my installation. ~/bzr-upload/wd/upload is my test area.
[16:26] <garyvdm> *bzr-upload
[16:26] <luks> export BZR_PLUGIN_PATH=...
[16:27] <luks> without export it sets it only for the current command, which is nothing
[16:27] <garyvdm> Oh - thanks
[19:59] <virtuoso015> have a question... how to continue a new branch creation
[20:00] <virtuoso015> i was downloading the mysql source from bazaar
[20:00] <virtuoso015> and it got interrupted in between
[20:00] <virtuoso015> i have already downloaded 300mb ... dont want to redo it again
[20:02] <virtuoso015> this is the command and its output
[20:02] <virtuoso015> $ bzr branch lp:mysql-server/6.0 mysql-6.0
[20:02] <virtuoso015> bzr: ERROR: Target directory "mysql-6.0" already exists.
[20:08] <garyvdm> virtuoso015: cd into your branch and then pull.
[20:08] <garyvdm> cd mysql-6.0
[20:08] <garyvdm> bzr pull
[20:09] <virtuoso015> it is saying that its not a branch
[20:10] <virtuoso015> bzr: ERROR: Not a branch: "/mysql-server/mysql-6.0/.bzr/branch/".
[20:11] <garyvdm> Is mysql-server a shared repository?
[20:12] <virtuoso015> sorry, i am a beginner at this...
[20:12] <virtuoso015> although i can tell you the command i have used
[20:12] <garyvdm> Ok no problem.
[20:12] <garyvdm> Give me a sec.
[20:12] <virtuoso015> shell> mkdir mysql-server shell> bzr init-repo --trees mysql-server              Once you have an initialized directory, you can             branch from the public MySQL server             repositories. To create a branch of a specific version:            shell> cd mysql-server shell> bzr branch lp:mysql-server/6.0 mysql-6.0
[20:12] <virtuoso015> sorry... let me format that
[20:13] <virtuoso015> shell> mkdir mysql-server
[20:13] <virtuoso015> shell> bzr init-repo --trees mysql-server
[20:13] <virtuoso015> shell> cd mysql-server
[20:13] <virtuoso015> shell> bzr branch lp:mysql-server/6.0 mysql-6.0
[20:13] <garyvdm> Ok - mysql-server IS a shared repository
[20:14] <virtuoso015> meaning it can store more than one version of mysql at a time ??
[20:14] <beuno> virtuoso015, meaning that if you branch again, it will probably only bring in the revisions you don't have
[20:15] <garyvdm> You can delete /mysql-server/mysql-6.0 and then branch again
[20:15] <beuno> a shared repo is a common database of revisions, indipendant of branches
[20:16] <garyvdm> You won't delete the data allready downloaded, because it is stored in  mysql-server/
[20:16] <virtuoso015> i seem to have a very big file , of size 300 MB, in /.bzr/repository/upload
[20:16] <virtuoso015> its a .fetch file
[20:17] <virtuoso015> oh... ok. So, all i need to do is to delete the mysql-6.0 folder
[20:17] <garyvdm> Just a sec
[20:17] <virtuoso015> and redo the branch command again ??
[20:17] <virtuoso015> no prob
[20:17] <garyvdm> What is the full path to that 300mb file?
[20:18] <virtuoso015> ./mysql-server/.bzr/repository/upload
[20:18] <virtuoso015> mysql-server is in my home directory
[20:19] <garyvdm> Ok - I just wanted to check that it was not in the  /mysql-server/mysql-6.0 dir.
[20:19] <virtuoso015> so, i now delete the mysql-6.0 dir and retry ??
[20:19] <garyvdm> Yes
[20:20] <garyvdm> I'm not 100% sure if it will continue with that .fetch file. I think it will.
[20:20] <garyvdm> It won't redo the other data that was downloaded.
[20:21] <virtuoso015> ok... the command is working
[20:21] <virtuoso015> the progress bar has not yet come
[20:22] <garyvdm> Maybe someone else can let us know if it will continue with the .fetch file.
[20:22] <virtuoso015> ok, it seems to be working
[20:23] <virtuoso015> the size of the .fetch file hasnt diminished
[20:23] <virtuoso015> and the progress bar is starting from half way
[20:25] <virtuoso015> hmmm... it seems to have created a new fetch file
[20:25] <virtuoso015> lets see how this goes
[20:26] <garyvdm> I've been checking out the annotate of the code to see who might be able to answer, and none of them are here :-(
[20:27] <virtuoso015> no problem... live and learn... or is it, screw up and learn :D
[20:28] <garyvdm> Yhea
[22:04] <luke-jr> is it safe to use 'bzr branch' as an import method? eg, branch and then delete the origin?
[22:06] <AmanicA> yes, but it will only contain comitted stuff
[22:06] <LeoNerd> A branch is a complete copy of all history, yes. It doesn't refer to the origin
[22:06] <luke-jr> AmanicA: eh?
[22:06] <AmanicA> I normally have suff in there which I don't commit.
[22:07] <luke-jr> well, in this case, the origin is svn
[22:07] <AmanicA> like ide files
[22:08] <AmanicA> also I normally don't delete anything without making a backup
[22:53] <luke-jr> how can I specify the format of a branch?
[22:57] <garyvdm> bzr upgrade
[23:00] <luke-jr> garyvdm: can't do it at branch-time?
[23:00] <luke-jr> why does bzr tell me --dirstate-with-subtree is deprecated?
[23:00] <luke-jr> is there a replacement?
[23:02] <garyvdm> luke-jr: You can't do it at branch time, which I find irritating.
[23:03] <luke-jr> another question, slightly off-topic: can I have Launchpad automatically pull from a parent branch?
[23:07] <garyvdm> dirstate-with-subtree:
[23:07] <garyvdm> This format was introduced as a hidden format in Bazaar 0.15. It is an experimental format, not recommended for use.
[23:07] <garyvdm> (http://bazaar-vcs.org/BazaarFormats)
[23:07] <fullermd> d-w-s is a knit format, so yeah, it's old and deprecated.
[23:08] <ronny> sup jelmer
[23:09] <ronny> jelmer: whats the state on your leak-free svn bindings - i could really use them in anyvc
[23:10] <garyvdm> luke-jr: to have launchpad pull your branch: https://code.launchpad.net/+code-imports/+new
[23:13] <luke-jr> garyvdm: any idea if that has bzr-svn?
[23:13] <luke-jr> garyvdm: dirstate-with-subtree is about the only format I could find that supports nested trees
[23:13] <luke-jr> fullermd: can you recommend another one?
[23:14] <fullermd> Well, there's a pack subtree variant.
[23:14] <luke-jr> is there?
[23:15] <fullermd> pack-0.92-subtree
[23:17] <luke-jr> wait, pack is > dirstate?
[23:19] <fullermd> mu
[23:19] <fullermd> In this sense, yes.
[23:20] <garyvdm> dirstate = dirstate + knit
[23:20] <garyvdm> pack-0.92 = dirstate + pack
[23:20] <garyvdm> pack > knit
[23:20] <garyvdm> Hope that makes sense
[23:21] <luke-jr> i c
[23:22] <luke-jr> is pack-0.92-subtree as tested as dirstate-with-subtree ?
[23:22] <fullermd> Well, I suspect the answer is "yes", but I'm not sure how much comfort can be drawn from that   ;)
[23:23] <luke-jr> grr, it says pack-0.92-subtree is deprecated too
[23:24] <luke-jr> and pack-0.92-subtree is broken -.-
[23:31] <luke-jr> or maybe nested trees is just broken in general ☹
[23:41] <beuno> luke-jr, right, bzr doesn't really support nested trees
[23:41] <luke-jr> beuno: why not?
[23:41] <luke-jr> it was working in 0.4…
[23:42] <luke-jr> it's also a very necessary functionality
[23:43] <fullermd> 0.4?
[23:43] <beuno> 0.4?
[23:43]  * fullermd winz!  :p
[23:44] <beuno> damn!  lost the first round of the year
[23:44] <fullermd> bzr has never _supported_ nested trees.  It's always been a half-formed future feature.
[23:44] <fullermd> That's why the formats are squirreled away in a dark corner.
[23:44] <beuno> ah, maybe he means bzr-svn?
[23:45] <fullermd> Oh, that could be.
[23:45] <luke-jr> beuno: no, I mean bazaar I think
[23:46] <beuno> luke-jr, I hope you don't
[23:46] <fullermd> There was never a bzr 0.4.
[23:46] <luke-jr> oh :/
[23:46] <fullermd> It went from 0.1.1 to 0.6
[23:46] <luke-jr> so what do I do if I need nested trees? :/
[23:47] <luke-jr> use Subversion?
[23:47] <beuno> talk to LarstiQ   ;)
[23:47] <fullermd> I think then you bug LarstiQ; he was the last one that touched it.
[23:47] <luke-jr> LarstiQ: hi?
[23:47] <beuno> 1-1
[23:47] <fullermd> Blast!
[23:47] <fullermd> He may have a branch around that's more solid; not sure.
[23:48] <luke-jr> a branch :x
[23:48]  * luke-jr DOES want other people to be able to checkout his code
[23:48] <fullermd> Pfft.  Other people just cause problems.
[23:48] <beuno> luke-jr, if you where using nested trees, then you where using bzr-svn
[23:49] <luke-jr> beuno: oh?
[23:49] <beuno> which also went recently from 0.4 -> 0.5
[23:49] <fullermd> Why, I've got all sorts of programs that were totally bug-free until other people starting using them...
[23:49] <luke-jr> nested trees don't exist w/o bzr-svn?
[23:49] <beuno> luke-jr, I suspect that's the reality, but only jelmer can confirm that
[23:50] <fullermd> Er, no, just that bzr-svn is the primary reason anybody ever used a subtree format (and shouldn't be nowadays anyway)
[23:50] <luke-jr> fullermd: how about a real need for it?
[23:50] <luke-jr> my project uses code from 2 other repositories
[23:50] <fullermd> Nested tree support has never existed beyond a few low-level bits with a molecularly-thin UI on top of them.
[23:50] <beuno> luke-jr, the answer always ends up with
[23:50] <luke-jr> fullermd: it seems to be working, except for checkouts
[23:50] <fullermd> Well, with a real need for it, you need the actual feature, not just the format.
[23:51] <beuno> "bug LarstiQ"
[23:51] <luke-jr> fullermd: yes, I do
[23:51] <fullermd> A lot of the low-level stuff was written.  The higher-level glue, UI, polishing, etc, hasn't been done.
[23:51] <luke-jr> that's fine
[23:52] <luke-jr> my only requirement is that it works for third-party checkouts
[23:52] <fullermd> Well, no, it's not fine.  It _doesn't work_.  It's never worked.  First steps were taken, and nobody has had the combination of interest and time to finish it.
[23:52] <luke-jr> sigh
[23:53] <fullermd> There's a fair continuing current of interest.  It's not like we _want_ it to be sitting around teasing people.
[23:53] <fullermd> Just that it doesn't top anybody's priority list, so it sits around not really moving.  That's why it's hidden.
[23:55] <fullermd> AFAIK, LarstiQ _is_ still working on it, but he's had something approaching 0 time for the last $WHILE.
[23:55] <luke-jr> sigh
[23:55] <luke-jr> so a Makefile that fetches the subtrees for now? ☹
[23:56] <beuno> luke-jr, or maintain all of them in the same tree
[23:56] <luke-jr> beuno: the subtrees are from different projects
[23:56] <beuno> luke-jr, it's still legal...  ;)
[23:57] <luke-jr> …