[03:29] Hmm. bzrlib.plugins.search.index.index_url() should support possible_transports. cmd_index wastes a transport just to parse the URL. [03:32] Or I guess index_url should just take a transport directly. [06:30] `bzr ignored` seems to list the ignored file then the rule for identifying it. Is there any way the rule can be stripped from the output without resorting to awk or the like? [06:36] Perhaps you want ls --ignored [06:48] fullermd: Thanks! That's perfect. [06:49] Hi [06:50] can I set bzr to ignore .pyc on *all* newly created projects? [06:51] Depends on what exactly you're asking. [06:51] You can add .pyc to your personal ignores. You could theoretically hack bzr to add .pyc system-wide. [06:51] But there's no way to make a new projects spring into being with a .bzrignore handling .pyc's. no. [06:52] ah, too bad. [06:52] I was thinking about the ~/.subversion/config ignore settings. [06:52] so I understand bzr doesn't have the equivalent. [06:52] There's the list in ~/.bazaar/ignore that covers yourself [06:52] (of course, it actually contains .pyc already...) [06:52] But that doesn't do anything for other people, of course. [06:54] fullermd: ah, awesome. [06:54] so yeah, that would basically be the equivalent :) [06:54] hm [06:54] that list exists, and includes .py[co] [06:54] yet for some reason, they aren't being ignored. [06:55] fullermd: oh, I know what happened. [06:55] I did `bzr add *` [06:55] Ah, yeah, that would do it :) [06:56] fullermd: once you did `bzr init` at the root of a source tree you'd like to VC entirely, what would you do then? [06:56] how would you add everything, every nested file and directly, except those in ~/.bazaar/ignore? [06:56] *directory [06:56] 'bzr add' by itself. [06:56] ah, hah. [06:57] 'add' with no args is what uses the ignore list. 'add' of specific files never does. [06:57] fullermd: that's awesome. [06:57] bzr is so convenient, I'm happy I chose it. [06:57] thanks a bunch. [06:58] np :) [06:58] (actually, I think that phrasing is a little off...) [06:58] If specific files are named on the 'add' command line (e.g. "bzr add foo.pyc"), ignores have no power. [06:59] If they're not ("bzr add", "bzr add somedir/"), then ignores determine which of the found files (add is recursive) get added. [06:59] * adam nods [06:59] Guardrails without straitjackets. === |ajaksu| is now known as ajaksu === mwhudson_ is now known as mwhudson === mark1 is now known as markh === abentley1 is now known as abentley [14:01] I have bzr branch on test server and want to force something like post commit hook to auto update this branch after each remote commit, so the server is serving up to date content ? [14:04] there's an update-after-push plugin [14:04] .oO( Why is that a question? ) [14:04] https://launchpad.net/bzr-push-and-update === doko_ is now known as doko [15:05] arghh... big emergency here! did a 'bzr add' but wanted to go back to ignore some. without thinking much did a 'bzr revert' now all my changes (lots) are reverted :S anything i can do?? [15:06] They'll be around in backup files. [15:07] whatever.~1~ or the like. [15:08] love you fuller! [15:11] is there a quick way to replace all 26 of them? [15:12] not from bzr that I know, but with shell scripting, sure [15:13] hmm okay... gotta take a break before i erase all those with a wacky shell script... [15:13] mamatata_: right, I suggest you cp -a your working tree before you do anything else :) [15:14] or at the very least your backup files [16:27] bzr ls simply lists the files in the directory? [16:27] or have I somehow managed to add all the files [16:28] if 1 is the case, how to I check what files are versioned? (without pulling to a empty location) [16:30] ls --versioned shows which files are versioned. [16:31] fullermd: thank. (guess that actually was pretty easy to find in the manpage. Sorry) [16:32] what is the purpose of ls (without --versioned) though? [16:35] Well, it lists the files in the tree. With no options, it's probably not used much. [16:35] It's usually used with one of the filters. [17:17] I installed Loggerhead using "sudo python setup.py install". It seems to me that loggerhead want to have the loggerhead.conf in "/usr/bin". Is there anyway to have it look for the configuration file in "/etc"? [17:19] It also seems that it wants to write a "loggerhead.pid" file in the /usr/bin folder. Is this really advisable? I would like to redirect that file to something like "/var/lib/loggerhead/loggerhead.pid", can that be done as well? [17:30] does bzr have anything like gitk ? [17:31] bzr-gui? [17:32] stefanlsd, bzr-gtk [17:32] and qbzr [17:32] beuno: which would u recommend? [17:33] stefanlsd, bzr-gtk has more features [17:33] so bzr-gtk :) [17:33] beuno: kk. thanks :) === mark1 is now known as markh [17:35] hey, could anyone tell what went wrong? http://ecchi.ca:8000/1.png [17:36] nekohayo, the packs error? [17:36] it happens sometimes [17:37] beuno: yeah, why? and how do we fix that? [17:37] you just re-push and it gets fixed [17:37] beuno: are you sure? that error seems to have come up while issuing a "bzr push" command [17:38] nekohayo, yeap, I'm sure. It's happen to me a few times [17:38] we haven't quite managed to figure out what causes it [17:38] why does that happen? connection problems? [17:38] hm [17:38] lifeless, ^ [17:38] (well, just curious) [18:16] Is there a good way to bzr repo that you can push/pull from with users that don't actually have an account on the machine? === fta_ is now known as fta [18:32] zbrown: If you are still there: I created a bzr account on my server and then access it with ssh and added the users public key to the bzr account. [18:32] oh I see [18:33] Lani78: thats what I was thinking about doing, just wondered if anyone had other suggestions [18:33] The drawback is that all users have the same access rights then. [18:34] zbrown: thats the suggestion that I got some weeks back, but I'm fairly new to both linux and bzr, I'm learning bit by bit ;) [18:34] hehe [18:35] Lani78: ya, my main thing is I have one other collaborator on a project and am just looking for an easy way for us both to have access without giving out another account [18:37] zbrown: I think that it would be easy to create an account for that project then, an account that doesn't have a password and that has no shell (/bin/false). And then ask your collaborator for his public ssh key so you can add both yours and his to that user account. [18:39] This is manageable for small sites with few users and few projects. But I cannot use this at work, as it is to much administration. At least for me that doesn't know Linux. And access to projects changes daily. So I would love to see some nice administration tool where you easily could give read/write access to specific projects to single developers. [18:40] ya [18:40] indeed, it seems that pushing again worked, beuno [18:41] But I've understood that the bzr-team have tried to avoid any authentication code. They relay on the Linux or Apache for that. [18:41] understandably [18:41] I haven't entirely settled on bzr yet either... we'll see [18:42] it could also end up as a git repo [18:42] zbrown: That made me remember that someone also suggested that you could make your project available through Apache, and have Apache control the access. But I don't know how to do that. [18:43] hi there, i just wanted to ask about the mac osx 10.5 installer binary distribution why there isnt a 1.6.1 version out yet like with the 10.4 installer version. its still at 1.5.0 [18:43] ya... I like to avoid apache when I can [18:43] Kosjer: different maintainers and the 10.5 one probably hasn't gotten around ot it [18:44] ahhh oki doki [18:44] thx [18:55] Hi. [18:55] Is this the right place to ask about a weird message I'm getting trying to bzr push to a server? [18:57] I get a few "FTP temporary error: 451 (...) Append/Restart not permitted, try again. Retrying." and then "bzr: ERROR: Transport error: FTP temporary error during APPEND (...)" followed by the same 451 append/restart message. [19:00] It worked fine on my old FTP server, but it seems BZR's FTP and my new server don't see eye-to-eye. Is there a way I can diagnose this further? === mark1 is now known as markh === sabdf1 is now known as sabdfl_home [21:21] Am I able to change the committer information for previous revisions if someone's contact info changed? [21:28] ericvw: No, revisions are immutable. [21:31] I could do the most recent by uncommit though and then change the commiter name thought, right? [21:32] Yes, provided no-one has branched from you. [21:33] Because you'll be creating a new revision. [21:43] Odd_Bloke: thank! [21:47] if I have a bzr checkout, and it's possibly been locally modified, and I want to update from the repo and overwrite whatever local changes I had, is there a way to do that with a checkout? [21:48] I had been doing it with "bzr pull --overwrite" before [21:48] justdave: is this a valid rephrase: "I want to discard my changes and be up to date" ? [21:48] but when switching to a different branch at one point, blew away the checkout and checked out again [21:48] apparently the first one was a clone instead of a checkout and pull doesn't work on a checkout? :) [21:48] lifeless: yes, that's correct [21:49] "bzr update; bzr revert" [21:49] ok, good enough. :) [21:50] pull --overwrite doesn't discard uncommitted local edits, the above will [21:50] which is why I rephrased for clarity [21:51] oh, I think I know what was going on... because the original one was a clone, "bzr up" just updated locally and didn't actually pull anything from the upstream repo [21:51] --overwrite just makes pull to an update after updating the local repo doesn't it [21:52] so since this one is a direct checkout and not a clone, "bzr up" by itself would be equivalent to what I was doing before. [21:52] Hi - Is it possible to split a file into 2, without losing annotate info? [21:53] nearly equivalent [21:53] justdave: bzr up will turn local commits into a pending merge, as part of its mission to preserve the svn/cvs 'up && commit' pattern [21:53] justdave: which is why the revert command's discard of pending merges is needed to complete the reset [21:54] in theory there shouldn't be local edits anyway... using it for a production website [21:54] justdave: instead, using revert --forget-merges makes it equivalent to pull --overwrite [21:54] GaryvdM: hi, no, not yet. [21:54] ok [21:54] justdave: cool [21:55] hmm, bzr update doesn't seem to take a tag/revision argument... [21:55] there is a patch in the bug tracker [21:55] maybe that's why we did the pull thing, because it does [21:56] if you want a branch that is conceptually able to differ from your trunk, use a branch not a checkout [21:56] the website always updates to the same tag, so we check in as needed then when it's tested and ready to go live, we move the tag and the website picks it up [21:56] IMO anyhow, pull is clearer when managing a mirror [21:56] justdave: ah; interesting [21:56] justdave: checkouts mirror the branch; if you used a branch rather than a tag it would work [21:57] one branch for dev, one for tested [21:58] I'll continue messing with this in a bit, need to travel, back online when I get there. :) (half hour or so) [21:58] thanks for the help :) [21:59] np [22:22] If I can see a way to make bzr faster, but it would require adding a parameter to and existing function [22:23] and I could make the parameter optional [22:24] would a patch be rejected because it changes an api? [22:24] no; see HACKING for a dscription of our api management [22:24] is this hypothetical, or do you have an actual case of this? [22:24] I have a actual case [22:24] care to elaborate ? [22:25] Sure - just give me a sec [22:28] Ok - in bzrlib/log.py [22:29] in get_view_revisions and in _filter_revisions_touching_file_id [22:29] we do parent_map = .... graph.iter_ancestry... [22:29] This is slow [22:30] I want to do it once in calculate_view_revisions [22:30] ok [22:30] a few news [22:30] *notes* [22:30] and pass it as a parameter to get_view_revisions and in _filter_revisions_touching_file_id [22:30] firstly, log got a bit rearranged recently [22:31] make sure you have the make_log_rev_iterator function in your log.py (if you have bzr.dev you're fine) [22:31] hmm, are you saying that both get_view_revisions and _filter_revisions_touching_file_id both call the same underlying api ? [22:31] I don't have make_log_rev_iterator in log.py [22:32] Yes - in the versions I have [22:33] I have revno 3695 of bzr.dev [22:33] ok [22:33] you should update :P [22:34] anyhow, I've checked and ye, its still duplicated, on the same graph object no less [22:34] I have [22:34] def make_log_rev_iterator [22:34] in my log.py [22:35] I was pulling from lp. Let me pull from the bzr site. [22:36] so [22:36] looking at this [22:36] I think this could be integrated into the filter stack better, but that is separate and not needed to prevent the duplicate work [22:36] and I think that this is a good thing to do [22:36] as the _filter function is private you don't need to make parameters optional - its not frozen in any way [22:37] ok [22:45] Sorry lifeless: where do I find HACKING ? [22:45] doc/developers/ [22:45] thanks [23:30] so, what's the story with the transport api and url encoding? [23:31] urls in urs out [23:31] get_transport is magic [23:31] local_abspath gets a local filename [23:31] filenames are unicode [23:31] urls are octets as per std66 [23:34] ok [23:34] this doesn't seem to be covered by the transport_implementation tests [23:34] maybe [23:34] * mwhudson tries to think [23:36] should be [23:37] test_unicode_paths [23:37] test_has [23:37] test_list_dir_result_is_url_escaped [23:37] etc [23:37] yeah [23:38] i think our transport is a bit funny when you give it unescaped paths [23:38] but actually dtrt when its inputs are properly escaped [23:39] * jml focuses on something else, despite how tempting this discussion is. [23:39] jml: you'll get your chance to think about this when you review the resulting branch :) [23:57] lifeless: I tried making that change, but it made no difference to the speed. I the graph loading maybe cached? [23:57] *i [23:57] *Is [23:59] Good morning.