/srv/irclogs.ubuntu.com/2012/07/10/#bzr.txt

mgzmorning!08:01
=== zyga is now known as zyga-afk
=== zyga-afk is now known as zyga
m1schi. remove-branch seems to work for local locations only. how do I remove a remote branch?10:11
bob2don't think bzr has that built in10:19
mgzm1sc: that works over a smart server in recent versions, but deletes the branch only, any repository is left existing10:23
m1scmgz: smart http? I use bzr 2.5.1 on client side -- when trying "bzr remove-branch https+urllib://example.com/my/branch", it's doing http authentication but then tries to delete the branch locally.? (bzr: ERROR: Not a branch: "/home/user/foo/https+urllib://example.com/my/branch".)10:40
mgzthat's not smart.10:42
mgzm1sc: this is what works <http://pastebin.ubuntu.com/1084259/>10:43
jelmerit tries the remove branch first then falls back to locally10:43
mgz(progress leakage there incidentially)10:44
mgzfalling back to treating it like a filename when it has a scheme seems like a bad idea10:45
mgzm1sc: what you can do is just remove the directory via any other means10:46
jelmermgz: yeah10:48
m1scbob2, mgz, jelmer: thanks, will stick with ssh10:49
=== zyga is now known as zyga-food
=== zyga-food is now known as zyga
ggherdovhello. I know I can ask bazaar for all commits involving file FOOBAR.txt. Can I show all commit made by a specific developer, too ?15:11
mgzyup, see `bzr help log`15:19
mgznote the author(s)/committer distinction15:20
mgzbut generally `bzr log -n0 -m "Your Name"` will be fine15:22
ggherdovmgz thanks15:27
james_wvila, hi, you around?15:57
vilajames_w: yup15:57
james_wgreat15:58
james_whi :-)15:58
james_wvila, what would be the best way of injecting the db configuration values in to the config stack during the tests?15:58
james_wcurrently I believe it uses the standard dbs, which isn't great for test isolation15:58
james_wI'm adding support for postgres to the test suite, so now we need to run against both15:58
vilaerr, no, I think it uses ones under self.test_dir15:58
james_wI don't want to be adding pkgimport.conf on the fly15:59
james_waha!15:59
* james_w tries to find that15:59
vilaTestCaseWithConfig does that for you, at least it sets pi.base_dir15:59
vilanow, I don't know postgres, but given the config you added for it it seems to be using a host:port to reach the db so I you can set that in the config and initialize the db itself16:00
james_wvila, what's "_set_store_content"16:00
james_wI mean, what's "store" in that context?16:01
vilaa trick to add additional content in the config, there are examples...16:01
vilalet me check16:01
vilastore as in config store, a physical container, here, a file :)16:01
james_wah, I see16:01
james_wbut it's a "set all" interface, rather than an "append" interface?16:01
vilalook into test_mass_import for how to add stuff16:02
vilajust calling super()  then16:02
vilaso each subclass can add what it needs16:03
james_woh, hmm16:03
james_wok16:03
james_wthanks16:03
* james_w ponders moving this to fixtures16:04
=== iBasic is now known as BasicOSX
Wiz_KeeDhey guys17:49
lduroshello, I have a bzr branch which I initialized with the source files from Firefox 12. Now, I made some changes to these files, and now there is a Firefox 13 with many many differences with both Firefox 12 or my own fork. My question is, what is the best way to merge all the changes from the files in Firefox 13, while keeping the changes in my own fork. I can see many ways to do that more or less efficiently with diff and bzr diff. But I'd like to know if the17:52
ldurosso what I did is use bzr diff -r1 > diff.txt18:07
lduroswhich outputs all the difference with the current version with the first version in which the initial files were present18:07
ldurosand now I'll try to apply it as a patch to the new set of files18:08
ldurosdoes it make sense or is there a better way to do this with bzr and a special merge18:08
lduroshello, I asked a question earlier, got no answer, and thought maybe i'd ask it again23:13
ldurosif you have upstream files, you create a branch with them23:14
ldurosmake changes to them,23:14
ldurosand then the upstream releases a new version23:14
lduroswhat's the best way to merge those new changes from upstream while keeping your own changes23:14
ldurosupstream does not use bzr by the way, i'm just using the tar23:14
ldurosusing bzr diff and then patch does the trick, but is there a more elegant way? :-)23:16
ldurosor some documentation worth reading? :-)23:16
lifelesslduros: bzr import can import the tar23:21
lifelesslduros: have one branch representing upstream and one your work, import upstream onto the upstream branch, then merge that to your branch.23:21
ldurosah23:28
ldurosok, I see, I'll try this, thanks23:29
lduroslooking into bzr import at the moment23:29
lduroslifeless: what you are describing is basically what's described in this page, minus the bzr import for the tar >> http://wiki.bazaar.canonical.com/TrackingUpstream -- correct?23:31
lifelessyes23:32
ldurosok cool23:32
lduros:-)23:32

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