/srv/irclogs.ubuntu.com/2013/01/22/#bzr.txt

Stavroshello03:45
Stavrosi'm trying to push to bitbucket with a git format, and bzr is acting as if i'm using --force03:46
Stavrosis there a way to stop that?03:46
=== mmrazik is now known as mmrazik|lunch
dmemdfdHi all. I've got a main bazaar repo on a remote machine A and on another remote machine B I've got a clone of such repository.  Now I need to swap the roles, i.e. repo on machine B should become main one while that on machine A should become the clone. Is there any simple way to accomplish this? Do I have to edit config urls of bazaar only or have to do something else?11:33
xnoxdmemdfd: on machine A - $ bzr pull --remember url://hostB/path/to/repo11:35
xnoxdone11:35
xnoxyou may want to push tip from a to b first, to make sure b has everything.11:36
dmemdfdxnox: thanks!11:38
dmemdfdxnox: sorry (bazaar beginner!) now that I've made machine A "pointing" to machine B, how can I convert repo on machine B as main repo so that when I run update working tree is updated to latest revision (maybe empty url in bzr config) ?11:55
xnoxon remote hosts working tree does not auto-update11:56
xnoxeither do $ bzr up on host B to "refresh it"11:56
xnoxor get rid of working tree on host B all together with $ bzr remove-tree11:57
xnoxor use http://doc.bazaar.canonical.com/plugins/en/push-and-update-plugin.html11:57
xnoxdmemdfd: ^^^^11:57
dmemdfdxnox:thanks for your help!11:58
xnoxto remove pull reference on host b, you can edit .bzr/branch/branch.conf11:58
xnoxbut it really doesn't matter =)11:58
xnoxit's all "distributed" anyway =)11:58
dmemdfdactually typing bzr up, it tries to get commits from A (which is now supposed to be a clone of A) because B is still configured as a clone of A...do I have to erase branch.conf content at all?12:00
dmemdfd(sorry...supposed to be a clone of B of course)12:00
=== mmrazik|lunch is now known as mmrazik
xnoxyeah, it will. Yeah just remove parent url from branch.conf.12:12
vilaxnox: and he felt... before I could mention 'bzr config --remore parent_location' which avoids editing branch.conf12:16
xnoxvila: i totally did not know that trick =)12:18
jdahlinhi, are there any alternatives to fast-export when exporting a bzr repository?12:18
vilaxnox: that's what you get for helping people ;-)12:18
xnoxjdahlin: exporting for what purpose? (e.g. one can simply push using bzr-svn / bzr-git / bzr-hg) and or use rewrite plugin etc.12:19
vilajdahlin: fast-import from the other dvcs ?12:19
jdahlinxnox: exporting a repository to git12:19
jdahlinthere are bugs/issues with bzr-fastimport that prevents me from using it (improper rename handling afaict)12:20
jdahlinbzr: ERROR: Unable to update remote HEAD branch. To update the master branch, specify the URL git://localhost/Users/johan/bzr/repo-git,branch=master.13:30
jdahlinthat's what I get when using bzr dpush, any ideas?13:30
jdahlinon the server side I get; [71689] error: Could not read e244837180c5c3761c7a16944ef5aa7eb8f56848 [71689] fatal: bad tree object e244837180c5c3761c7a16944ef5aa7eb8f5684813:30
* jdahlin looks at jelmer13:31
jelmerhi jdahlin13:55
jelmerjdahlin: you have to specify the branch to push to, that's why it's suggesting that URL13:55
jelmerxnox: \o/ you have plans to work on bzr-git?14:27
xnoxjelmer: in my limited free time. but yeah. I will still via bugs/code review, but i'd like to be able to manage bugs at least =)14:28
* xnox has some local forks of bzr-git & dulwich......14:28
jelmerI'd be keen to see the improvements to dulwich (there's also #dulwich, btw)14:29
=== slank_away is now known as slank
jdahlinjelmer: actually, I switched over to using a git remote helper, which is a lot faster (2-3 minutes instead of ~1h)15:38
=== mmrazik is now known as mmrazik|afk
Wiz_KeeDhey guys!16:43
Wiz_KeeDcan anyone please tell me why this happens?16:43
Wiz_KeeDhttp://pastie.org/582533816:43
xnoxHello =)16:43
xnoxWiz_KeeD: not really bzr issue, but ubuntu. What's the output of $ apt-cache policy qbzr ?16:44
* xnox has qbzr installed fine on raring.16:45
Wiz_KeeDhttp://pastie.org/582543016:45
Wiz_KeeDit's in the paste xnox16:48
xnoxok. let me test that.16:49
Wiz_KeeDcould it be because of the mirror?16:50
xnoxWiz_KeeD: dunno. almost finished creating precise install.16:53
Wiz_KeeDokay16:55
xnoxWiz_KeeD: works fine here. Please enable precise, precise-updates and precise-security repositories. apt-get update and try again.17:01
xnoxmaybe there is something weird going on.17:01
xnoxCan you try "$ apt-cache policy python-qt4 " for me?17:01
Wiz_KeeDyes17:10
Wiz_KeeDmy brother fixed it by using aptitude and downgrading17:10
Wiz_KeeDbut i want to find out more about this17:10
Wiz_KeeDhttp://pastie.org/582562117:10
=== yofel_ is now known as yofel
=== bsd1 is now known as bsd

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