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

=== AfC [i=andrew@office.syd.operationaldynamics.com] has joined #bzr
=== abadger1999 [n=abadger1@65.78.187.68] has joined #bzr
=== fog [n=fog@debian/developer/fog] has left #bzr []
=== abentley [n=abentley@bas8-toronto63-1088754407.dsl.bell.ca] has joined #bzr
=== abentley [n=abentley@bas8-toronto63-1088754407.dsl.bell.ca] has left #bzr []
=== abentley [n=abentley@bas8-toronto63-1088754407.dsl.bell.ca] has joined #bzr
=== BasicOSX [n=BasicOSX@216-250-187-201.static.iphouse.net] has joined #bzr
=== bitmonk [n=justizin@adsl-76-212-10-56.dsl.pltn13.sbcglobal.net] has joined #bzr
=== cprov-out is now known as cprov
=== jml_ [n=jml@203-113-250-169-static.TAS.netspace.net.au] has joined #bzr
=== kiko-afk is now known as kiko
lifelesspoolie: call ?01:26
=== jml_ is now known as jml
ubotuNew bug: #148787 in bzr "rpm packages out of date" [Medium,Confirmed]  https://launchpad.net/bugs/14878702:20
pooliespiv, hi?02:27
=== asak_ [n=alexis@201-13-29-191.dsl.telesp.net.br] has joined #bzr
=== mw is now known as mw|out
abentleyfullermd: If you start with "branch5/branch6" then switch to "dirstate/dirstate-tags", you have only yourself to blame for the resulting confusion.02:44
=== bratsche [n=cody@adsl-68-94-60-43.dsl.rcsntx.swbell.net] has joined #bzr
=== orospakr [n=orospakr@bas4-ottawa23-1167863898.dsl.bell.ca] has joined #bzr
=== pete__c [n=pete@015-850-358.area5.spcsdns.net] has joined #bzr
spivpoolie: hi03:18
=== orospakr [n=orospakr@CPE001a70d1de84-CM0019474a8676.cpe.net.cable.rogers.com] has joined #bzr
pooliespiv, i'm going to get some early lunch, can we talk after that?03:41
spivOk.03:43
lifelessmmm food04:09
=== jml [n=jml@ppp121-44-213-76.lns1.hba1.internode.on.net] has joined #bzr
=== bratsche_ [n=cody@adsl-68-94-63-182.dsl.rcsntx.swbell.net] has joined #bzr
=== Verterok [n=ggonzale@75-108-235-201.fibertel.com.ar] has joined #bzr
=== cprov [n=cprov@canonical/launchpad/cprov] has joined #bzr
=== bigdo1 [n=scmikes@72-197-8-8-arpa.cust.cinci.current.net] has joined #bzr
=== lifeless hates on evo
lifelesspoolie: ping re reviews04:40
=== cprov is now known as cprov-Zzz
abadger1999lifeless: If you find a good replacement, let me know :-)04:47
lifelessabadger1999: I hear telnet is04:48
mneptokabadger1999: wat clay, a reed, and knowledge of cuneiform is far superior solution than Evolution04:59
mneptok*wet04:59
abadger1999hah!05:00
lifelessmneptok: its funny cause its true05:00
abadger1999I switched to t-bird from evo a month ago and was somewhat satisfied until the gpg plugin started causing it to hang.05:00
mneptoklifeless: "funny" in that "i really chuckled as i tasted the gun oil" way05:00
poolielifeless, i'm reviewing your code05:01
=== bitmonk_ [n=justizin@76.212.10.56] has joined #bzr
lifelessmneptok: you're heading for quotes page again05:01
abadger1999I may have to try sylpheed-claws next.05:01
lifelesspoolie: thank you!05:01
lifelesspoolie: sypy is on tonight btw, I plan to head along05:02
=== bratsche [n=cody@adsl-68-94-25-44.dsl.rcsntx.swbell.net] has joined #bzr
mneptokabadger1999: Claws' predeliciton for the "hey! welcome to your new day! remember that mail you imported yesterday? i deleted that for you!" was a bit annoying05:06
lifelesspoolie: I've sent 3 new up today I think05:07
lifelesspoolie: I'm going for lunch, if theres something you want to ask me about, ring me please05:08
pooliehello mneptok05:09
poolienice to see you05:09
pooliei wonder what claws is like these days05:09
pooliereally i just want a mutt that can search quickly, has a bit of mouse support, and doesn't spaz out when its connection drops05:10
mneptokpoolie: 'allo sahib :)05:11
jmlpoolie: kind of like an offline gmail then?05:11
mneptokpoolie: Claws' performance vis-a-vis speed is excellent. performance vis-a-vis data integrity ... not so much. in my experience.05:12
pooliejml, gmail is pretty close to doing it for me05:12
pooliebetter keyboard support would be nice05:13
mneptokGreasemonkey?05:13
pooliebuiltin gpg handling would be good too, though i realize some hacks are possible with encrypting the clipboard etc05:13
jmlpoolie: my main gripe is that it needs internet and "open next email" takes too long (because of internet)05:13
pooliemneptok, you know you could probably get in trouble making that proposition to some people05:14
poolie:)05:14
radixpoolie: I've been using some firefox extension to add gpg support to gmail. it's not bad.05:14
poolieafter using gmail for a while i just switched to evo to see how it was05:14
poolietoo many crashes05:15
mneptokpoolie: only if on follow-through my techique is sub-par ;)05:15
pooliehello radix05:15
radixhi poolie :-)05:15
lifelessback05:21
lifelessevo would be really good if its developers used it05:22
abadger1999if it's developers used it, they'd all kill themselves.05:24
lifelessnah05:29
lifelessbut they would fix it05:29
=== BasicOSX [n=BasicOSX@216-250-187-201.static.iphouse.net] has joined #bzr
lifelesshmm what to do05:41
pooliespiv, hi?05:44
spivpoolie: hello05:47
pooliecall?05:48
spivpoolie: want to call?05:48
spivsnap05:48
mneptoklifeless: i find it unlikely Microsoft employees would actually use Evolution05:54
mneptok*bah dum tish*05:54
=== thumper [n=tim@125-236-193-95.adsl.xtra.co.nz] has joined #bzr
lifelessmneptok: bitchy05:54
lifelessI like it05:54
=== jeremyb [n=jeremy@unaffiliated/jeremyb] has joined #bzr
mneptok:)06:04
lifelesspoolie: replied to your review06:19
poolie>Would you prefer a[:]  = []  ?06:27
pooliewell06:27
pooliewhen i first read it, i didn't see the [:]  and wondered "why on earth is he deleting it"?06:28
pooliethen about 10s later i saw it06:28
lifelessI find the del clearer06:28
lifelessbecause [:]  list replacement is IME rarely used06:28
lifelessand the point here is to preserve the instance of the list06:28
poolieyes, i understand that06:29
lifelessI wouldn't want someone to do a = []  as a 'cleanup'06:29
poolieexactly06:29
pooliemaybe you should add a comment explaining you need to keep the instance?06:30
lifelesssure06:32
poolieso i find it a bit strange, though at the same time straightforward, that the meaning of 'del a' is utterly different from 'del a[...] '06:32
pooliebut, that's neither here nor there06:32
poolieyour response is fine with me, anyhow06:33
lifelessthanks! 1 down, X to go :)06:33
poolieoh, abadger1999 is toshio06:38
pooliei presume06:38
abadger1999Yep.06:39
abadger1999Looking at the Fedora Packaging bug?06:40
lifelessspeaking of packaging, I've still got this glitch06:46
=== orospakr [n=orospakr@bas4-ottawa23-1088827158.dsl.bell.ca] has joined #bzr
=== BasicOSX [n=BasicOSX@216-250-187-201.static.iphouse.net] has joined #bzr
=== keir [n=keir@76-10-151-153.dsl.teksavvy.com] has joined #bzr
keirabentley, ping06:55
abentleypong06:56
lifelesshi keir06:59
lifelesskeir: I've been poking a bit at your code. I'm concerned that the split between key names and data means the locality of reference win will be entirely nullified with todays access pattern and API's07:00
lifelesskeir: also, have you done any performance tests with your code?07:00
=== bitmonk [n=justizin@adsl-76-212-10-56.dsl.pltn13.sbcglobal.net] has joined #bzr
poolieabadger1999, yes, but in particular this was the first time i remember seeing your name in mail, or at least the first time i made the connection07:09
poolieit also made me smile because my partner is a tiki enthusiast07:10
abadger1999Ah :-)07:10
lifelesspoolie: do I get any other reviews ? :)07:17
pooliei've done all but one of them07:18
poolieby BB's count07:18
lifelessoh hmm07:18
pooliei can do that one after matthew's, if you like07:18
=== BasicOSX [n=BasicOSX@216-250-187-201.static.iphouse.net] has joined #bzr
lifelesspoolie: please do07:26
keirlifeless, no, i haven't done any perf testing yet07:31
keirabentley, if you're going to make a trac-killer, go for full distributed07:32
keirabentley, and i feel rather strongly that the killer feature of trac is the pervasive wiki07:32
abentleyWell, it sounds like you need to write your own.07:32
keirabentley, if i could have local editing of the wiki along with the trac wiki integration for tickets and such... sweeet07:32
keirabentley, so you're not going to try distributed?07:33
lifelessI think wiki integration is killer; I think trac's including the wiki is whack07:33
abentleyIf it's successful, it might expand that way.07:33
abentleyBut distributed is really complicated.07:33
lifelessbetter to work closely with a wiki that is just a great wiki, than write a new one07:33
lifelessabentley: btw, I love the name07:34
abentleyAnd I don't need that right now.07:34
keiri was thinking something that used ReST07:35
keirlightweight07:35
keiractually, i like the name, but i think it is a bad idea07:35
keirbecause it is not googleable07:35
keirthe new project 'review board' for example. WORST NAME EVER07:35
keirtry finding that one!07:35
abentleylifeless: Thanks.  I saw it there, and I figured I had to use it, but it's probably just a working title.07:36
keirlifeless, if we toss the split between data / key, then we can't topo sort07:36
abentleyI think it's amusing that "Trac" is actually a real word backwards.07:36
lifelesskeir: I'm pretty sure you are wrong07:37
keirlifeless, then how are you going to find keys?07:38
keirlifeless, you can't build a btree on keys anymore because they're not sorted07:38
lifelesswell07:38
keirso you have to build a btree of keys to find their position in the topo sort... then you're back where we are now07:38
lifelessso the split between keys and data just groups the data (small) away from the keys (large), but we need th ekeys to answer every query, so we access large data anyhow07:38
lifelessI raised this in my first design review on the list07:38
keirright07:39
abentleykeir: Making a distributed wiki is one thing.  That's basically just using Bazaar as a wiki backend.07:39
lifelessanother way of getting grouping is to keep the keys and data together, and to index on topological index07:39
abentleyBut a distributed bug tracker with correct merging is a lot more complicated.07:39
lifeless(that is, topo sort the names presentin the index, assign them in the result order numbers from 0->N-1, and order them that way)07:40
keirlifeless, then you have another entire copy of the keys, no?07:40
lifelessno07:40
lifelessnot at this point in the sketch anyhow :)07:40
keiri give you a key. how do you find the data in the 'btree' say?07:40
lifelesstheres no tree in this thought experiment07:41
keirok07:41
lifelessjust linear grouping based on topo ordering07:41
keirso how do you do better than linear scan?07:41
lifelessfinding an arbitrary key by name is linear07:41
keirok07:41
keirso to beat linear07:41
keiryou have to build an index on the keys07:41
lifelessnot necessarily07:41
keirto find their topo index07:41
lifelessit depends on what operations are common07:41
lifelesssee, this pattern:07:41
lifelessfind key X07:42
lifelessfind key[X.parent] 07:42
lifelessetc07:42
keirright07:42
keirbut if you want to do better than linear for 1st step07:42
lifelessare amortised linear(index size) for the first op, plus constant time for every additional step07:42
keiryou're sunk because you need to build an index on the keys...07:42
lifelessthere are two reasons to have fast access to an individual key07:43
lifelessone is direct access to it07:44
lifelessthe second is to make the miss-case fast(because its as slow as the worst case key lookup)07:44
lifelessits possible to address the second reason without addressing the first via bloom filters, if we want to.07:44
lifelessbloom filters are very fast07:44
lifelessnow, I suspect we do need reasonably fast direct access07:45
lifelessand I'm still mulling this07:45
keiri don't see any way to have fast direct access without an index on the keys07:45
keirwhich implies at least 1 copy of the keys sorted by keys07:45
lifelessI suspect we have 2-3 versions of indices to get a really really good one07:45
lifelesswell, copy of the keys is misleading because you can index on much less than the sum of the keys07:46
lifelessvia e.g. hash'es, tries,07:46
keirsure, if we go the hash route07:47
lifelessyou can probe in a hash table to get a list of byte offsets the key may be at07:47
lifelessif there is nothing there, its not in the index, if there is, then follow it to see if its the one you want07:47
lifelessno key data, and a variable length hash allows this to scale with index size07:47
keirtrue07:47
keirso hash to list of offsets?07:48
lifelessdon't need secure hashes here - the real data is always present, and we want it, so follow it to handle hash collisions07:48
keirsounds reasonable07:48
lifelessanyhow, project wise -07:48
keiri can do that07:48
lifelessI have 3 weeks more or less before UDS07:48
lifelessbut we freeze well before that07:48
lifelessso here is what I'm thinking...07:48
poolielifeless, ok, all your patches that i can see are now merged07:49
pooliei mean, reviewed07:49
lifelessI toss a trivial 4K-fan-out prefix on the current index and do page-size bisection. This is for 0.92, and is better-but-not-ideal. We freeze the disk format with this, and continue working on your code - getting the design profiled and so on.07:50
keirlifeless, sounds sensible07:50
lifelesskeir: does this make sense to you? It means there is no insane rush to get your index *right*, but its still in the pipeline.07:50
keirlifeless, yes. if adding topo sorting isn't too hard, i'll do that after.07:50
lifelesspacks will be getting reved post 0.92 anyhow as the newer delta logic gets slotted in, so theres plenty of window to drop a new index layer in.07:50
=== bitmonk [n=justizin@adsl-76-212-10-56.dsl.pltn13.sbcglobal.net] has joined #bzr
keirok, i have to run07:52
poolielifeless, what if anything did you decide about the gsoc summit?07:52
keiri may hop on over the weekend07:52
=== g0ph3r [n=g0ph3r@p57A09E16.dip0.t-ipconnect.de] has joined #bzr
lifelesskeir: ok, bye!07:52
lifelesspoolie: hot damn I entirely forgot to look that up07:53
lifelessyou wouldn't happen to know where the announcement stuff is? I haven't been emailed about it so have no links07:53
poolieuh i think it's next weekend so probably not07:54
pooliehttp://groups.google.com/group/google-summer-of-code-mentors-list/browse_thread/thread/7632570e13d7813e/e69899cd12d7c7ad#e69899cd12d7c7ad07:54
poolieiow, in two days time07:54
poolie"can i borrow your jet?"07:54
lifelessmeep07:55
lifelessguess not lol07:56
lifelesshmm, bb says its reviewed, but I don't see mail about it07:56
lifelessthe fetch patch07:56
=== BasicOSX [n=BasicOSX@216-250-187-201.static.iphouse.net] has joined #bzr
poolieafter i finish vila's patch i'm going to take a break as i have calls tonight07:58
pooliethen will submit my patch07:59
lifelessok07:59
lifelessplease let them know that the packs patch is very small now, with these things reviewed07:59
lifelessand I'll be doing the index thing as the next priority08:00
lifelessso Monday I hope to be sending in the last patch to remove the packs branch08:00
lifelessthat is to merge the entire thing08:00
poolielifeless, what is the real difference in intention between tests/blackbox and tests/commands?08:02
pooliethe docstring is not very enlightening08:02
lifelesssearch me, let me look08:02
lifelessvila seems to have created this08:03
lifelesspoolie: commands/ invokes the objects directly08:03
lifelesspoolie:         cmd = cmd_cat()08:03
lifeless        cmd.run(self.get_url('branch/foo'))08:03
lifeless        self.assertEquals(1, len(self.connections))08:04
lifeless        self.assertEquals('foo', self.outf.getvalue())08:04
=== Zindar [n=erik@h188n1fls12o803.telia.com] has joined #bzr
lifelessso it is avoiding the run_bzr* infrastructure, its a lower level test.08:04
lifelessI think this is quite reasonable but the docstring is as you say unclear08:04
poolieyes that does seem to be it08:04
=== Zindar [n=erik@h188n1fls12o803.telia.com] has joined #bzr
poolieto me, that layer seems so thin that it is not worth separately testing with and without it08:05
lifelessI don't like the idea of duplicate tests with and without it08:06
lifelessI would quite like to have tests of that layer and all the others tests written without it; personally.08:06
lifelessanyhow, I'm out for the day; got lots done08:07
=== AfC [n=andrew@218.185.75.132] has joined #bzr
poolielifeless, any debs yet?08:14
poolietests of the argument parsing and everything else done without parsing?08:14
pooliethat would be ok with me08:14
pooliei think08:14
ubotuNew bug: #148857 in bzr "add should not show count of ignored files" [Low,Confirmed]  https://launchpad.net/bugs/14885708:15
=== hdima [n=hdima@idealer.cust.smartspb.net] has joined #bzr
lifelesspoolie: yes, just now in fact.08:37
lifelesspoolie: without sid, its failing to build for me08:37
vilapoolie, lifeless : regarding tests/commands, its origin in rev 2485.8.3 in bzr.dev, back in London Sprint, robert told me to separate the tests I was written in test_init (aimed at testing the init command) into a new hierarchy08:59
vilaand also to create a dedicated transport (based on ftp) to avoid testing against all transports09:00
vilathe distinction between blackbox (testing the API) and tests/commands for the internal behavior was a bit blurry though :-/09:01
vilaI think the idea was the connection sharing problem was seen as internal to the commands and not worth blackboxed as users shouldn't be aware of such detail09:02
=== mkanat [n=mkanat@c-71-202-202-106.hsd1.ca.comcast.net] has joined #bzr
mkanatIs there any way to get a log for all of the items in a directory?09:09
mkanatParticularly from a repo with no working tree.09:09
lifelessvila: well I advised that when you asked a specific quest09:10
lifelessquestion09:11
vilalifeless: I'm not throwing stones ;)09:11
lifeless:)09:11
lifelessI'm off to sypy09:11
vilajust explaining the history to help find the right answer09:11
vilawhich I still don't have unfortunately :-/09:12
=== vila leaves for a couple of hours, bbl
lifelessciao09:12
vilalast thought and I'm really gone, I think there is value in testing at that level ,but truth is, the tests I have written could be blackbox ones...09:15
=== mvo [n=egon@p54A67EA1.dip.t-dialin.net] has joined #bzr
=== acuster [n=acuster@89.7.90.220] has joined #bzr
acusterHey all, I just imported a large project from svn into bzr. It took many hours and all my memory but eventually finished---very cool.09:22
acusterHowever, bzr log lists a bunch of files under a "removed:" header09:22
acusterthe same thing happened when I did a bzr init; bzr add on a fresh svn checkout09:23
acustercan anyone explain how bzr is handling those files?09:24
=== allenap [n=allenap@87-194-166-60.bethere.co.uk] has joined #bzr
=== poolie_ [n=mbp@ppp112-44.static.internode.on.net] has joined #bzr
=== mwh [n=mwh@62-31-157-102.cable.ubr01.azte.blueyonder.co.uk] has joined #bzr
acusterafter 'bzr revert' is 'bzr st' supposed to have a 'removed:' section?09:52
poolie_acuster, no, it should normally not09:59
acusterthanks09:59
acusterdoes bzr make errors building a repository due to file name issues, file content issues or layouts?10:00
=== jrydberg__ [n=Johan@c80-216-246-123.bredband.comhem.se] has joined #bzr
poolie_can you explain the question more?10:17
acusterhttps://bugs.launchpad.net/bzr/+bug/14888410:22
ubotuLaunchpad bug 148884 in bzr "'bzr add' and 'bzrsvn branch' work but have st with a 'removed:' section" [Undecided,New] 10:22
acusterwould bzr have issues on files in different encodings?10:22
poolie_looking10:24
acusterthanks10:24
poolie_that is strange10:25
poolie_bzr handles filenames as unicode10:25
poolie_so it does have trouble if there are names that are not valid in your machine's encoding10:26
=== herzel104 [i=herzel@gateway/tor/x-fad769a1e8f6340c] has joined #bzr
acusterthe file names look ok, I was thinking in terms of contents10:26
poolie_generally no, though there are some more things we'd like to do to accomodate people with varying encodings within their tree10:27
poolie_that is, with files whose encoding doesn't match your locale's encoding10:27
acusterblackpad:/soft/BZR/geotools/trunk> file gt/modules/unsupported/coverageio-netcdf/src/main/java/org/geotools/image/io/netcdf/NetcdfImageReader.java10:27
acustergt/modules/unsupported/coverageio-netcdf/src/main/java/org/geotools/image/io/netcdf/NetcdfImageReader.java: ISO-8859 C program text10:27
acusterblackpad:/soft/BZR/geotools/trunk> file gt/modules/unsupported/coverageio-netcdf/src/main/java/org/geotools/image/io/netcdf/NetcdfReadParam.java10:27
acustergt/modules/unsupported/coverageio-netcdf/src/main/java/org/geotools/image/io/netcdf/NetcdfReadParam.java: ASCII C program text10:27
poolie_and are you experiencing that bug on linux? with 0.91?10:27
acusterI'm on ubuntu feisty (utf-8)10:28
poolie_>>find . -name '\.svn' | xargs grep rm -Rf10:28
poolie_is that really the command you ran?10:28
acusterbut there must be files in ISO-8859 in other parts of the tree that imported find10:28
poolie_i don't think that will do what you intend it to do10:28
acusterno10:28
acusterwithout the grep probably10:28
acusterbut something like that10:29
acusterI couldn't get find to work on its own10:29
mkanatfind -name '\.svn' -exec rf -rf \{\} \;10:29
mkanats/ rf / rm /10:29
acusteryeah10:29
acusterI didn't find that and gave up after a while ;-)10:30
acusteractually the find had '-type d'10:30
poolie_just fyi, it would be easier to just put .svn in a .bzrignore in the root10:30
poolie_in fact it may be on by default10:30
acusterbefore running bzr?10:30
acusterthat's nice10:30
ubotuNew bug: #148884 in bzr "'bzr add' and 'bzrsvn branch' work but have st with a 'removed:' section" [Undecided,New]  https://launchpad.net/bugs/14888410:30
poolie_before running add10:31
acustermakes sense now10:31
acusterbzrsvn should certainly make .svn ignored by default, does that project use the same bugtracker?10:32
=== gabe [n=gabriel@91.84.56.254] has joined #bzr
acusteryeah, another directory that imported fine has files in the 8859 locale10:34
=== pbor [n=urk@host42-87-dynamic.1-79-r.retail.telecomitalia.it] has joined #bzr
=== mrevell [n=matthew@canonical/launchpad/mrevell] has joined #bzr
mkanatDoes 0.91 require Python 2.4 now?10:44
mkanatI get a syntax error on 2.3 for: from stat import (S_ISREG, S_ISDIR, S_ISLNK, ST_MODE, ST_SIZE,10:44
mkanatI didn't see that anywhere in the relnotes.10:45
poolie_mkanat, i don't think we've supported 2.3 for quite a while?10:47
mkanatpoolie_: It seems to have been working in 0.18.10:47
poolie_acuster, yes, it's bzr-svn10:47
poolie_!!10:47
mkanatOh, no, I'm a liar.10:48
=== poolie_ is now known as poolie_phone
mkanatpoolie_: You can ignore me. :-)10:48
mkanatOr at least, that last statement. :-)10:48
=== fog [n=fog@debian/developer/fog] has joined #bzr
=== mwhudson [n=mwh@62-31-157-102.cable.ubr01.azte.blueyonder.co.uk] has joined #bzr
=== mwhudson [n=mwh@62-31-157-102.cable.ubr01.azte.blueyonder.co.uk] has joined #bzr
=== herzel104 [i=herzel@gateway/tor/x-7cc0413af5b3fc6e] has joined #bzr
=== Demitar [n=demitar@c-212-031-182-147.cust.broadway.se] has joined #bzr
acusterpoolie_phone, did you mean it's bzr-svn's error?12:19
=== Zindar [n=erik@stockholm.ardendo.se] has joined #bzr
=== g0ph3r [n=g0ph3r@p57A0A0C7.dip0.t-ipconnect.de] has joined #bzr
ubotuNew bug: #148908 in bzr "`bzr log --short -rX.Y.Z` gives traceback" [Undecided,New]  https://launchpad.net/bugs/14890812:55
=== mwhudson_ [n=mwh@62-31-157-102.cable.ubr01.azte.blueyonder.co.uk] has joined #bzr
=== mwhudson_ is now known as mwhudson
=== orutherfurd [n=orutherf@dsl092-164-022.wdc2.dsl.speakeasy.net] has joined #bzr
jelmeracuster: I think he meant that launchpad is used for tracking bugs in bzr-svn and the product name there is 'bzr-svn'01:30
acusteroh, right, thanks01:30
=== cprov-Zzz is now known as cprov
=== vila [n=vila@lec67-4-82-230-53-244.fbx.proxad.net] has joined #bzr
=== niemeyer [n=niemeyer@200-140-230-150.ctame705.dsl.brasiltelecom.net.br] has joined #bzr
=== orospakr [n=orospakr@bas4-ottawa23-1088827158.dsl.bell.ca] has joined #bzr
=== mw|out [n=mw@189.146.12.253] has joined #bzr
=== mw|out is now known as mw
=== bigdog [n=scmikes@72-197-8-8-arpa.cust.cinci.current.net] has joined #bzr
=== juliank [n=juliank@f048226155.adsl.alicedsl.de] has joined #bzr
=== GaryvdM [n=chatzill@41.208.50.176] has joined #bzr
=== asak_ is now known as asak
acusterhow do I ask for the log of the last 20 revisions?03:25
GaryvdMbzr log --limit=2003:25
acusterah, or -10..03:25
acusteris there a way to do a range? say -20 to -10?03:25
=== EtienneG [n=etienne@ubuntu/member/EtienneG] has joined #bzr
GaryvdMbzr log -r.....03:26
acusterah, I was using .. wrong03:27
acusterthanks03:28
GaryvdMPleasure03:28
=== bwinton [n=bwinton@mail.phantomfiber.com] has joined #bzr
=== keir [n=keir@206-248-159-250.dsl.teksavvy.com] has joined #bzr
=== jezdez_ [n=jezdez@pD951163D.dip0.t-ipconnect.de] has joined #bzr
jezdez_hi03:46
jezdez_I'm trying to checkout a svn repository with bzr-svn from a google code hosting project. I know that I need to use ``bzr co svn+https://..``, though I don't get asked for the password. any ideas?03:50
=== mthaddon [n=mthaddon@canonical/launchpad/mthaddon] has joined #bzr
ubotuNew bug: #148964 in bzr "bzr update only reports one conflict" [Undecided,New]  https://launchpad.net/bugs/14896403:56
=== kiko [n=kiko@canonical/launchpad/pdpc.supporter.active.kiko] has left #bzr ["Left]
=== acuster is totally confused by branches vs checkouts
acustercan we branch just a single directory?03:59
mwhudsonah! subversion has poisoned your brain i see!03:59
acustercan I run bzr branch from above the hierarchy?04:00
acusterperhaps.04:00
mwhudsonmore seriously: no, bazaar versions branches and treats them more or less indivisibly04:00
acusterand all branches use essentially the same amount of space?04:00
acusterwhat's the difference then with a cp -R ?04:01
mwhudsoni lack enough context to answer sensibly04:02
acustersay I want a master branch that stays in sync with svn and then lots of 'branch|checkout|trees' to work on individual aspects of the code (cleanup, featureA, featureB...)04:02
mwhudsonacuster: are you familiar with shared repositories?04:02
=== acuster lacks enough context ... :-)
acusterI've worked with cvs and svn for a number of years04:03
acusterwithout using branches as much as possible04:03
acusterfor reasons well understood by all04:03
mwhudsonok04:04
mwhudsonso there are two things that can occupy space04:04
acusterI would like one local branch to be a clean copy of svn with merges to it immediately followed by pushes to svn04:04
acusterand then I want to work in lots of other 'spaces'04:04
mwhudsonthe historical data, i.e. all the revisions04:04
mwhudsonand the working trees04:04
mwhudsona shared repository lets you store all the historical data in once place for several branches04:05
acusterhistory = .bzr and tree = the code hierarchy?04:05
mwhudsonmore or less04:05
mwhudsonhistory = .bzr/repository04:05
mwhudsonthere is some other stuff in there too04:06
acusterok04:06
ubotuNew bug: #148969 in bzr "conflict status flag missing in `bzr update` output" [Undecided,New]  https://launchpad.net/bugs/14896904:06
acusterso I need to learn how to use 'shared repositories'?04:06
mwhudsonif you're worried about historical data filling up your hard drive, yes04:06
acustershared repos can have non linear histories, right?04:07
mwhudsonsure04:07
mwhudsona repo isn't very interesting, really04:07
mwhudsonit's just a database in some sense, a stack of revisions04:07
acustera stack or a tree?04:07
mwhudsonwell04:07
mwhudsonhaving a revision implies also having its parents04:08
mwhudsonbut a repository by it self has no more structure than that04:08
acusterso the master branch is the 'shared repositiory' and then I create slave branches off of that for each project?04:09
acusterand i can commit/revert on the slaves until ready to merge back to the master?04:09
acusterif so, what are the 'slaves' called? checkouts, branches, ...?04:09
mwhudsonum04:09
LeoNerdThere are no slaves or masters in bzr; all are created equal04:10
acusterall *what* is the question04:10
LeoNerd((quite like SATA I guess :) ))04:10
acusterdo I need n branches?04:10
acusterif so, is making n branches with bzr branch exactly the same thing as making n branches with cp -R ?04:11
mwhudsonacuster: branches04:11
acusterthe web site talks about 'working trees' without giving examples or saying how to create them04:12
LeoNerdA working tree is the checkout.. the place you work in04:12
LeoNerdbzr checkout http://foo/bar...     <== now I have a working tree04:12
mwhudsonacuster: sorry, i'm too occupied to really do a good job of explaining ...04:12
mwhudsonhopefully LeoNerd can do better :)04:12
acustermwhudson, thanks04:13
LeoNerdThe working tree is the tree, where you work. (kinda obvious that bit :) )04:13
acusterLeoNerd, backup a second04:13
acusterwe start with an svn server on the net http://svn...04:13
LeoNerdOK.. I know as little as possible about svn...04:13
acusteri want a local copy of that and want to be very careful about pushes/pulls to that svn server04:14
acusterso i have started with bzr branch http://svn...04:14
acusterokay?04:14
GaryvdMok04:14
acusterso I have .../trunk/.bzr and ../trunk/gt etc04:14
GaryvdMok04:14
acusternow I would like to create some spaces to do some work04:14
acusterand then when I am done in one of those spaces04:15
acustermerge that work to the first branch04:15
acusterthen push from that branch back onto the net04:15
LeoNerdRight...04:15
acusterso I want,say, 4 local spaces to work04:15
LeoNerdSo that's just bzr branch  and  bzr push04:15
acusterwhat are those? checkouts, branches?04:15
LeoNerd(and maybe merge  if the history has changed)04:15
GaryvdM4 branches04:16
acusterokay, thanks04:16
LeoNerdExplain more clealry04:16
acusterso, a final question,04:16
LeoNerdThese "local spaces".. do they contain the actual files, that you might edit in e.g. vim?04:16
acusterif a branch has all the info it needs,04:16
acusterwhat's the difference between bzr branch localdir1 localdir204:16
acusterand cp -R localdir1 localdir2 ?04:16
LeoNerdNot much04:17
acustersince both will have .bzr and all the files04:17
LeoNerdJust 'bzr branch' copies only the .bzr data.04:17
LeoNerdcp -R will copy every file on the filesystem, regardless of whether it's bzr branch history or not.04:17
LeoNerdcp -R will also copy locally-modified changes in a checkout, if there is on04:17
LeoNerdbzr branch will not copy a checkout at all04:17
LeoNerd'bzr branch' is, however, moreorless equivalent of cp -R on just the .bzr directory inside that.04:18
acusterah, so bzr branch is like cp but only for versioned info?04:18
LeoNerdBasically, yes.04:18
LeoNerd(and of course works over other transports like http and sftp and so on)04:18
acusterdoes bzr branch have all the same history?04:18
acusterforget that04:18
GaryvdMyes04:18
acusterall branches are equal04:18
LeoNerdYes. The two histories will be identical after a 'bzr branch'04:18
acusterso checkouts are to let you live in svn hell even after moving to bzr?04:19
acusterthanks you all04:19
GaryvdM????04:20
=== fullermd wouldn't phrase it that way...
=== acuster goes off to create lots of branches, dimmly lit, all alike
GaryvdMacuster: please can I try explain somthing to you04:20
acustersure04:20
LeoNerdacuster: Be careful not to be eaten by a Grue04:21
acusterI wondered if the reference would work... :-)04:21
GaryvdMA branch contains a repo and a working tree (wt04:21
GaryvdMrepo contains the state of the tree at each version04:22
GaryvdMthe working tree is a place to do your work04:22
GaryvdMYou can create a shared repo04:23
GaryvdMAnd put branches inside the shared repo04:23
acuster(my branch is 954MB, hence my hope I could work without n copies of the same thing)04:23
GaryvdMBut the shared repo only has a repo - no working tree04:24
GaryvdMHence it is not a branch its' self04:24
GaryvdMBut the branches that you put inside the shared repo will share there revision history, and hence save space and time.04:25
GaryvdMMake sense?04:25
acustersort of04:25
acusterhow do you go about making a shared repo, starting from a branch?04:26
GaryvdMok04:26
acusterhow do you go about making a shared repo, starting from a branch, and then making n branches04:26
mwhudsonbzr init-repo .04:26
GaryvdMlets say you have projectfoo/trunk is your branch04:26
mwhudsonthough with bzr-svn it should be04:27
mwhudsonbzr init-repo --dirtstate-with-subtree . i think04:27
GaryvdMren projectfoo projectfoo-temp04:27
GaryvdMbzr init-repo projectfoo04:27
GaryvdMcd projectfoo04:27
GaryvdMbzr branch ../projectfootemp/trunk04:28
GaryvdMcd ..04:28
GaryvdMrd projectfoo04:28
acusterren?04:28
GaryvdMrename - sorry i'm a windows user04:28
acusterrename just changes the name?04:29
GaryvdMYes04:29
GaryvdMbranches can just be rename on the filesystem04:29
GaryvdMs/rename/renamed04:30
acusterdid you forget some chdir in there?04:30
acusterls = projectfoo/trunk04:30
acustermv projectfoo projectbar04:31
acustercd projectbar04:31
GaryvdMno04:31
acusterbzr init-repo trunk04:31
acustererrr04:31
GaryvdMYou need to move the existing branch out the way to a temp place04:31
acusterokay, thanks for your help. I'll try to walk through that slowly and make sense of it04:31
GaryvdMThen create the the shared repo04:32
GaryvdMthen branch into the shared repo04:32
GaryvdMthen delete the old temp branch04:32
=== NamNguyen [n=namnt@cm38.delta196.maxonline.com.sg] has joined #bzr
acusterso then i have the same branch I had originally except now it is a shared repo as well?04:33
=== GaryvdM thinks bzr needs a builtin way to do this
GaryvdMyes04:33
acusterwhich allows one to do what that we could not do before?04:33
mwhudsonit is _in_ a shared repo, or it _uses_ a shared repo04:33
GaryvdMSave disk space04:33
mwhudsonGaryvdM: you can create the repo in the directory that your branch is in04:34
mwhudsonbranch it into another location in the repo (to copy the revisions into the repo)04:34
mwhudsonthen delete trunk/.bzr/repository04:35
acusterbecause then each branch below that shared repo will be a full copy of the code files but a virtual copy of the repo info?04:35
GaryvdMyes04:35
acusteryes to me or to mwh?04:35
GaryvdMmwhudson: Yhea, but still requires a branch to move the repo to the shared repo04:35
mwhudsonyes04:36
GaryvdMyes to acuster04:36
mwhudsonit's hacky, but it works :)04:36
acusterokay, thanks you all. Will go off and try to sort this out04:36
GaryvdMCool!04:36
jezdez_sorry to ask again, but has somebody experience in using bzr with google code hosting via bzr-svn?04:37
mwhudsonjezdez_: i have not, but i don't think google code hosting does anything very exciting04:38
mwhudson(apart from be not very reliable)04:38
jezdez_mwhudson: indeed, unfortuneately I actually have no choice and want to use bzr for my changes04:39
mwhudsonso what are you trying, what happens, and how does that differ from what you'd like to happen?04:40
=== acuster finally finds the page he need to read at the start. Thanks again for your help mwhudson, LeoNerd and GaryvdM
GaryvdMIt's a pleasure04:45
acusterGaryvdM,  http://bazaar-vcs.org/SharedRepositoryTutorial talks about a --trees flag, has this been made the default?05:03
=== bitmonk [n=justizin@adsl-76-212-10-56.dsl.pltn13.sbcglobal.net] has joined #bzr
fullermdYes, a couple versions ago.05:06
acusteraha. if a branch is made without trees, one can do a checkout from that branch to get a tree?05:09
LeoNerdIndeed05:09
LeoNerdAny point on any branch may be checked out, to obtain a working tree05:10
jelmerGaryvdM: hi, still there?05:10
acusterpoint == revision?05:11
=== beuno_ [n=beuno@44-111-231-201.fibertel.com.ar] has joined #bzr
acusterand a checkout can be somewhere else entirely on the filesystem?05:12
LeoNerdSure.05:12
acusterthis all seems quite lovely05:12
LeoNerdA "branch" is just a branch05:12
LeoNerdA "checkout" is usually a directory that contains a branch _and_ a working tree05:13
acusterthere's a totally useless statement05:13
acusterright05:13
LeoNerdBut you can also, if you want, make a "lightweight" checkout, which contains just the working tree, and references some branch stored elsewhere05:13
acusterthe branch vs tree thing was hard to see05:13
acusterso what I want is a repo of branches and then a lightweight tree elsewhere on the system05:14
acusterbzr can generate a tree just from the info in the .bzr dir?05:14
fullermdGlarble.05:15
=== fullermd stabbies ambiguous 'checkout' descriptions.
=== jml [n=jml@ppp121-44-215-97.lns1.hba1.internode.on.net] has joined #bzr
=== schierbeck [n=daniel@dasch.egmont-kol.dk] has joined #bzr
=== hsn_ [n=chatzill@234.114.broadband5.iol.cz] has joined #bzr
=== p4tux [n=p4tux@189.169.95.23] has joined #bzr
=== marianom [n=marianom@ubuntu/member/marianom] has joined #bzr
acusterfinally bitten by the day's original bug.05:21
=== poolfool [n=poolfool@techsat21.itnes.com] has joined #bzr
GaryvdMHi jelmer05:24
jelmerGaryvdM: just marked some of your merge requests as approved by you, if you wonder what those emails are sent on your behalf :-)05:26
=== orospakr [n=orospakr@132.213.238.4] has joined #bzr
GaryvdMjelmer: I'm not sure what mails your talking about05:29
=== Demitar [n=demitar@c-212-031-182-147.cust.broadway.se] has joined #bzr
jelmerGaryvdM: see the recent few mails to the bzr-gtk mailing list05:30
GaryvdMOk - now I see them in the archive05:30
GaryvdM:-) not sent to my mail05:30
=== cprov is now known as cprov-lunch
=== vila [n=vila@lec67-4-82-230-53-244.fbx.proxad.net] has joined #bzr
=== ollie_r [n=orutherf@dsl092-164-022.wdc2.dsl.speakeasy.net] has joined #bzr
poolfoolHas anyone attempted to modify the index.tmpl for the bazaar-hgweb (3rd party) plugin? I don't think it works how the instructions describe it.05:49
=== Alien_Freak [n=sfaci2@adsl-69-209-192-74.dsl.chcgil.ameritech.net] has joined #bzr
=== bwinton [n=bwinton@mail.phantomfiber.com] has left #bzr []
=== beuno [n=beuno@44-111-231-201.fibertel.com.ar] has joined #bzr
Alien_Freaknew at bzr, looking for a getting started guide/howto.... also, any info on importing svn into bzr?06:07
PengAlien_Freak: There's lots on http://bazaar-vcs.org/ .06:08
PengAlien_Freak: There's also information on conversion.06:08
Alien_Freakokay.. thanks06:09
PengSorry, I'd give you a link, but I don't exactly have a web browser open at the moment.06:09
james_wAlien_Freak: doc.bazaar-vcs.org/bzr.dev/06:12
james_wthere is a quickstart tutorial on there.06:12
PengThat too.06:12
Alien_Freakok.. ty06:12
GaryvdMjelmer: When you say test, did you mean unit test?06:14
=== NamNguyen [n=NamNguye@cm38.delta196.maxonline.com.sg] has joined #bzr
=== BasicOSX [n=BasicOSX@216-250-187-201.static.iphouse.net] has joined #bzr
jelmerGaryvdM: yes06:17
GaryvdMPlease could you give me some pointers06:17
GaryvdMTo test it you would you not need a server setup?06:18
jelmerGaryvdM: yes, but bzr's testsuite already does that06:18
GaryvdMa filezilla server?06:19
jelmerGaryvdM: at least some bits appear to be in bzrlib/tests/test_ftp_transport.py06:19
jelmerno, but it should be customizable - iirc it's a mock ftp server, but I may be wrong06:19
GaryvdMOh - ok06:20
jelmerif that is not the case, you should be able to test that _translate_perm_error() returns the right exception when it gets that error that filezilla returns06:20
jezdez_mwhudson: so, sorry for this delay, the kids needed to have dinner :)06:30
mwhudsonjezdez_: luckily jelmer seems to be around now and he's much more qualified than me to answer06:30
mwhudson:)06:30
jezdez_mwhudson: ah great06:31
ubotuNew bug: #149019 in bzr "locations.conf error message has bad line count" [Undecided,New]  https://launchpad.net/bugs/14901906:31
jezdez_jelmer: I'm trying to checkout a google hosted project with bzr-svn06:31
jelmerjezdez_: what error are you getting?06:32
jezdez_jelmer: bzr: ERROR: Permission denied: ".": PROPFIND request failed on '/svn/trunk'06:32
jelmerjezdez_: please try prefixing the url you are trying to check out with svn+06:33
jelmerjezdez_: google gives permission denied errors rather than "no such file error"s for some reason06:33
jezdez_jelmer: I tried "bzr checkout svn+https://USERNAME@PROJECTNAME.googlecode.com/svn/trunk/"06:33
jezdez_jelmer: google advices to use something like this in a normal svn environment: "svn checkout https://PROJECTNAME.googlecode.com/svn/trunk/ --username USERNAME"06:34
jezdez_for a non-anonymous checkout06:35
jelmerjezdez_: have you tried running something like 'svn ls https://PROJECTNAME.googlecode.com/svn/trunk/ --username USERNAME' ?06:36
jezdez_jelmer: yes, works as it should, listing file in the trunk directory06:37
jelmerhmm, in that case the checkout using bzr should also work now06:38
jezdez_jelmer: huh, you are right.. now it works. it seems to cache the username input..06:39
jelmeryeah, password prompting isn't done by bzr-svn at the moment (yet) :-/06:40
jelmerhowever, it can use the native svn cache06:40
jezdez_jelmer: ah, ok.. thanks for putting up this kind of wrapper anyway :) I was looking for such a workaround06:41
poolfoolWhat are people using to publish a web view of their bzr 'shared repo'; ie something like ViewVC?06:43
jelmerpoolfool: loggerhead mostly06:43
jelmerjezdez_: No worries, hopefully we'll get the prompting in by the next release...06:43
jelmerpoolfool: e.g. http://codebrowse.launchpad.net/~jelmer/bzr-svn/0.4/changes06:44
jezdez_jelmer: great to hear that, thanks for your help.06:44
poolfooljelmer: So the common answer is 'launchpad' you fool.  Ok, what about if I want to self host and not use turbogears?06:44
jelmerpoolfool: you can run loggerhead yourself06:45
poolfooljelmer: Errr ... not use launchpad?06:45
jelmerpoolfool: launchpad just uses it too06:45
james_wpoolfool: there is also bazaar-webserve06:46
poolfooljelmer: Thanks .... I have been a CVS guy for a while and I have a lot of the office using CVS. Our current setup is CVS-NT on a Linux server with tortuousCVS client and ViewVC for access. I am trying to find the same kind of setup.06:46
poolfooljames_w: what is the address for bazaar-webserve?06:47
mwhudsonpoolfool: what is your problem with loggerhead?06:48
james_whttp://goffredo-baroncelli.homelinux.net/bazaar06:48
poolfoolmwhudson: Actually nothing ... I am just getting into python and not sure I will be able to adapt loggerhead as I want. I know enough perl (shudder) to modify ViewVC to my liking.06:50
poolfoolmuwhudson: That and I am currently running apache ... doesn't loggerhead require cherrypy?06:51
poolfooljames_w: I have been looking at that a lot right now, found it under the 3rd party plug-ins page. But I am having a problem modifying the index.tpl(?) file as defined in the 'docs'. Changes are not showing up on the page?06:52
mwhudsonpoolfool: yes, sadly :/06:52
=== mwhudson maintains loggerhead these days and doesn't like cherrypy either
mwhudsonpoolfool: you can reverse proxy it though06:52
poolfoolmwhudson: I guess my ideal (ha ha) solution would be ViewVC support bzr as well.06:53
poolfoolmwhudson: ??? Do you mean redirect from apache to cherrypy?06:53
mwhudsongiven how different bzr and svn are in someways, i don't think viewvc _can_ support bzr sensibly06:54
mwhudson(imho)06:54
mwhudsonpoolfool: proxy internally, you know, the usual way you run a long running process behind apache?06:54
mwhudsonProxyPass and all that06:54
poolfoolmwhudson: I totaly agree, I actualy really like bazaar-webserve if 1) it supported cherrypy, 2) had a simpler template engine and 3) worked as the documentation described.06:55
jelmerhasn't bazaar-webserve pretty much been obsoleted by loggerhead? afaik it's not being maintained anymore, is it?06:55
poolfooljelmer: That is the answer I was looking for, the '.dev' branch has a few commits but it pretty much looks like it's toast. To Bad, it does a lot that loggerhead does not.06:56
james_wpoolfool: are you sure that it is picking up the templates that you think it is?06:56
james_wit has some strange logic to work out where to load the templates from.06:57
poolfooljames_w: After reading the instructions more then once (or twice), I hope so. I started to leaf through the python code (not my first or second language) to make sure.06:57
LarstiQjelmer: it's still maintained.06:57
poolfooljames_w: The process I have tried is 1) install plugin to ~/.bazaar/plugin, 2) check that it works, 3) edit template at '~/.bazaar/plugin/bzrweb/templates/index.tmpl' and 4) cry because its not working?06:59
jelmerLarstiQ: by whom?06:59
poolfooljames_w: I have tried restarting '#bzr webserve ..... ' multiple times07:00
mwhudsoni promise you loggerhead is more actively maintained, because i'm paid to do it :-)07:00
LarstiQjelmer: well, unless Goffredo stopped maintaining it in the period I stopped paying attention to computers..07:00
LarstiQmwhudson: that is certainly true07:00
mwhudsonwhat does bzr-webserve do that loggerhead does not?07:01
jelmerit doesn't use turbogears I think :-)07:01
poolfoolmwhudson: Well thank you ... it is a great piece of code ... but it's more of a large hammer, that requires (I think) cherrypy.07:02
poolfoolmwhudson: All of that said, Loggerhead is probably my next solution .... so I might ask you a few quesitons.07:02
mwhudsonjelmer: i hope loggerhead won't for too much longer either, i think07:03
poolfoolOne of the really nice things about bzr-webserve (I think) it that it doesn't have outside dependencies (cherrypy), you can fire up a web server for 1) local branches and 2) remote branches.07:04
poolfoolI just tried it out yesterday and followed /doc/'readme.html' ; but my big heart burn is it's (IMHO) ugly template language and fact that I can't modify index.tmpl.07:05
=== jkakar_ [n=jkakar@204-174-36-45.dhcp802.dsl.ucc-net.ca] has joined #bzr
james_wpoolfool: is there a directory named 'templates' in the cwd?07:06
james_walso what method are you using to run it?07:06
poolfooljames_w: No, I have been editing ~/.bazaar/plugins/bzrweb/templates07:07
=== Demitar [n=demitar@c-212-031-182-147.cust.broadway.se] has joined #bzr
poolfooljames_w: I am following the instrucitons from the 'readme.txt'; here is what I am doing http://pastebin.com/m52eb144c07:12
poolfooljames_w: Then I edit the template ('~/.bazaar/plugins/bzrweb/templates/index.tmpl') and ... nothing?07:13
poolfooljames_w: As a matter of fact the template has a heading level 1 <h1> that doesn't even show up ... so now I am not even sure it uses these templates.07:14
james_wright so if in the directory in which you run 'bzr webserve' you have a directory named 'templates' it will use what it finds in there.07:17
james_wif not then it will use '~/.bazaar/plugins/bzrweb/templates'07:18
poolfooljames_w: Ok, I follow you ... but I don't think I am doing anyting wrong. I don't have 'templates' in the cwd or in the branch folder?07:24
poolfooljames_w: So ... it should use the copy from '~/.bazaar/plugins/bzrweb/templates'?07:25
=== cprov-lunch is now known as cprov
james_wpoolfool: I think so.07:26
james_wyou could try renaming the index.tmpl and see if it complains.07:26
poolfooljames_w : Well, here is something else in the documentation http://pastebin.com/m59611c13 ; I think I will try 1) creating a 'templates' at cwd, 2) copy from default and 3) modifying index.tmpl07:29
poolfooljames_w: Still no joy. I also tried 1) modifying index.tmpl and 2) '#bzr webserve --port=9099 "fool site" --templates ./templates ./test_repo'; Still no joy.07:34
poolfoolLarstiQ: Do you have Godffredo's email address handy or is '@inwind.it" the best for now?07:37
poolfoolmwhudson: Is loggerhead moving away from turbo gears?07:39
mwhudsonpoolfool: i'm thinking about ti07:40
mwhudsonit07:40
mwhudsonit brings some disadvantages and few advantages for an app like loggerhead07:40
=== Vernius_ [n=tomger@p508AFABC.dip.t-dialin.net] has joined #bzr
poolfoolmwhudson: Could you elaborate, or do you have a blog? Who pays you to work on loggerhead?07:41
mwhudsonpoolfool: i work for canonical07:42
=== AnMaster_ [n=AnMaster@unaffiliated/anmaster] has joined #bzr
=== AnMaster_ is now known as AnMaster
poolfoolmwhudson: Oohhh Michael Hudson. Well, I really do like loggerhead ... just might not be what I need right now. Thank you for your hard work ... bzr, loggerhead, ubuntu ... good stuff.07:45
abadger1999mwhudson: oh? What are the advantages and disadvantages?07:52
=== abadger1999 packages bzr and works on TG apps so you've got my spider sense tingling ;-)
mwhudsonabadger1999: well, the problems are mostly: cherrypy07:54
mwhudsonit mangles urls in unhelpful and irrevocable ways07:54
mwhudsonand does really odd things if there's an exception during url traversal07:54
=== bac is now known as bac_afk
mwhudsonthe benefits of TG are that it works and the pieces fit together nicely07:55
PengPylons? Django?07:55
Alien_Freakhow do I fork off a branch in bzr?  ie,  i need to maintain a main repo, and have a secondary repo sync up to main repository07:55
mwhudsonPeng: all overkill for the need at hand, really07:55
PengI don't think hgweb uses anything. It's completely custom.07:55
mwhudsoni'm tempted to redo it as SimpleHTTPServer with genshi templates07:55
mwhudson(it uses kid right now, which is another thing i dislike quite a lot)07:56
abadger1999Yeah -- we've found some of those things too.  One of our other devs is hosting a TG2 sprint to work on addressing some of those things as well.07:56
mwhudsonabadger1999: cherrypy 3 looks a _lot_ better from what i can tell07:56
mwhudsonshame that it's one of the few un-pluggable parts of TG1 :)07:57
=== mwhudson afk for a bit
poolfoolmwhudson: bzr-webserve (hgweb) uses the built in python http object and extends it ... but I just don't get it.07:57
abadger1999TG2 is moving to pylons rather than cherrypy3, though.07:57
poolfoolmwhudson: which would you take (if forced to) builting python http object or cherrypy 2 ?07:57
fullermdAlien_Freak: You probably mean 'branch' where you said 'repo'.  And the 'branch' command will do that.08:02
Alien_Freakdoes the branch have all the data that the main branch has?08:04
fullermdYah.08:05
poolfoolAlien_Freak: Um ... you are what I was about two weeks ago. Lots of good guys on IIRC here. Follow this old track between bignose and me http://pastebin.com/m32b3d22008:05
=== orospakr_ [n=orospakr@132.213.238.4] has joined #bzr
Alien_Freakthanks for link poolfool08:07
GaryvdMI pulled the latest bzr.dev08:08
GaryvdMWhen I bzr commit - it's saying that every file in the branch is modified08:09
GaryvdMSo I did a bzr uncommit, and then a bzr status, and it correctly shows the changed files.08:09
GaryvdMAnd then did a bzr commit again , and again it say that every file is modified.08:10
GaryvdMShould I be worried about this?08:10
jelmerGaryvdM: what does the diff for the committed revision say?08:12
james_wGaryvdM: is it permissions or line-endings?08:15
GaryvdMAh - I'm not sure what I have done with this tree now08:16
GaryvdMLet me start again08:16
GaryvdMOk - first of all, when I commit there is an error (I did not notice this the first time)08:18
GaryvdMTraceback here: http://pastebin.com/m38f7316608:19
GaryvdMIn the diff for the commited revision, there are files with properties changed.08:21
GaryvdMIs that permissions james_w?08:22
GaryvdMI guess I should send this to the mailing list?08:22
fullermd"properties changed" probably means +x (well, or -x)08:24
james_wGaryvdM: I would report that traceback as a bug.08:27
GaryvdMOk08:27
=== orospakr [n=orospakr@132.213.238.4] has joined #bzr
=== fog [n=fog@debian/developer/fog] has joined #bzr
=== jamesh [n=james@canonical/launchpad/jamesh] has joined #bzr
=== bac [n=bac@canonical/launchpad/bac] has joined #bzr
=== thumper [n=tim@125-236-193-95.adsl.xtra.co.nz] has joined #bzr
=== schierbeck [n=daniel@dasch.egmont-kol.dk] has joined #bzr
schierbeckhi guys08:59
=== BasicOSX [n=BasicOSX@216-250-187-201.static.iphouse.net] has joined #bzr
=== KenB_ [n=KenB@72.93.226.197] has joined #bzr
KenB_Anyone have a minute for a newbie Q?09:03
jelmer'evening schierbeck09:04
jelmerKenB_: sure09:04
schierbeckhi jelmer09:04
schierbecki've got an interesting patch on the list :)09:05
KenB_Thx,  I'm trying to figure out how to see what has happened recently in a network repository.  If I do:09:05
KenB_bzr diff -r branch:sftp:\\blah\blah09:05
james_wit should probably be sftp://blah/blah09:06
GaryvdMschierbeck: Hi09:06
KenB_[branch colon // s]  not smiley09:06
KenB_I get all the diffs on all the files that have been changed, which is too much.  What I want is something like status but referring to the network repos.09:07
schierbeckhi GaryvdM09:08
james_wKenB_: bzr status -r branch:sftp://blah/blah ?09:08
=== BasicOSX [n=BasicOSX@216-250-187-201.static.iphouse.net] has joined #bzr
KenB_I tried that, but got an error - I send the error msg to bazaar@lists.ubuntu.com as requested.09:10
james_wKenB_: do you have lsdiff installed?09:11
KenB_I was thinking that perhaps bzr status -r submit: might work, but apparently submit: is only for diff09:11
james_wor diffstat.09:12
james_wif you have then doing 'bzr diff -r branch:... | lsdiff' or diffstat should tell you what files changed.09:12
KenB_james_w - no, are those plug-ins?09:12
james_wthey are external to bzr.09:12
jelmerlifeless: so, looks like I'll end up working on bzr-git...09:13
james_wthey are just normal command line tools.09:13
KenB_Oh, I get it.  yes, that might help a lot.09:13
james_wjelmer: as samba is going to use git?09:13
jelmerjames_w: well, we'll be using git "on probation" for the next month or so09:30
jelmerbut I really don't expect us to go back09:30
=== KenB_ [n=KenB@72.93.226.197] has left #bzr []
ubotuNew bug: #149113 in bzr "KeyError: None when commiting" [Undecided,New]  https://launchpad.net/bugs/14911309:40
=== sabdfl [i=sabdfl@ubuntu/member/pdpc.silver.sabdfl] has left #bzr []
=== orospakr [n=orospakr@132.213.238.4] has joined #bzr
=== mw is now known as mw|lunch
=== cypherbios [n=cyr@ubuntu/member/cypherbios] has joined #bzr
=== hunmonk [n=hunmonk@drupal.org/user/22079/view] has joined #bzr
hunmonkquestion: does bzr use any kind of database to stored it's stuff?10:44
hunmonkif not, what format are the .knit files?10:44
james_wthey are a custom format.10:45
hunmonkbut not db driven?10:48
james_wno10:48
=== nir_ [n=nir@moinmoin/fan/nir] has joined #bzr
lifelessjelmer: samba ?11:06
=== tchan [n=tchan@lunar-linux/developer/tchan] has joined #bzr
jelmerlifeless: yes11:16
lifelessoh man11:18
lifelessthats pretty disappointing11:18
jelmeryeah :-/ performance and git-style repositories being the main reasons11:20
LeoNerdDefine "database"11:20
lifelesswhat, all-branches-in-one-dir ?11:20
LeoNerdI could argue that the .knit files are a form of database.11:20
lifelessLeoNerd: they are11:20
LeoNerdThey store data11:20
=== mwhudson [n=mwh@62-31-157-102.cable.ubr01.azte.blueyonder.co.uk] has joined #bzr
jelmerlifeless: yes11:21
fullermdWell.  My phone list (managed with vi and grep, the way $DEITY intended) is a form of database...11:21
lifelessLeoNerd: actually, knits are more analogous to tables in a db11:21
LeoNerdIn such a DB that has tables...11:21
lifelessLeoNerd: we do :)11:21
LeoNerdI mean.. an LDAP directory is a database.. That doesn't have tables..11:22
fullermdall-branches-in-one-dir has some handy properties...11:24
jelmerespecially for compiled projects11:24
lifelessjelmer: switch ?11:26
=== mw|lunch is now known as mw
jelmerlifeless: doesn't work for non-lightweight branches afaik and still requires you to have a branch directory somewhere11:27
lifelesswell, its a small patch to make it work, if its important, and I hadn't heard muttering11:28
lifelessand yes, its true you need a branch dir, but it can be ../a and ../b11:28
jelmerlifeless: It's not just being able to switch, also the fact that a repository (and all branches in it) can be copied easily, etc11:28
=== marianom [n=marianom@ubuntu/member/marianom] has left #bzr []
jelmeralso, I'm just reporting what argumentation I heard, not necessarily what I'm missing in bzr myself (never really having using git)11:29
lifelesssure11:30
lifelessnot meaning to shoot the messenger11:30
lifelessjust trying to say that with closer dialogue these could have been addressed11:30
fullermdThat's a handy thing on a large project.  I _like_ knowing my one step of cvsup'ing the FreeBSD repo gives me all the branches, and I don't need to care about them individually.11:30
lifelesshaving different ideas doesn't mean we want to be difficult to use for some projects11:30
jelmerlifeless: I know, but that still leaves a couple of other issues open (such as performance)11:32
=== hunmonk [n=hunmonk@drupal.org/user/22079/view] has left #bzr []
lifelessis this a done deal for samba?11:33
lifelessor is there time to show the packs branch and the hpss streaming-fetch stuff?11:33
jelmerlifeless: for the time being, I think so - unless we'll hit problems within the next month or so11:34
lifelesswell11:34
lifelesstheres an insane git fanboyness happening at the moment11:34
jelmerthere are still a couple of bzr fans within the team11:35
lifelessok11:35
lifelessso what can we do?11:35
jelmerbut at the moment, we can't do much else but admit migration to git is a better choice /at the moment/11:36
lifelessI see11:36
jelmerlifeless: *PERFORMANCE*, git-style repositories, parallel imports, nested trees11:37
jelmer(git has submodules now, which we may very well use)11:38
lifelessyes11:38
lifelessthey seem to have done roughly our design for that11:38
lifelessintegrated in the core, rather than a forest style thing built on top11:38
lifelessjelmer: have you tried out packs yet?11:39
jelmerlifeless: yes! They're a big improvement11:39
jelmerI mention parallel imports because different imports from svn and cvs not having the same revids hurt us while we were using bzr - one of the big advantages of git mentioned11:42
lifelesswell11:42
lifelessyou can always assign ids using the git algorithm11:42
jelmerdoesn't that break referential integrity because it doesn't use any parent ids?11:43
lifelesshuh?11:44
lifelessbzr's model allows commit builder to return the id11:44
lifelessthis is put in for bzr-svn/bzr-hg etc11:44
=== niemeyer_ [n=niemeyer@200-138-54-64.ctame705.dsl.brasiltelecom.net.br] has joined #bzr
jelmeryes, but you can't use the git algorithm there without problems, can you?11:44
lifelesswhat problems?11:45
jelmerI mean, since the git algorithm is purely content-based, it doesn't include parent ids and can those generate the same revid for two revisions with the same contents but different parent ids11:45
lifelessif you have all of history guaranteed, you can do that11:45
lifelesswhat do you mean by parent ids?11:45
lifelessdo you mean file ids?11:46
lifelessor the ids of the parents of the commit?11:46
jelmerthe revids of the parent revisions of the revision you're committing11:46
lifelessthe git algorithm hashes though in the revision object's serialised form11:46
jelmerah11:47
jelmersorry, I misunderstood then11:48
lifelessyou can't do this inside bzr's native serialisation format because to insert into the knit you need the revid, but if you leave the index pointers out11:48
lifelessand instead hash tree of the user supplied data alone, e.g. a bzr testament, then you can arrive at a hashed, including parent ids, content summary and use that for your revid11:48
lifelessthen you batch insert all the data11:49
lifelessand it will work fine11:49
lifelessabentley: ping11:49
=== Gwaihir [n=Gwaihir@ubuntu/member/gwaihir] has joined #bzr
=== cprov is now known as cprov-out
lifelessjelmer: so packs help; do they help enough ?11:59

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