/srv/irclogs.ubuntu.com/2008/03/01/#bzr.txt

jdongjelmer: interestingly, the crash did not happen with svn 1.4.6 and the patch.00:03
jdongjelmer: it seems 1.5.x specific for some reason.00:03
jdonganyway, I'm too tired to investigate more carefully, I'll just leave it at its pseudo working state :D00:04
james_wjam: thanks for looking in to the cherrypick issue.00:37
jdongsilly question, but will bzr reconcile ever be faster?02:05
jdongjelmer: is there a straightforward way for determining what bzr rev matches a svn rev?02:32
jdongother than grepping both logs02:32
jelmerjdong: There is a svn: revision specifier03:16
jelmerthat allows you to get from svn to bzr revision03:16
jelmerthat will only work against a native svn branch though03:16
jelmeras there is no one-to-one mapping in other cases03:16
jdongjelmer: ok, cool I'll take a look at that03:21
kgoetzhi all. i asked this in #ubuntu-doc, but i was pointed here. https://wiki.ubuntu.com/DocumentationTeam/Repository#head-7349bc14cd12ae1087537a239427a70a4d73295d talks about setting up a shared repository for checkout histories. i'm wondering if theres a way i can check my 3 docs checkouts (edu/kubuntu/ubuntu) are shared or not03:50
jdongkgoetz: cd into your branch, type "bzr info"03:50
jdong  shared repository: /home/jdong/src/rockbox03:50
jdong^^ you'll see a line like that if it's shared03:50
jdongkgoetz: and you should probably omit the --format argument too; the new default pack format is more efficient and faster over network03:52
kgoetzjdong: thanks a lot! "Shared repository with trees (format: dirstate-with-subtree)"03:52
jdongcool03:52
kgoetzjdong: i setup the repo months ago, but i've only just come back to it.03:52
jdongah03:52
jdongconsider upgrading to the packs format for space savings03:52
jdongand consider telling the same to doc team :)03:53
kgoetzok :)03:53
jdongI'm quite sure you remember how painful it was to branch the first time :)03:53
kgoetzi'll check on bzr's site to see if i can find instructions03:53
kgoetzyes i do *g*03:54
james_wkgoetz: if you don't have a "shared repository:" then I think they may not be shared.03:56
james_wAlthough it would be odd to say "Shared repository" if it didn't mean shared.03:56
james_wAh, the code is sensible after all :(03:57
james_wI was wrong, you get "Unshared repository" if not, so it should be fine.03:58
jdongah, the forward thinking of bzr is just simply astonishing at times03:59
james_wyeah, and yet again it makes me look like a fool.04:01
clyneticI need a pointer to any docs that will show a noob how to setup and use PQM.04:21
abentleyjames_w: The "info" code was a rat's nest.  I've cleaned it up somewhat, but there's still plenty left to do, especially in the test cases.04:44
beunokgoetz, http://beuno.com.ar/archives/48  (instructions to upgrade your branches)04:46
kgoetzbeuno: thanks.04:46
beunoI'm off to bed now, it's too close to 6am04:46
kgoetzlater mate04:47
beunokgoetz, np. Upgrade them in Launchpad too if you host them there (upgrade them with sftp)04:47
jdongkgoetz: remember that packs are only compatible with bzr 0.92 or above (though they're a very very good reason why everyone should upgrade to said versions)05:08
kgoetzjdong: ok. theres always a catch :|05:49
jdongkgoetz: well... it's not much of a catch. IMO anyone using an earlier version of bzr is seriously missing out05:50
jdongkgoetz: I mean, in many of my branches you're talking about a 10x to 20x increase in branching speed by switching to packs05:50
jdongto ask someone to upgrade to a newer bzr is not at all unreasonable05:50
kgoetzsounds like installing 1.1 was a good call *heh*05:51
jdongnot to mention the bzr team provides great methods for doing so on nearly all platforms05:51
kgoetzmmm.05:52
=== doko_ is now known as doko
lifelessbeuno: pong10:21
beunolifeless, was in doubt on how to implement a change you requested, but I figured it out eventually. Sent the patch to the list  :D13:39
mohbanahello guys14:48
mohbanais it possible to use bazaar with eclipse14:49
clyneticI haven't tried this yet, but here's info about the eclipse plugin.14:50
clynetichttp://bazaar-vcs.org/BzrEclipse?highlight=%28eclipse%2914:50
elijah404: http://doc.bazaar-vcs.org/bzr.1.2/en/release-notes/NEWS.html14:58
elijah(That's the top link from http://bazaar-vcs.org/news#1.0released)14:58
james_welijah: yes, there is a symlink missing on the server. Thanks for telling us about it though. Hopefully someone with access will fix it soon.15:05
=== weigon__ is now known as weigon
Bloguero__ConnorHello, how do I go back to the version x of my code. Lets suppose I commited 7 times. But then I regret and I say: I want to go back to commit #4. How do I do that?16:37
beunoBloguero__Connor, bzr revert -r 416:38
Bloguero__Connorgracias!16:38
beunoBloguero__Connor, ;)16:38
lifelesslater16:39
jdonglifeless: why doesn't bzr pack remove all obsolete_packs at the end of its run?16:42
jdongit seems like a logical time to do it16:42
jdong[jdong@jdong:src/rockbox]$ du -sh .bzr/repository/*packs16:43
jdong130M    .bzr/repository/obsolete_packs16:43
jdong112M    .bzr/repository/packs16:43
jdongkinda silly after a pack the repository size doubles16:43
beunojdong, fun discussion about it in: https://lists.ubuntu.com/archives/bazaar/2008q1/036719.html16:50
jdongbeuno: interesting.... thanks for the info, though reading it didn't give me a satisfied happy ending16:53
beunojdong, me neither  :p16:54
jdongbeuno: all I see is "bzr help pack" tells me it recompresses packs to save me disk space, and du -sh tells me my repository size *doubled* after running it16:54
jdongwe could change it to say "reorganizes packs to save disk space 5 commits later" but that sounds silly :)16:55
LarstiQlog(n) commits later?16:55
beunojdong, yeap yeap, I upgraded ~200 repos and maxed out my servers harddrive16:55
beunowas fun16:55
beunothan had to script something that would check the repo and delete them16:55
beunoLarstiQ, hey  :D16:56
beunothere should be a16:56
beunoan option to remove them automagically16:56
ubotuNew bug: #197356 in bzr-svn "Branches created in svn don't seem related in bzr" [Undecided,New] https://launchpad.net/bugs/19735617:55
Lo-lan-doHey, this one is mine!17:56
=== mw|out is now known as mw
=== mw is now known as mw|out
gnumarceloHi guys! Anybody here are using any bazaar plugin for Eclipse ide?18:58
james_wLo-lan-do: yeah, sorry it took so long to forward it.19:01
james_wgnumarcelo: I think there are a couple of people19:01
james_wgnumarcelo: Verterok is the developer.19:01
gnumarceloI'm planning use Bzr in my new project but i saw that plugin for eclipde is alpha version...I d'like to know if it is usable now19:06
gnumarceloim sorry, im not speak english19:06
Keybukwhat's the easy command to revert to a previous revision in the current branch?19:45
andrea-bsbzr revert19:46
Keybukexample?19:48
andrea-bsbzr revert -r619:48
Keybukoh, that easy19:48
beunoKeybuk, "bzr revert" will revert to the last revision, or you can do "bzr revert -r revno"19:48
andrea-bsit reverts the branch to the revision 619:48
Keybukoh, easy then19:49
beunoyeap. or bzr uncommit if you want to remove all metadata for that commit19:49
scorpioxyhey guys, if i have a a couple of standalone branches, would an init-repo after they are created have any effect on their storage optimization? Or does it only work before branch creation?19:53
beunoscorpioxy, I would say itwon't affect them at all19:54
beunoI'm not sure if you can re-convert them to be shared without re-branching19:54
james_wscorpioxy: you can make them use the storage by branching them to a temp dir in the shared repo, and then renaming.19:54
james_wscorpioxy: or directly in to the shared repo if you don't create it in the directory that contains the branches.19:55
scorpioxyjames_w: aha, so creating a shared-repo and then branching from into it....and so, is are we still limited by one level of ancestry for branches and shared repos? I remember that there was a discussion about that some time ago.19:57
james_wscorpioxy: what do you mean by one level of ancestory?19:58
scorpioxyjames_w: i mean any branches that want to use the shared-repo have to be first level children...as in just one ".."(single directory up)20:00
james_wscorpioxy: no, they will search down directories and stop at the first .bzr (pretty much).20:01
Keybukand second silly question of the day20:02
scorpioxyjames_w: you mean search up, don't you? shared-repo would be be parent20:02
Keybukhow do I push new tags to another branch? :)20:02
james_wscorpioxy: up/down, it depends whether you are standing on your head :-)20:04
james_wKeybuk: I think you just do it with a push20:04
Keybukjames_w: that says "No new revisions to push."20:04
james_wKeybuk: however I think there is a bug report about not pushing tags if there are no new revisions, just new tags.20:05
james_wKeybuk: ah, yeah, that sounds like the bug.20:05
scorpioxyyes, there is a bug report about that20:05
scorpioxyjames_w: :) i remember earlier that the shared-repo was only supposed to be one directory up from any branches in this repo...i guess that was changed..20:06
scorpioxyjames_w: well, i'll give it a try, thanks for the help20:07
scorpioxybeuno: thanks for the help too20:07
james_wscorpioxy: no problem.20:07
beunoscorpioxy, :D20:08
jdongjelmer: what do you think about ancestry between bzr-svn and launchpad vcs-imports?20:17
jdongit'd be nice if they recognized each other20:18
jelmerjdong: There has been talk about that a year or so ago20:18
jelmerjdong: We may end up discussing it again this sprint20:57
jelmerjdong: but it's really all up to the launchpad folks to decide they want to use the same mappings and revision ids as bzr-svn20:57
jelmerit would also involve trashing all existing imports...20:57
kosipovhi20:58
beunohello kosipov21:03
kosipovbeuno: is there a gui tool you would recommend for browsing change history with bazaar?21:12
beunokosipov, have you tried bzr-gtk?21:13
kosipovbeuno: yes, and qt. I am having a very long history here, > 3000 revisions, and both are quire slow21:15
kosipovquite21:15
jelmerkosipov: Even newer versions of bzr-gtk?21:15
jelmerkosipov: It loads up a 26k revision tree in a couple of seconds here21:15
kosipovjelmer: hm.. maybe a bug in the way we imported our revision history here21:16
kosipovtakes about 2 to 5 minutes21:16
jelmerthe way you imported your history shouldn't matter21:17
kosipovjelmer: I believe I have the latest version here21:17
jelmerAnd you're just running "bzr viz" ?21:17
jelmerkosipov: the one from bzr-gtk trunk?21:17
kosipovis there a way to find out the total number of revisions?21:17
kosipovjelmer: yes, I just bzr branched it21:18
jelmer"bzr revno" should print it21:18
jelmer(the number of revisions on mainline)21:18
kosipovthis is very strange then21:18
kosipovkostja@dipika:~/mysql-5.1-runtime$ bzr revno21:18
kosipov262421:18
* kosipov . o O (why does it take so much time?)21:18
kosipovjelmer: hm... mainline we actually have very heavy branching21:19
jelmerkosipov: bzr info should be able to print the total number of revisions21:19
beunokosipov, there is also a very-alpha WX-based tool: https://code.launchpad.net/wildcat-bzr21:20
beunowhat OS are you on?21:20
kosipovubunty gutsy21:21
kosipovubuntu21:21
kosipovhm...21:21
kosipovinteresting...21:21
kosipovI started bzr info --verboze and it took 20 secs for it to finish21:21
beunokosipov, I'm on gutsy too and I can navegate _much_ bigger projects very quickly21:21
kosipovBranch history:21:21
kosipov      2624 revisions21:21
kosipov       871 committers21:21
kosipov      2770 days old21:21
kosipov   first revision: Mon 2000-07-31 21:10:05 +020021:21
kosipov  latest revision: Wed 2008-01-16 01:17:05 +030021:22
beunowhat version of bzr are you using?21:22
kosipovRepository:21:22
kosipov     51009 revisions21:22
kosipov    596938 KiB21:22
kosipov1.221:22
kosipovso is above big enough?21:22
beunojelmer, looks pretty big to me  :p21:22
kosipovok, then this is expected I think21:23
kosipovI was just wondering21:23
beunokosipov, not sure if it's expected, would be nice if we could look into it a bit21:23
kosipovgood thing is that when it finally started it works with ok performance21:23
beunokosipov, can you run bzr info again21:24
beunoand paste out what repository format you have?21:24
kosipovit's the latest21:24
kosipovsecond21:24
beunoyou might be using an old version instead of the new one optimized for speed (packs-0.92)21:24
kosipovor is it not:21:25
kosipovFormat:21:25
kosipov       control: Meta directory format 121:25
kosipov        branch: Branch format 621:25
kosipov    repository: Packs containing knits without subtree support21:25
kosipovokay, then the question is how do I change the format?21:25
kosipovand also, if I create a branch, does it preserve the old format?21:25
kosipovit seems it's not21:25
beunokosipov, your repo seems fine21:26
kosipovbut working with the branch wasn't too fast either.21:26
beunokosipov, yes, it does21:26
beunokosipov, can you file a bug with this information, noting it's too slow?21:27
j1mchi all.  i'm having a problem where when i've changed my local branch of a repo, and someone else has committed changes on the server.  how can i commit both sets of changes without any conflicts?21:27
j1mcor without the commited change showing as reverted, and then re-committed.21:27
beunoj1mc, you want both changes merged?  or discard one of them?21:28
kosipovbeuno: I believe I will be able to give you all the data21:28
j1mchi beuno ... i would like both changes merged.21:28
kosipovjust writing a report here for our group21:28
j1mcmy problem is that the committed change shows as reverted, and then recommited at the end.21:29
kosipovwe're trying to migrate, but first need to check that we can actually work ok21:29
beunokosipov, even more interesting if you can file a bug so we can follow up and help you get the performance you need21:29
beunoj1mc, the work flow would be "bzr merge", resolve conflicts, than "bzr commit"21:30
beunoand, finally push if you want the final version on main21:30
kosipovbeuno: I will sure file a bug but when I have a tarball with the source tree with which you can play to attach to it.21:30
ubotuNew bug: #197426 in bzr "bzr diff message when some files are not versioned is unhelpful" [Undecided,New] https://launchpad.net/bugs/19742621:30
kosipovbeuno: I need to double check that if I attach this tarball my company is not sued...21:31
beunokosipov, maybe just file it with the "bzr info -v" data to get it rolling, and attach it later on21:31
beunomight not need the tarball at all21:31
beunoj1mc, you also might not get any conflicts, but you have to commit anyway21:32
j1mcbeuno: ... ok.  i'm just looking up info on resolving conflicts.  any tips?21:33
beunoj1mc, http://doc.bazaar-vcs.org/latest/en/user-guide/index.html#resolving-conflicts21:34
j1mcbeuno, you are the reason irc is awesome.  :)21:35
j1mcthanks for your help21:35
beunoj1mc, muehehe, no problem21:35
kosipovhttps://bugs.launchpad.net/bzr/+bug/19742921:44
ubotuLaunchpad bug 197429 in bzr "bzr gui tools are too slow with old/large repositories " [Undecided,New]21:44
jelmerbeuno: btw, what airport are you guys flying into tomorrow?21:48
beunojelmer, gatwick I belive. You?21:48
jelmerbeuno: looks like Heathrow21:49
* beuno double checks21:50
jelmerI'm arriving an hour or a half before you guys but I guess waiting doesn't make sense if it's a different airport ;-)21:50
beunojelmer, confirmed, Gatwick21:51
beunoit would be a bit odd to wait for us if we're in different airports  :p21:51
beunoI was told to stay away from heathrow for some reason21:52
ubotuNew bug: #197429 in mysql "bzr gui tools are too slow with old/large repositories " [Undecided,New] https://launchpad.net/bugs/19742921:56
james_win mysql?22:07
beunojames_w, he seems to work for mysql22:08
beunoand is trying to use bzr with mysql devel22:08
james_wah, ok22:08
beunobut, of course, it shouldn't be assigned to mysql22:08
james_wkosipov: mind if I drop the mysql part of that bug, it doesn't really reflect where the problem is?22:09
beunojelmer, do you think it should be asigned to bzr-gtk too?  It does seem a bzr problem but...22:10
jelmerbeuno: If it's consistent across all tools I think it's a bzr problem22:10
jelmerperhaps it can be reassigned if it turns out there is a specific issue in bzr-gtk22:10
beunojelmer, 50k revisions doesn't look like a bzr-gtk probem, no. Just wondering if it would be useful for other people reporting the same problem  (it does affect bzr-gtk indirectly anyway)22:11
jelmerbeuno: well, we can always mark it as a duplicate if people report the same bug although marking it as occurring in bzr-gtk is also fine with me22:18
beunojelmer, nah, it's fine, just a though22:22
beuno*thought22:23
kosipovjames_w: sure22:23
james_wkosipov: thanks.22:27
kosipovjames_w: should I attach the total size of the directory, number of files, lines?22:28
kosipovwould that help?22:28
james_wkosipov: I don't think the exact numbers are necessary.22:29
kosipov;-]22:29
=== kosipov is now known as kostja|zzz

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