/srv/irclogs.ubuntu.com/2010/01/17/#bzr.txt

abentleylifeless: That is bug #15816301:23
ubottuLaunchpad bug 158163 in launchpad-code "email notifications could have the revision url" [Low,Triaged] https://launchpad.net/bugs/15816301:23
lifelesskirkland: ^01:43
kirklandlifeless: cheers mate01:43
lifelessanytime ;)01:44
lifelessabentley: thanks for digging that up01:44
=== abentley1 is now known as abentley
=== abentley1 is now known as abentley
doctormoI'm trying to discover how bzr does it's `bzr add` filtering, where it ignores certain files. What's the best way of filtering out these files?06:21
spivdoctormo: 'bzr ignore'06:21
doctormospiv: Using bzrlib methods06:21
spivdoctormo: hmm, not quite sure what you're asking, exactly.06:23
spivAre you writing a plugin that wants to extend the default ignore patterns list?06:23
doctormospiv: Sorry, bit vague, no, not aplugin06:23
doctormospiv: I've got a gui that shows the user what files to add, I'd like not to show ignored files.06:24
doctormoSince their not added anyway06:26
spivHmm, I'd probably look at what cmd_ls or cmd_ignored do.06:26
spiv(in bzrlib/builtins.py)06:26
spivYeah, cmd_ignored looks like a good example of this.06:27
doctormospiv: Looks like workingtree.is_ignored(path)06:31
doctormoMwhahaha! it works.06:39
doctormoMore simple that I feared too.06:39
spivdoctormo: asking one-by-one might not be very efficient.  If you can, I'd probably try to use the list_files method of workingtree to look at a whole directory (or tree) at once.07:28
doctormospiv: This isn't that bad, it's already using only unversioned files, but the code I have is easier to write with a call to is_ignored since I'm already looping to add items to a tree view.07:30
=== abentley1 is now known as abentley
edakiriIs there some document which indexes cherry picking support related user documents for bazaar? I wish to discover whether support for it has extended since I was last up-to-date on bazaar use.  Are there extensions which extend support for cherry picking?  Is there a term for 'uncherry picking'?  I mean picking of what not to merge rather than what to merge.10:18
edakiriAs a status indicator, I found this, which seems to indicate that cherry support is not extensive; although it leaves my picture of support still vague.  https://blueprints.launchpad.net/bzr/+spec/bzr-cpick-data10:19
spivlifeless: you might get a chuckle out of this11:21
spivlifeless: try 'trial bzrlib/tests/test_selftest.py'11:22
spivlifeless: and guess what causes the 1 failure :)11:22
ElMonkeyhiya, i am trying to set up a loggerhead server via apache on debian/squeeze14:01
ElMonkeybut apparently, the init.d script is borked, does anyone have a sample i could look at?14:02
=== khmarbaise_ is now known as khmarbaise
RenatoSilvaqbzr needs to make links between ()18:16
RenatoSilvacommit with a link: http://this-becomes-a-link.com18:17
RenatoSilvaother commit (http://this-does-not-become-a-link)18:17
=== sdboyer_ is now known as sdboyer
lifelessspiv: looks like some sort of test isolation interaction18:44
=== weigon__ is now known as weigon
rukhow can i copy LaunchPad RSA key to my shell?19:44
Pengruk: What do yo umean?19:48
Pengyou mean*, bah19:48
=== abentley1 is now known as abentley
j1mchi all - i have a quick question.  i merged in a branch, the resulting merge conflicing .po translation files that I do not need.20:27
j1mcwhat is the best way to remove them from the directory, and to resolve the conflict?20:27
j1mcthere are lots and lots of po files...20:27
=== mwhudson_ is now known as mwhudson
j1mcas a note, the *.po files are just translation files that will be updated when the doc content gets changed.20:32
RumblePureHow can I print the commit message of a previous revision?20:32
RumblePureLike bzr info -r X for X's commit message?20:34
meoblast001hi20:36
meoblast001i'm looking for a BZR cia for servers20:36
meoblast001so that when code is pushed to the server, it posts to CIA20:37
meoblast001anyone know of any?20:37
tumbleweedmeoblast001: you can accomplish that with a commit hook: http://doc.bazaar.canonical.com/bzr.2.0/en/user-guide/hooks.html20:48
tumbleweedhere's an exmaple that prods a bot http://bazaar.launchpad.net/~ibid-core/ibid/trunk/annotate/head:/contrib/bzr-hook.py20:49
meoblast001ok, well i'm thinking about hacking up a plugin to my bot that will sync up with BZR to do what CIA usually would20:50
tumbleweedmeoblast001: that's excatly what that example is20:50
meoblast001ah, ok :)20:50
meoblast001it's a plugin for my bot? (j/k) :P20:50
tumbleweed(or you can poll the bzr branch)20:50
meoblast001which one is more efficient?20:50
tumbleweedmeoblast001: no, for my bot :)20:50
tumbleweedwell, obviously notification has lower latency and bandwidth usage20:51
meoblast001i could probably have my bot listen on port x20:51
meoblast001then have BZR send it stuff over said port20:51
tumbleweedthat example notifies by HTTP20:51
tumbleweedbut it could be anything20:51
meoblast001ah, ok20:51
meoblast001time to learn Python :D20:51
* mzz tries to remember how he did that before20:52
RumblePurehow can I write a new log-format?21:09
RumblePureI wanna create a log-format that only prints commit message21:09
=== abentley1 is now known as abentley
spivGood morning.23:04
spivlifeless: at first glance I thought that failure was because bzrlib.builtins wasn't imported, then I saw that the bzrtools plugin was somehow loaded so now I'm less sure.23:05
Noldorinhello.23:17
Noldorini'm having an issue trying to push to an svn repo using bzr-svn:23:17
Noldorinbzr: ERROR: exceptions.KeyError: u'None'23:17
NoldorinTraceback (most recent call last):23:18
Noldorin  File "bzrlib\commands.pyo", line 842, in exception_to_return_code23:18
Noldorinit's been working until recently. any ideas what could be going wrong?23:18
Noldorinno problem pushing to a remote bzr repo btw...23:18
spivNoldorin: hmm23:30
spivNoldorin: pastebin the full traceback?23:30
Noldorinspiv, sure - http://pastebin.com/m122b7c6423:30
spivNoldorin: it's failing on something to do with the repository layout23:41
Noldorinspiv, oh...such as?23:41
spivNoldorin: have you set any config in ~/.bazaar/subversion (or whereever it is on your platform)23:42
Noldorinerm23:42
Noldorindon't believe so23:42
Noldorinit just worked until now :)23:42
spiv*nod*23:42
spivWell, I'm not sure why it's broken.  If jelmer is around he'll probably know.23:42
spivIn the meantime file a bug on bzr-svn.23:43
Noldorinyeah, hopefully...23:43
Noldorinthanks anyway.23:43
spivYou *might* be able to workaround it by manually setting the layout.23:43
spivBut I don't even know what "it" is, so that's just a guess :)23:43
Noldorinheh, would be kidn of lost there :P23:43
Noldorinyeah, fair enough23:44

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