=== FourDollars_ is now known as FourDollars | ||
Wiz_KeeD | hello guys, can someone help with this annoying error message? | 07:31 |
---|---|---|
Wiz_KeeD | bzr: warning: unsupported locale setting | 07:31 |
Wiz_KeeD | could someone please help out with this issue? http://pastie.org/8549634 | 10:23 |
Wiz_KeeD | Or can someone tell me how I can get the parent location from bzr? | 10:26 |
Wiz_KeeD | can anyone help please? | 10:51 |
Wiz_KeeD | AttributeError: 'RemoteRepository' object has no attribute 'get_ancestry' | 11:00 |
Wiz_KeeD | on bzr push-and-update | 11:01 |
jelmer | Wiz_KeeD: get_ancestry was removed in bzr 2.6 IIRC | 11:13 |
Wiz_KeeD | jelmer, I JUST read that | 11:13 |
Wiz_KeeD | how can I solve it? I am inside the plugin and can edit the code and the line that brings issues, though idk how to retreive the info | 11:14 |
jelmer | Wiz_KeeD: the easiest thing to do is probably to hunt down an old version of bzr and copy the implementation of get_ancestry from that | 11:16 |
Wiz_KeeD | ugh...i wouldn't know where to put it | 11:16 |
Wiz_KeeD | So not editing the plugin you recommend | 11:16 |
Wiz_KeeD | I have a laptop with 12.04 and a bzr version that works | 11:17 |
jelmer | Wiz_KeeD: you can copy the logic into the place where bzr-push-and-update is doing the get_ancestry call | 11:20 |
Wiz_KeeD | https://code.launchpad.net/~jelmer/bzr/rm-get-ancestry | 11:20 |
Wiz_KeeD | where do I find it jelmer ? | 11:20 |
jelmer | Wiz_KeeD: yes, that's the branch that removes it | 11:21 |
jelmer | another alternative is the reverse-apply that branch to your local copy of bzr | 11:21 |
Wiz_KeeD | i didn't get that last one | 11:23 |
Wiz_KeeD | are you the founder of bzr? | 11:24 |
Wiz_KeeD | or just a very dedicated and active developer? | 11:24 |
jelmer | Wiz_KeeD: no, I'm not one of the founders | 11:25 |
jelmer | I was a very active developer for a while | 11:25 |
Wiz_KeeD | AH I think i saw a launchpad post withyou saying that you are not involved anymore in the project, why is that? | 11:25 |
Wiz_KeeD | Hmm That branch just removes it I don't see the functionality that replaces it | 11:27 |
jelmer | Wiz_KeeD: see https://stationary-traveller.eu/pages/bzr-a-retrospective.html | 11:27 |
Wiz_KeeD | Could you help me patch the plugin or port the method into bzr 2.6? it's just a line I think | 11:28 |
jelmer | Wiz_KeeD: you can undo the removal by reverting that branch | 11:28 |
Wiz_KeeD | jelmer, but there might be a lot of speed improvements in 2.6 | 11:28 |
Wiz_KeeD | and it's just one functionality for one plugin, I need nothing more | 11:29 |
jelmer | Wiz_KeeD: you can revert that individual branch | 11:29 |
jelmer | Wiz_KeeD: not sure if that will work cleanly though | 11:29 |
Wiz_KeeD | why's that? | 11:29 |
Wiz_KeeD | it's just used in one single place in the plugin | 11:29 |
jelmer | Wiz_KeeD: I'm not sure I follow | 11:30 |
Wiz_KeeD | http://pastie.org/8549733 | 11:30 |
Wiz_KeeD | all I have to do is fix that line and the push-and-update plugin will work | 11:30 |
Wiz_KeeD | or at least I hope it will | 11:30 |
jelmer | Wiz_KeeD: yes, but fixing that line requires replacing it with another 5 or 6 lines | 11:30 |
jelmer | Wiz_KeeD: basically, with the code that was in the get_ancestry() function I removed | 11:31 |
Wiz_KeeD | ugh... | 11:31 |
Wiz_KeeD | damn | 11:31 |
Wiz_KeeD | well i'm stuck then | 11:32 |
jelmer | Wiz_KeeD: have you filed a bug? it shouldn't take more than 30 minutes to fix for a bzr dev | 11:33 |
Wiz_KeeD | I did | 11:33 |
Wiz_KeeD | pfff only two people work on that plugin | 11:39 |
Wiz_KeeD | https://bugs.launchpad.net/bzr-push-and-update/+bug/1260700 | 11:39 |
ubot5 | Ubuntu bug 1260700 in Plugin to Update Remote Trees "get_ancestry call removed in bzr 2.6 not updated for plugin" [Undecided,New] | 11:39 |
Wiz_KeeD | Maybe I can find a temporary solution for this until it gets fixed jelmer ? | 11:41 |
jelmer | Wiz_KeeD: avoid using the plugin, but just run "ssh foo bzr up" manually? | 11:42 |
Wiz_KeeD | bzr up? | 11:42 |
Wiz_KeeD | update | 11:43 |
Wiz_KeeD | Hmm, I have a python script with fabric that does the push and update, but I need to get the location of the push branch in order to cast update on the server | 11:43 |
Wiz_KeeD | withou grepping and exploding the string and such? | 11:43 |
Wiz_KeeD | thank you for your help jelmer ! | 11:52 |
Wiz_KeeD | out of curiosity, why did you quit? | 11:53 |
Wiz_KeeD | :) | 11:53 |
Wiz_KeeD | Can anyone tell me how to update a branch to the current revision | 12:40 |
Wiz_KeeD | bzr update updates the tree but that's it | 12:40 |
Wiz_KeeD | ah wait... | 12:41 |
jelmer | Wiz_KeeD: bzr pull | 12:52 |
jelmer | Wiz_KeeD: for that, see the page I linked earlier: https://stationary-traveller.eu/pages/bzr-a-retrospective.html | 12:52 |
Wiz_KeeD | I used push | 12:57 |
Wiz_KeeD | it gives the annoying message that the tree is not updated byt m3h... | 12:57 |
Wiz_KeeD | until this gets fixed https://bugs.launchpad.net/bzr-push-and-update/+bug/1260700 | 12:57 |
ubot5 | Ubuntu bug 1260700 in Plugin to Update Remote Trees "get_ancestry call removed in bzr 2.6 not updated for plugin" [Undecided,New] | 12:57 |
Wiz_KeeD | best I can do | 12:57 |
jelmer | Wiz_KeeD: sorry | 13:08 |
Wiz_KeeD | jelmer, for what? | 13:10 |
jelmer | Wiz_KeeD: not being able to help further | 13:11 |
Wiz_KeeD | it's okay you helped a lot | 13:11 |
Wiz_KeeD | Hope someone will get notified and fix it | 13:11 |
jelmer | (and being the person who removed that function in the first placE) | 13:11 |
Wiz_KeeD | if it scales bad and is a general bad idea to use, having code based on it is a bad idea | 13:18 |
scientes | how do i apply a bzr merge directive in git? | 21:46 |
scientes | === modified file 'cmdline/apt-get.cc' | 21:46 |
scientes | error: apt-get.cc: No such file or directory | 21:46 |
scientes | ./cmdline/apt-get.cc | 21:47 |
scientes | doesn't even apply with patch... | 21:47 |
jelmer | scientes: patch -p0 ? | 21:55 |
scientes | yeah turned out it was upstream churn | 22:00 |
scientes | thanks | 22:00 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!