/srv/irclogs.ubuntu.com/2008/06/16/#bzr.txt

igcmore info later00:00
lifelessigc: thank you!00:00
igcbbl - few errands to run00:00
bpetersonare there plans to add svnmerge.py-like merge blocking to Bazaar?00:03
lifeless'merge blocking' ?00:03
pooliespiv_: are you coming down to the vibe too?00:03
bpetersonsort of like bzr merge --record-only00:04
bpetersonjust a little nicer00:04
lifelesswhat would it do differently00:04
bpetersonI'd like to be able to run bzr block [revision] and bzr unblock [revision]00:05
beunolifeless, you rock, open_index_branch solved all my problems00:06
beunopushing a more usable branch now  :)00:06
lifelessthats fantastic00:07
lifelessJc2k: have you chatted with beuno about what you wanted for loggerhead @ gnome ?00:07
Jc2klifeless: not00:11
beunoJc2k, feel free to whenever you want00:12
Jc2kythx beuno, neet a while to come round..00:12
beunolifeless, pushed LH + search changes. It now needs code to index the branches and do something reasonable if it hasn't been indexed yet00:13
lifelessI would reverse the order there :P00:13
lifelessbeuno: e.g. do something reasonable is first thing00:14
beunomwhudson, now that I got this off my mind, I'm going to start removing revision caches, unless you think there is something else on the top of the list00:14
lifelessbbiab, -> train00:14
beunolifeless, right, seems reasonable  :p00:14
mwhudsonbeuno: no, that seems like a good thing to do00:17
=== rockstar_ is now known as rockstar
=== W_ is now known as _W_
jelmer'evening01:09
mwhudsonhi jelmer01:13
beunomwhudson, lp:~beuno/loggerhead/remove_caches01:36
beunoI think I covered everything01:36
beunoremoved revision and full text caches01:36
beunojust left the files changes one01:36
beunowould you like me to send that in as a patch to the list?01:36
beunoI'm going to go back to the clean url branch and tweak a few places where it still uses revids01:37
Noiaif I want to run bzr update without CD-ing into the directory, how would I do that?02:26
Peng"bzr update some/directory"?02:28
Noiahmm, cool02:30
thumperwhere is the official 1.4 branch?04:00
* thumper can't find it04:00
PengBazaar 1.4?04:17
Penghttp://bazaar-vcs.org/bzr/04:17
* Peng wanders off.04:17
thumperPeng: ofcourse, thanks04:39
thumperI was looking on LP04:39
pooliethumper: really 1.4?04:44
poolieback btw04:44
thumperpoolie: I'm looking for the version where pqm stopped working04:44
poolieand did you find it?04:49
poolieuh it's not there04:49
pooliei'll register it04:49
pooliehey the lp ui for this is now pretty understandable :)04:49
pooliedone04:49
pooliethumper: interesting, someone still using bzr 0.90 (which is pretty old) got confused in trying to use an lp: url to push to launchpad04:51
thumperpoolie: yeah, saw it04:52
thumperpoolie: somewhere between 1.4 and 1.5 the function that pqm uses in its tests was removed04:53
spiv_thumper: which function?04:56
thumperspiv: https://bugs.edge.launchpad.net/pqm/+bug/24028804:56
ubottuLaunchpad bug 240288 in pqm "PQM tests do not support bzr 1.6" [Undecided,New]04:56
thumpercannot import name smart_add_tree04:56
jameshthumper: you probably want tree.add()04:56
jameshor tree.smart_add(), actually04:57
thumperare we going to kill support for older bzr versions by changing to that?04:58
thumperand do we care?04:58
jameshthey can use old versions of PQM, right? :)04:59
spiv_What jamesh said.05:00
=== spiv_ is now known as spiv
spivthumper: pre 1.0 versions I'd expect05:02
spivthumper: MutableTree.smart_add has been present since at least 0.18rc105:02
thumperok05:03
thumperI'll look to fix this then :)05:03
thumperalthough perhaps tonight05:04
lifelessbeuno: so how does it perform sans cache?05:09
igchi guys05:09
igcpoolie: did you want a call today?05:10
beunolifeless, yeap, revision cache was only useful for old versions of bzr05:11
beunoit's very nice to bring up LH and now have it kill my CPU until it caches all the revisions05:11
lifeless'not' ? :P05:12
beunoheh, yes, "not"05:12
beunoI finally bought a wireless router for my place, so I'm experimenting with new places to work05:12
beunohence my increased typos  :)05:13
lifelessnice05:13
beunoas for caches, the only remaining one is one for files changed, which only gets filled when needed05:13
beunothe difference between having it and not is still too big05:14
lifelessk05:14
lifelesslunch apparently, bbiab05:14
igcpoolie: am I right to merge the rules-based preferences stuff or do you want to wait until after stacked branches and VFs land?05:46
thumperigc: is that abentley's stuff?05:58
igcthumper: no, part of my work on end of line support05:59
thumperigc: ah, ok05:59
thumperigc: how are the stacked reviews going?05:59
igcthumper: I did a round of them last week and poolie/jam/others have been reviewing my reviews06:01
thumper:)06:01
thumperquite a lot of lines as I understand it06:01
igcyeah - and the VersionedFiles stuff is another 17k worth of patch06:01
igcmany deletions in there though (which is good of course)06:02
* thumper nods06:02
lifelessback06:20
=== i386_ is now known as i386
lifelessmore trains...07:02
bob2from chatswood?07:07
PengCanonical needs to start supplying teleporters.07:14
thumperPeng: that would be handy07:38
PengBazaar t-shirts are nice, but teleporters would be *awesome*.07:39
igcnight all07:58
spivigc: g'night07:59
lifelessbob2: milsons point09:12
* Jc2k vaguely remembers IRC at sleepy o clock09:13
Jc2kbueno: my main interest is theming loggerhead so that it has the GNOME look you can see at http://bzr-mirror.gnome.org/09:14
Jc2klifeless: would you always suggest bzr smart server over vanilla HTTP if its possible?09:15
Jc2ki havent enabled it for bzr-mirror.gnome.org yet09:15
beunoJc2k, that should be easy enough. Have you set it up yet?09:16
lifelessI would hold off09:17
lifelessmore in a bit, I have to run09:17
Jc2kbeuno: i've not yet, i've been scared off by earlier mention of its dependencies09:17
beunoJc2k, we're trimming them pretty quickly, and I'd expect a lot of improvements to go into it in the following weeks09:19
Jc2kawesome :)09:19
beunocurrently, IIRC, it's turbogears, python-sqlite and simpletal09:19
Jc2kthats not so bad09:19
beunonah, we just want to make it better  :)09:19
Jc2k:)09:20
beunoanyway, I'll be happy to help out with getting it running and theming it properly09:20
beunoso let me know when you take the plunge09:20
Jc2ki'm readying a big bzr-mirror.g.o push09:20
Jc2kso soon :)09:21
beunocool, I'm usually around, so just give me a ping09:22
Jc2kbeuno: where do the  most recent instructions live :)09:26
beunoJc2k, hrm, they don't  :/09:27
beunoupdating the setup and README is on my ToDo list09:27
beunoI'll try and get that done tomorrow and bribe mwhudson into getting that intro trunk, or I'll post it on the bazaar wiki somewhere09:28
mwhudsonbeuno: are you up early or late? :)09:28
beunomwhudson, late. Aaaaaaaaaaalways late09:28
beuno(it's a holiday here tomorrow)09:29
mwhudsonbeuno: ah09:29
Jc2kbeuno: excellent, i wont start just now then :)09:30
mwhudsonJc2k: the dependencies will probably shortly change to python-paste rather than turbogears fwiw09:31
mwhudsonJc2k: when you talk about a "big push" what's the timeframe?09:31
mwhudsona few days, a couple of weeks, ... ?09:31
Jc2kas soon as i can, really09:34
mwhudsonok09:35
beunomwhudson, trunk + cache removal should work pretty decent for now, no?09:36
beunoprobably should get that in before the clean URL bit09:36
mwhudsonyeah, i'm not feeling intelligent enough to review the clean url stuff09:37
mwhudsonbecause i think the branch changes behaviour in some ways, but i'm not sure whether it makes more sense before or after :)09:38
beunoah, right, that happend to me too  :)09:39
beunoI had to go back and forth a few times before I could tell the differences09:39
mwhudsonbeuno: remove_caches seems to be based on the cleaner urls branch?09:39
beunomwhudson, uhm, yes. Although it shouldn't really change much from trunk, as it doesn't touch templates at all09:40
beunoI can send you a patch based off trunk if you'd prefer09:41
mwhudsonplease09:46
* beuno pets his clean urls branch and starts making use of bzr's magic09:46
* Jc2k watches09:47
beunomwhudson, sent09:51
beunoJc2k, I'd say it's worth waiting a few days for these changes to settle in. Does that work for you?09:52
Jc2kbeuno: sure, i'll need at least that long to work out my jhbuild patch with the maintainers09:53
beunoJc2k, cool, I'll make sure I ping you, and help you get through the initial setup  :)09:54
mwhudson_beuno: changecache.py looks a bit mangled09:54
mwhudson_beuno: in particular i'm pretty sure FakeShelf.close should not look like that :)09:55
* beuno looks09:55
beunoI shouldn't of changes anything for FakeShelf09:56
beunoargh09:57
beunovim screwed with me again09:57
mwhudson_i also think that bits of fakeshelf can go09:58
mwhudson_like update09:58
Jc2kbeuno: can loggerhead list all of the repositories in a folder, or am i responsible for that?10:05
Jc2k(we have a lot of modules, so (2) is probably better?)10:05
beunoJc2k, you can specify a folder and loggerhead looks for al branches in it10:06
beunoor, manually10:06
beunoas you wish10:06
mwhudson_something i am looking to encourage with my rewrite of this end of this things is for serious end users (e.g. gnome) to write little bits of code for this sort of thign10:08
=== mwhudson_ is now known as mwhudson
Jc2kso if we let loggerhead do it, would it show all branches over *all* projects, or will they be like seperate instances?10:08
mwhudsonso if you want to have a list of repositories in a text file or something, that should be easy10:08
mwhudsonJc2k: not sure i understand what you're asking?10:09
Jc2kwell, if you look at http://bzr-mirror.gnome.org/10:09
Jc2kthere are many individual repositories10:09
Jc2kand each folder has many branches10:09
mwhudsonoh right10:09
Jc2khow does loggerhead work in this setup, basically :)10:10
mwhudsonnot very well :/10:10
Jc2k:D10:10
beunomwhudson, re-sent without the nonsense code and removing update too10:11
mwhudsonyou can point loggerhead at the directory containing the repositories, but the results won't be very pretty10:11
Jc2kcan i have a loggerhead for each repository?10:12
* mwhudson hmms10:12
mwhudsonsurely should be possible10:12
Jc2ki have a script that is updating the mirrors each time someone checks in to SVN10:12
Jc2kcan extend it to poke the loggerhead bits too10:12
Jc2kand update some kind of master index10:12
beunoI wonder how hard it would be to fix LH so it *won't* get confused with multiple levels of branches10:13
Jc2koh, would loggerhead get confused by the SVN style layout?10:14
mwhudsonbeuno: easier on my wsgi-ify branch :)10:14
Jc2ke.g. $MODULE/{trunk,brances/$BRANCH,tags/$TAG} ?10:14
mwhudsonyes, basically10:15
beunomwhudson, heh, well, even more reason to land that ASAP  ;)10:15
mwhudsonJc2k: what time is it where you are?10:16
Jc2k10:16 AM10:17
mwhudsonoh ok, so you'll be around for a bit :)10:17
Jc2kyeah :)10:17
Jc2kgot another 12 hours in me, aside from lunch and commuting :p10:17
mwhudsoni'll see if i can slap something together you can test10:17
Jc2kwicked :)10:18
mwhudsonbeuno: all those lovely -s :)10:20
mwhudsonbeuno: i think i can add a few more though :)10:20
beunoheh10:23
beunogo crazy10:23
beunothe less the merrier!10:23
mwhudsonman util.Container needs to be stabbed10:24
beunoah, get_revision_history_matching should go to10:26
beuno*too10:26
mwhudsonah yes10:27
mwhudsonwhat happens now for a text search?10:27
beunoit always returns "no results found"10:28
beunoalthough, at the rate lifeless's plugin is going, I think we should be able to make that plugable pretty soon10:28
mwhudsonheh heh10:28
mwhudsonfair enough :)10:28
lifelessbeuno: what do you need ?10:30
beunolifeless, for now, just time to work it into LH properly10:31
beunoI didn't want to imply that *you* had work left to do  :)10:31
* mwhudson is confused10:31
mwhudsonbeuno: do you know where fix_year went?10:32
* beuno looks10:32
mwhudsoni think i shall use bzr-search to find out :)10:32
lifeless:)10:33
beunoit seems it's gone in trunk too...  :/10:33
mwhudsonbeuno: right...10:34
beunomwhudson, seems revno 128.18.210:35
mwhudsonuh uh uh10:35
mwhudsonhttp://pastebin.ubuntu.com/20570/ :(10:35
lifeless-lines in patches are not yet indexed10:36
lifelessthough I think they would be interesting to index10:36
mwhudsonuh, they sure would be here :)10:36
mwhudsonbeuno: what branch is that revno in?10:37
lifelessfile a bug :)10:38
beunomwhudson, trunk10:38
beunorevid: michael.hudson@canonical.com-20080310040805-sp0j98ristv9znvm10:38
mwhudsonlifeless: for the bzr-search thing or the bzr traceback?10:38
mwhudsonbeuno: uh, no?10:38
mwhudson-    params = { 'file_id': navigation.file_id }10:39
mwhudson+    params = { 'filter_file_id': navigation.filter_file_id }10:39
mwhudsonis all in that revid10:39
beunowell, bzr-search is lying then...  :/10:39
beunologgerhead/util.py in revision 'michael.hudson@canonical.com-20080310040805-sp0j98ristv9znvm'. Summary: 'def fix_year(year):'10:39
lifelessmwhudson: for - lines10:40
mwhudsonlifeless: ok10:40
mwhudsonah, it was the date formatting changes10:40
lifelessbeuno: bzr cat -r revid:michael.hudson@canonical.com-20080310040805-sp0j98ristv9znvm loggerhead/util.py | less10:41
beunolifeless, ah, right, it's in the file10:42
beunoutils.py was changed at that revision, so it looks in there. Makes sense10:42
beunomwhudson, you found where it was changed?10:43
mwhudsonbeuno: yeah10:43
mwhudsonbeuno: r15210:43
beunooh, a while ago10:44
lifelessbeuno: it gets false positives where a snapshot occurs10:44
beunook, I'm starting to make even less sense. It's probably a good idea for me to call it a day10:46
beunoJc2k, I'll read the backlog and see what mwhudson cooked up for you, and we can talk theming once it's up and running   :)10:47
lifelessmwhudson: you had a traceback ?10:47
mwhudsonlifeless: http://pastebin.ubuntu.com/20570/10:48
mwhudsonbeuno: good night10:48
Jc2kgood night, beuno10:48
beunog'nights!10:48
lifelessmwhudson: file a bug on that traceback too10:49
mwhudsonoh, it's in before:$invalid_dotted_revno10:57
mwhudsonlifeless: https://bugs.edge.launchpad.net/bzr/+bug/24034610:59
ubottuLaunchpad bug 240346 in bzr ""exceptions.ValueError: get_parent_map(None) is not valid" in before:$invalid_dotted_revno" [Undecided,New]10:59
* mwhudson merges remove-caches to trunk11:04
Pengmwhudson: "if revid_list and len(revid_list) > 0:" <-- Wouldn't revid_list evaluate to false of its length was 0?11:09
mwhudsonPeng: uh, yes indeed11:09
mwhudsonoh well, can't get rid of all the cruft in one go i guess :)11:09
mwhudsonJc2k: how much do you mind being a guinea pig for half-baked software? :)11:15
Jc2kmwhudson: as long as it runs uninstalled, then i know no limits11:16
mwhudsongood good11:16
Jc2kdid i mention the server is running etch..11:17
mwhudsoncan you get simpletal and paste installed?11:17
mwhudsonor at least on $PYTHONPATH?11:17
Jc2ki havepython-paste 1.0.1-111:18
Jc2kand simpletal 4.1-611:19
mwhudsongreat11:28
trolifeless: about the error i was getting before ("bzr: ERROR: Repository KnitPackRepository('https://myusername@server.org/bzr/.bzr/repository/') is not compatible with repository KnitPackRepository('file:///home/tro/code/asdf/.bzr/repository/')"), yes, i ran bzr info -v on the branch repo i'm pushing to. it's as i posted before11:45
lifelesstro: thats really strange then.11:46
lifelesstro: I'm a little tied up now, perhaps you could file a question on launchpad and I'll put together some python to try and diagnose this in more detail11:46
trolifeless: will do. thanks for helping so far. :)11:48
mwhudsongrr12:01
mwhudsontime to add DontZap to the x config again...12:02
mwhudsonJc2k: ready to test something? :)12:09
Jc2kmwhudson: go on then12:10
mwhudsonJc2k: grab this branch https://code.edge.launchpad.net/~mwhudson/loggerhead/wsgi-ify12:11
mwhudsonJc2k: and run it from the directory that contains the repositories12:11
mwhudsonthen browse to port 987612:11
kilnerhi, I'm running a bzr checkout of an svn repo, I made 2 local commits and then updated.  Is there a way to "reapply" the pending merges that it has created so that I can do an svn-push or similar.12:12
kilnerbasically I want to save the commits and their logs as separate entities12:13
Jc2kmwhudson: i need turbogears?12:13
mwhudsonJc2k: i hope not :)12:13
Jc2kpkg_resources.DistributionNotFound: TurboGears12:14
Jc2k  File "/home/john/wsgi-ify/start-loggerhead.py", line 4, in ?12:14
Jc2k    pkg_resources.require("TurboGears")12:14
mwhudsonJc2k: oh12:14
* Jc2k removes said require :)12:14
mwhudsondon't run start-loggerhead12:14
mwhudsonsorry12:14
Jc2koh12:14
mwhudsonrun path/to/loggerhead/wsgitest.py12:14
mwhudsonsorry, it's getting a bit later here12:14
Jc2khehe12:14
Jc2kmy paste is too old12:15
Jc2ki guess12:15
Jc2k  File "/usr/lib/python2.4/site-packages/paste/translogger.py", line 100, in make_filter12:15
Jc2k    from paste.deploy.converters import asbool12:15
Jc2kImportError: No module named deploy.converters12:15
Jc2kor rather12:15
Jc2kmy paste is broken12:15
mwhudsonmaybe you need paste.deploy installed?12:15
mwhudsonbut yeah12:15
Jc2kahh, python-pastedeploy :)12:16
Jc2kdoes it only serve on localhost?12:17
mwhudsonhm, looks like it :)12:17
mwhudsonchange the host='127.0.0.1' to ... something12:17
mwhudsonat the end of the file12:17
Jc2kkk :)12:17
mwhudsoni guess host='' will work12:17
mwhudsonhm maybe an external ip would be better12:18
Jc2ki had to put host='bzr-mirror.gnome.org'12:19
Jc2khttp://bzr-mirror.gnome.org:9876/12:19
lifelessor host=* perhaps12:19
mwhudsonJc2k: oh, you want to remove the EvalException wrapper btw12:19
Jc2kwassat?12:19
mwhudsonsorry meant to remove that before committing...12:19
mwhudsonJc2k: insecure debugging aid :/12:20
lifelesswell, its plain, but its there :P12:20
mwhudsonyeah, the file listing is, uh, simple12:20
lifelesswhat branch is Jc2k running?12:21
lifelesshttp://bzr-mirror.gnome.org:9876/yarrr/trunk/changes?q=walters didn't do much :P12:21
mwhudsonlifeless: https://code.edge.launchpad.net/~mwhudson/loggerhead/wsgi-ify12:21
Jc2kmwhudson: where is this wrapper i need to delete :)12:22
mwhudsonoh, i didn't merge remove-caches either12:22
mwhudsonJc2k: http://pastebin.ubuntu.com/20594/12:23
Jc2kahh12:24
Jc2k:)12:24
Jc2kcool :)12:25
mwhudsonso this is all totally horrible code, but it works, eh?12:25
Jc2kseems so :)12:26
* mwhudson is practising his kiwi dialect12:26
Jc2ki can kill it, though :)12:26
Jc2khttp://bzr-mirror.gnome.org:9876/tracker/branches/indexer-split/revision/svn-v3-trunk0:13f93fa3-e725-0410-a08d-a391da2ecc01:branches%2Findexer-split:1537?start_revid=svn-v3-trunk0:13f93fa3-e725-0410-a08d-a391da2ecc01:branches%2Findexer-split:153712:26
mwhudsonhm, urlquoting, what's that?12:27
Jc2khmm?12:28
* Jc2k pops out for lunch12:28
mwhudsoni need to be more careful when constructing urls12:28
Jc2k:D12:29
mwhudsonhm, maybe that's not it12:34
mwhudsonJc2k: try revision 175 of my branch12:40
=== weigon_ is now known as weigon
mwhudsonor rather 17612:43
mwhudsonJc2k: i'm going to bed soon, but please send any comments to michael.hudson@canonical.com12:46
semsliefwiw: kilner (who is sitting next to me) solved his problem with the pending merge by committing the merge, then branching off the resulting tree at the revno just before the merge (the last commit that was a part of the merge), which created a new tree with all the merged revisions as part of the same branch, which meant that an svn-push didn't lump the revisions involved in the merge together.12:51
lifelessjelmer: ^;2~12:53
jelmerlifeless, hi12:58
jelmerlifeless, what's up?12:58
lifelesssee semslie's note is all, thought it might be relevant to you :)12:59
jelmersemslie, what's it exeactly that you were trying to work around?13:00
=== sven_|away is now known as sven_
semsliejelmer: when an update comes in on top of local commits, those commits are converted to a pending merge, and you can then commit the merge. That would be fine if everyone in our team was using bazaar - they would still see each individual revision and its changelog as part of a merge. However, when an svn-push happens our subversion colleagues only see the merge-commit: ie: the results of the merge, not each individual change that made it up.13:04
sven_hi! after 'bzr merge', when there are conflicts, i get file.THIS, file.BASE, file.OTHER. is there a way to figure out which revision file.BASE is from?13:04
jelmersemslie, this is docemented in the FAQ. you may want to use rebase13:05
semsliejelmer: we effectively wanted to 'replay' the changes in the pending merge on top of the tree after it had been updated, and we found that this was one way to simulate that behaviour.13:05
semsliejelmer: rebase is indeed an excellent tool, but we got worried that we were stuck with a merge once those local revisions had become a pending merge. Would a rebase have resolved the pending merge do you think?13:06
jelmersemslie, no, but you can throw away the pending merge with "bzr revert"13:06
semsliejelmer: ah, so would rebase replay the changes in the pending merge on top of the new base as well (I had thought that these would not be included)?13:08
jelmersemslie, yes13:09
semsliejelmer: thanks! giving that a try now13:14
james_wsven_: "bzr find-merge-base . .../other_branch" should do it13:21
matholiodo I need to use a specific verion of bzr to utilise launchpad ?  I have v0.11.0 and am getting... bzr: ERROR: Unknown branch format: ''13:25
james_wmatholio: which branch?13:26
matholiothis is the command I used to start one : bzr push sftp://matt-joyce@bazaar.launchpad.net/~matt-joyce/scrabbly/dev13:26
james_wand that gives tou the error?13:28
matholioIt does.13:28
mwhudson0.11.0 is pretty ancient!13:28
matholioDebian Etch.13:29
matholioHappy to add an apt source.  is there one?13:29
james_wmatholio: backports13:29
james_wmatholio: that branch works fine for me13:29
* mwhudson goes to bed13:30
james_wmatholio: was it the second push that gave the error?13:30
matholiothe first push.13:30
james_wmatholio: can you run again with "bzr -Derror" please?13:30
matholio'no such option: -D'13:31
james_wah, sorry, too old for that13:32
james_wcan you look in your ~/.bzr.log then, and fish out the relevant section please?13:32
james_wyou'll find a stanza for each invocation, and near the top is the arguments13:33
james_wI'd like the traceback, but the whole staza would probably be enlightening13:33
matholiowoo, theres a fair amount of stuff...13:35
matholiopastebin ?13:35
lifelessAfC: http://nixos.org/nixos/ <- you might find that interesting13:36
AfClooking13:37
matkorHi ! Is there any bzr executed commands history available ? (per working tree ? ) TIA13:37
AfCAs yes, nix. I was there when this was first presented at LISA 4 years13:37
AfCI have a lot of respect for what they did.13:38
AfCIt solves a lot of packaging problems.13:38
AfCI did point out to them a) that they had effectively taken on the challenge [ie, hassle] of becoming a distro, and13:38
matholiohttp://pastebin.com/m635c844813:38
AfCb) suggested that they might have a look at some of the things the Gentoo does along similar lines.13:39
AfC[specifically as related to package description formats]13:39
AfCTurns out they had studied Gentoo (as it then was, this is some years ago) and agreed that their biggest problem was the fact that they had to reinvent packges from scratch13:40
AfCwhich is a shame. Otherwise, their idea has a *lot* of appeal from the systems operations don't fucking hammer my linking side of things.13:40
lifelesscool13:41
lifelessmatkor: not as such13:41
sven_james_w, thanks!13:41
lifelessmatkor: there is ~/.bzr.log whicn you could post-process13:41
AfC[a major theme in large systems being the need to exactly recreate specific environments. Embedding link targets in content addressing style leads to an impressive degree of robustness in this regard]13:43
matholiojames_w: oh dear.  I installed bzr from backports, v1.5 deleted the old .bzr and bzr init a new one.  same error.13:50
matholiohttp://pastebin.com/m214aa47513:53
matkorlifeless: thanks !13:54
matkorIs it possible to checkout/branch only part of other branch ?  Like checkout only one directory  ? Or checkout only files matching given pattern like *.spec ?13:57
awilkinsbzr split ?13:58
* fullermd blinks.13:58
fullermdNot really the same thing...13:59
awilkinsPossibly not, but the closest I could think of13:59
* matkor reads about bzr split ...14:04
matkornot really ...14:05
matkorI still want keep files in sync ...14:06
matkorAny VCS (except cvs) allows  checkouting only subsets of branches ?14:07
lifelesssvn14:07
lifelessand thats it AFAIK14:07
lifelesswe have some plans to do so14:07
fullermdI presume p4 can.14:07
lifelessbut have not implemented14:07
lifelessfullermd: I assumed FOSS14:08
fullermdThere's probably one or two of the more obscure CVCSen that can too, but yah, CVS/SVN are AFAIK it for major contenders.14:08
pygilifeless, will that be implemented by hiding the rest of the repo?14:09
* pygi remembers reading something14:09
lifelesspygi: broadly speaking, yes, though s/repo/branch/ and there are some complications on merge/update/pull vis-a-vis conflicts14:09
matkorPerhaps wrong place to ask but is svc capable of checkouting only *.txt from repo ?14:10
lifelessmatkor: that I don't think so14:11
fullermdI don't know of anything that can officially do that.14:11
gourwhat is the benefit of doing it?14:11
fullermdWith CVS, you could do Evil Sh...tuff(tm) behind its back and pull it off I s'pose.  But somebody would have to shoot you for it.14:11
gourisn't that task for some other tool and not (D)VCS?14:12
* pygi thinks he could just list remote branch/repo contents, grep for "*.txt" and then checkout only those files :P14:12
pygibut then again, what do I know :)14:12
gour;)14:13
lifelesspygi: say a file is in a dir14:13
lifelesspygi: do you then checkout the dir? and if not where does the file go if there is a name collision14:13
pygilifeless, well, you checkout the dir with only that file14:13
gourpygi: use rsync :-814:13
pygilifeless, I dont have a use-case for such a thing anyway, so ^_^14:13
pygilifeless, and seem that m-l ate my post about Akademy :-/14:14
* gour thinks bzr dev-time should be spent on more useful stuff14:14
matkorI am just thinking of (D)VCS as alternative to cvs keeping rpms build data (spec, patches, data, or even sources)  for many projects ...14:16
lifelessmatkor: the usual suggestion for that is to do one branch per project14:16
matkorBut still be able to do mass operations over all *.SPECS14:16
pygimatkor, Ubuntu does that for some packages14:16
pygilifeless, ++14:16
pygigour, hehe :)14:16
lifelessmatkor: and nested trees to tie the configuration together14:16
* matkor reads about nested trees ...14:17
matkoris http://bazaar-vcs.org/NestedTreeSupport current status of nested trees ?14:21
pygimatkor, I'd say that is a specification from year 200514:22
pygi:)14:22
pygiso no, that isnt the status14:22
Leonidasuhm, how to get a specific file at revision 94? I'd like to dig into the history and find out why some code is the way it is.14:30
matkorbzr cat <file> -r <rev> ?14:30
Leonidasjust perfect!14:31
Leonidasthanks a lot, works exactly as I want14:32
matkorOK. Assuming I have <repo_root>/<project>  I can't really see way how to get versioned access to <project>/*.spec without checkouting/branching all projectes ... :/14:36
matkorEven using ideas from nested trees ...14:36
lifelessgnight14:38
james_wmatkor: nope, nested trees can't help you to get specific files from a group of projects.14:38
james_wnight lifeless14:38
james_wmatkor: it's feasible you could get that with nested trees and partial checkouts at some point, but I don't know whether it would just be a paon.14:39
james_ws/paon/pain/14:39
mdzis there any way to tell bzr to use a key other than the default (or an agent) for bzr+ssh:// ?15:17
mdzif someone tells me, I promise to add it to http://bazaar-vcs.org/Bzr_and_SSH15:18
james_whi mdz15:18
james_wbzr will follow ~/.ssh/config, so you can set up anything you want in there.15:18
james_wStanzas including IdentityFile2 is what I use to do this.15:19
mdzjames_w: lies!  my ~/.ssh/config is set up correctly, and ssh works fine, but not bzr15:19
james_wah wow, can you check that ~/.bzr.log reports it is using OpenSSH?15:20
mdzjames_w: I will poke about, didn't realize this was supposed to work15:20
mdzjames_w: my claims of ~/.ssh/config being set up correctly were exaggerated15:22
mdzjames_w: I politely withdraw the accusation of lying :-)15:24
mdzI forgot that branch moved to Launchpad15:25
james_wno problem15:26
UrsusIs there a way to run a script after running a bzr update, and is there a way of storing the password when using ssh+bzr:// as I need to automate the fetching and moving of some files15:43
LeoNerdUse an SSH Key15:44
UrsusLeoNerd, ?15:45
LeoNerd"storing the password" => set up SSH keys between the boxes15:45
gourssh-agent or keychain15:45
LeoNerdDon't even need them.. just a plain key is sufficient15:46
=== Ursus is now known as Noia
=== mtaylor__ is now known as mtaylor
lamontwhy oh why does bzr diff grab the *(^*^( lock so that I can't do anything until it's done?17:33
Kinnisonis it not a readlock?17:36
lamontKinnison: if someone is doing bzr diff, and I say 'bzr rm --keep', it fails waiting for the lock18:00
Kinnisonthe locking is perhaps a touch high-level then :-(18:02
dashhi! i'm wodnering if bzr can help me solve a problem18:18
dashi've got a patch somebody write for twisted 2.5 and I want to bring it up to date with the latest revision of twisted. i've got an up-to-date bzr branch. would it be reasonable to make a new branch from the revision of the 2.5 release, apply the patch, then merge?18:20
Peng(That person should've used bzr, not a plain patch...)18:21
dashPeng: they didn't use a patch18:21
dashthey just changed their local install. :p18:21
PengHeh.18:22
PengAnyway, that sounds decent.18:22
Pengcommit has an --author arg so you can credit him/her/it.18:22
dashok! just making sure I understand the theory. ;)18:22
Peng(Apply the patch, commit, then merge it into your other branch, you mean, right?)18:23
dashright18:23
PengSounds good to me.18:23
fullermd...  When did viz stop letting you resize the columns?18:49
=== bigdo2 is now known as biddog
=== biddog is now known as bigdog
pagenoarehello19:22
pagenoareanybody using bzr with trac ?19:22
pagenoareor it's possible?19:22
gourpagenoare: have you considered redmine?19:23
jelmerpagenoare: yes, there is a trac-bzr plugin19:46
=== mw is now known as mw|food
pagenoarejelmer: elmohave u any doc, how to configure it ?20:28
pagenoarehave"20:28
jelmerpagenoare, there is a README file included with it I think20:28
pagenoareAttributeError: 'NoneType' object has no attribute 'log'20:37
pagenoarejelmer: can u help me? "This should include "tracbzr.* = enabled" ", where?20:44
pagenoarehttp://bazaar.launchpad.net/~trac-bzr-team/trac-bzr/trunk/annotate/jelmer%40samba.org-20080614232856-t81kc24suzkh73wt?file_id=readme-20061211191445-unb1b1y5dhltbwy7-220:45
pagenoareoh, yea, i like his bzr links ;D20:45
pagenoarethis'20:45
abentleylifeless: ping20:47
visik7is there something like git-filter-branch ?20:48
MvGHi, I'm the one who just sent an email requesting his "setlocale" branch to be merged, in case anyone wants to discuss it here.20:58
=== kiko__ is now known as kiko
beunoMvG, very cool, thanks. Since there is quite a lot of things going on right now (stacked branches, big release coming up), it may take a day or two for people to review the patch21:11
MvGbeuno: It's OK, as long as I don't have to spend those days adjusting the patch, I'm in no hurry.21:12
fdvuhm.. I was wondering whether http://bazaar-vcs.org/HistoryHorizon is still on the horizon? :)21:18
beunofdv, that's "stacked branches"  :)21:19
jelmerpagenoare: in the components section of your trac configuration21:19
beunowhich is targetted for 1.621:19
beunoit seems to have many names21:20
pagenoarejelmer: i haven't it O_o21:20
jelmerpagenoare, see the trac documentation for details21:20
fdvbeuno: so then one will actually be able to branch only some subset of the total set of revisions in a repo? do you know if it will work for bzr-svn, too?21:22
beunofdv, yes, only the last N revisions. I don't know about bzr-svn, that's jelmer's "terf"21:23
fdvok21:23
fdvthe branch I've taken out of svn at work is close to 8GB21:24
fdvit's slightly painful21:24
fdvespecially when its all of a sudden corrupted with a kniterror :p21:24
beunoyes, having stacked branches will be great21:26
beunojust a few more weeks to go, if they can go through lifeless' 16k line patch  :p21:26
* fdv holds his breath21:27
fdvjelmer: do you know if these "stacked branches" will work with svn as well?21:37
jelmerfdv: Not immediately, but at some later point ,yes21:37
fdvok, thanks21:38
=== mw|food is now known as mw
scorpioxyHey guys. I am trying to do a bzr co in a treeless branch created on my server using a push. But it says error, file exists on the .bzr dir. Am i doing something wrong?22:14
PengCould you pastebin the full traceback?22:15
PengAlso, you might have to do "bzr co .", not just "bzr co".22:15
scorpioxyPeng: There isn't any traceback, just a nice error saying file exists. Also, they are both behaving the same way22:16
PengI dunno then.22:16
PengWhat file exists?22:16
scorpioxyPeng: .bzr22:16
PengOh.22:16
PengThere's a misunderstanding somewhere.22:17
PengWhat version of bzr?22:17
scorpioxyPeng: 1.5 i believe22:17
Peng"bzr version"22:18
scorpioxyPeng: yup, 1.5. I have this branch via a bzr push22:18
scorpioxyPeng: and i need to create its working tree.22:18
scorpioxyPeng: i know that a bzr co <somewhereelse> works, but i need the working tree in that branch.22:18
Pengscorpioxy: Well, it works fine for me, using bzr.dev and not pushing.22:20
PengWFM pushing too (not that it should matter).22:21
scorpioxySo the docs say that if i have a treeless branch, a bzr co . will create the working tree. But i am doing that, and it seems to want to create a new .bzr when there already is one from the branch which is causing an error.22:23
PengA plain "bzr co" also works for me.22:24
PengMaybe it's a bzr 1.5 problem.22:24
james_wscorpioxy: can you run with "bzr -Derror co ." and pastebin the traceback please?22:25
fullermdI always do 'co .' just by reflex, and I haven't seen it fail yet...22:25
fullermdWhat all is in .bzr?22:25
scorpioxyAlright, hold on, i am pushing again. The repo isn't that big anyway.22:26
scorpioxyhmmm...it works when i cleaned up everything and pushed again. The only difference is that i used the --use-existing-dir before and some of the files were already there.22:29
mwhudson_i see someone is filing bugs saying "loggerhead should be like viewvc" :(22:30
ToyKeeper... speaking of being more like other tools...22:38
ToyKeeperIf I added a diff panel to 'bzr vis', is that change likely to get accepted?22:38
ToyKeeperI suppose I could at least fix the issue where it refuses to resize smaller than its initial size.  That's an easy one.22:42
bkorToyKeeper: I'd like something like that (not a dev)22:42
scorpioxyToyKeeper: I am just a user, but i for one would like to see something like that. If you need any dev help or backup, send your thoughts to the list and we'll chime in.22:43
scorpioxyand FYI, i think its a good idea, and i tend to use it in gitk. But i don't like git. So don't think about this as being like other tools, think about it like being the best-of-breed.22:44
bkorToyKeeper: btw, if you click the down pointing arrow (not green).. the popup incorrectly shows a mnemonic if the branch name has a _ (shows removecaches with c underlined instead of remove_caches)22:44
ToyKeeperWell, that was a 1-line fix.22:52
ToyKeeperI hope the existing diff dialog is organized to let me reuse it easily.  :)22:52
=== samurai_ is now known as samiam
lifelessabentley: pong23:32
nosecowwould anyone be willing to help a newbie trying to migrate from Visual Source Safe?23:38
lifelesssure, I thinkeveryone here will offer advice23:39
nosecowokay. in a nutshell, we have a new ubuntu server. I set up BZR on it. Committed my initial import.23:40
nosecowI am trying to figure out how I would do, what in VSS would be called a checkout to my local development machine, so I can work on the code and then check it in later23:40
nosecowlocal dev machine being windows as an addt'l complication23:40
lifelesswell, for starters install bzr on the local dev machine :)23:41
bob2bzr co sftp://ubunutuserver/path/to/branch/23:41
nosecowokay, lifeless, i was just looking at that... do i have my ideas backwards?23:41
lifelessnosecow: bzr is both client and server, you need to install it on every machine that is working on code23:42
nosecowaha! (ding)23:42
nosecowlifeless: now that bzr is installed on local windows machine, what is next step?23:46
lifelessnosecow: as bob2 said - you can perform a checkout to work on the code you committed by doing 'bzr co sftp://hostnameofuubuntumachine/path/to/branch LOCALOUTPUTPATH'23:47
nosecowo-o-o-o-o-kay23:47
nosecowI think I see23:47
nosecowsweet! Thanks! Now I have to fix the authentication errors, but that's not bzr stuff.23:49
nosecowto checkin, do i use an update command?23:50
bob2if you use 'co', then your local checkout is 'bound' to the branch you checked out from - when you commit or checkin, the change is immediately propagated to the server23:51
nosecowHow cool! so if I do a commit from the DOS command line, then it is propogated to the server automatically?23:52
bob2yes, just like cvs/svn23:53
lifelessnosecow: yes it is. Also you use update if commit tells you the branch is out of date (which can happen when other people commit)23:53
nosecowbob2: haven't used those; coming from ms/vss so have a whole world to exploare23:53
lifelessnosecow: now, this is only the surface of what bzr can do - but get comfortable here first, then start exploring the tutorial, online help etc23:53
nosecowthank you both very much!!!23:53
igcmorning23:55
lifelesshi igc23:55
igchi lifeless. You guys sprinting this week?23:55
lifelessI'm at home today working on VF's23:57
abentleylifeless: pang23:58
ToyKeeperHmm, I suppose this is a start, at least:  http://toykeeper.net/tmp/bzrk-with-diffs.png23:59
lifelessabentley: peng23:59
abentleylifeless: I merged igc's stacking stuff into my stacking policy, and ran into a bug that I thought was in all_revision_ids, but turned out to be in BzrDir.clone23:59
lifelessabentley: do you mean jml's?23:59

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