/srv/irclogs.ubuntu.com/2008/09/28/#bzr.txt

alperkanathey there.. i want to migrate to bazaar from svn... but i can't import the code to a new bzr repository.. can someone please help me ?00:05
alperkanatany help for bzr-svn ?00:10
alperkanatit always keep looking for .bzr directory inside the subversion repository00:10
cody-somervilleYou can easily import from svn into bzr using launchpad00:12
Pieter.. is there a performance regression in 'bzr blame' from 1.5 to 1.7?00:14
Pieteranyway, http://pastie.org/28055400:19
lifelessPieter: there could be; 1.6 made some significant refactoring of deepguts00:21
Pieterpretty serious difference, 8x slowdown00:21
lifelessPieter: tried to keep everything balanced; may not have completely succeeded00:21
lifelessPieter: oh, no, thats less likely00:22
lifelessPieter: big project, deep history ?00:22
Pieteryes, samba00:22
lifelesswheee that sucks00:23
lifelessif you could file a bug, that would be great; I'm in the middle  of some social stuff atm00:24
Pieterlet me try00:24
Pieteri'm not too fond of bug trackers :)00:24
lifelessyou might like to try the btree based repo format (--development2) just landing in bzr.dev right now00:25
Pieter(bug 275303)00:28
ubottuLaunchpad bug 275303 in bzr "Performance regression on blame" [Undecided,New] https://launchpad.net/bugs/27530300:28
lifelessPieter: thank you00:29
=== RAOF_ is now known as RAOF
lifelessPieter: so the index that the current pack-* formats use is bisection-searched00:36
lifelessPieter: and this due to a number of things isn't very good, even though its better than the pre-pack formats00:36
lifelessPieter: the --development2 format, replaces the index layer with a B+Tree; and that is quite possibly going to be the thing that suddenly chews up huge amounts of time00:37
lifelesserm, fix the thing that chews up time00:37
lifeless(because, during 1.6/1.7 some heuristics were added that can cause a full index read (think table scan) unnecessarily, because its faster in some cases00:37
Pieterhmm, ok00:39
PieterI'm not going to run a -dev version though ;) I'll wait a bit00:39
lifelessits landed I think, just checking the merge result00:39
lifelesssure; not expecting you to run one, just noting that you could give it a spin and see :P00:40
lifelessyes, its landed00:40
bb-bzrdoes anyone have a minute to answer some nubi questions with using bzr?00:41
lifelesssorry, just popping away00:43
lifelessciao guys00:43
bb-bzrI had a question about branches in general... if I have a mirror branch that has recently pulled in changes from some feature branch foo; at which point foo will no longer be used, is there a reason that I shouldn't just remove the whole foo branch from the disk?00:55
=== astrobunny is now known as astrobunny|afk
alecwhHello, I downloaded the package "bzr-gtk", and I don't see anything changed in the Nautilus File Browser. What am I supposed to see? I'm on Ubuntu Hardy.01:16
spivbb-bzr: usually no important reason01:29
bb-bzrso there won't be any orphaned data in a repository if i nix a branch?01:29
spivbb-bzr: as you can see with e.g. "bzr viz" all the revision data from foo is present in the mirror branch.01:29
bb-bzryah I see that using qlog01:30
bb-bzror viz01:30
bb-bzrso i guess if there is some case where a diverging set of branches would resolve down to a feature branch would be the only case where it would become an issue and in that case I could just figure something else out?01:30
spivbb-bzr: so usually the only reason to keep the foo branch around on disk is if you want a convenient way to refer to those revisions later01:31
bb-bzrahh01:31
bb-bzri usually work on a defect or feature on its own branch, so have lots of branches that have short lifetimes01:31
bb-bzrI am used to just killing them once merged, but wanted to make sure this wouldn't be an issue in bazaar01:32
spivYeah, just remove them in that case.  That's what I do.01:32
spivalecwh: I don't think the nautilus extension is enabled by default01:32
alecwhwhat would I see then? I don't notice any differences01:33
bb-bzrspriv: thanks much man, busy setting up bazaar for my company and writing a developers guide and wanted to make sure I was not recommending something goofy01:33
spivalecwh: also, /usr/share/doc/bzr-gtk/README.Debian for the hardy version of bzr-gtk says that it isn't even packaged in that version.01:34
spivalecwh: IIRC it adds emblems to versioned files & directories.01:34
spivalecwh: http://bazaar-vcs.org/bzr-gtk links to some screenshots01:34
alecwhthat's... it? and can I easily add support?01:34
spivalecwh: the README that comes with bzr-gtk explains how you can enable the nautilus integration (although obviously not with the hardy packaging of it)01:36
spivalecwh: in addition to emblems, I believe it adds options to the right-click context menus, e.g. "View Changes..."01:37
spivalecwh: note that a lot of what bzr-gtk provides is accessible without nautilus, type "bzr help gtk"01:40
alecwhspiv: thanks a lot!01:51
Odd_Blokehttp://amix.dk/blog/viewEntry/19350 looks interesting.02:29
Odd_BlokeUnfortunately, I'm using a LiveCD ATM, so can't really play with a bzr convertor.02:30
=== thumper_laptop is now known as thumper
=== jelmer is now known as Guest4379
=== Guest4379 is now known as jelmer
chandlercjelmer: i have an odd crash report06:13
chandlercbut i can't really file a bug, because it fixed itself06:14
chandlercand i am happilly using bzr-svn better now than ever before06:14
AfC"Self healing systems"06:14
chandlercbut in case someone else runs into it, I was using neon compiled against OpenSSL, and getting segfaults (with no python backtrace or anything) while pushing to a repository06:14
chandlercanother machine wasn't despite the same bzr, bzr-svn, and repository06:15
chandlercthe other machine was using gnutls, so i recompiled neon against it here, and everything works06:15
_J_m_D_any insights on bzr vs svn?09:19
_doomster__J_m_D_: in what context?09:21
_J_m_D_looking for a general versioning system - not only for code but for all kinds of files. Will be used for online colaboration09:24
_J_m_D_many heavy files (3D-graphics) will be used09:25
_doomster_how about the intended users? BZR makes it easier to do detached development of private branches, with SVN you can also create and maintain branches, but you need to maintain them in the same repository, i.e. give everyone access.09:28
_J_m_D_I like the concept of bzr in that respect. Seems like each team member can do his own "local development" and synchronize to the central repository only "when needed". Is that correct?09:30
_doomster_right.09:30
_J_m_D_(I am a version vontrol noob)09:30
_J_m_D_at the moment IDE integration is not a big issue. But file browser integration (shell integration) for windows would be nice - like tortoise for svn.09:31
_doomster_tsvn is damn sweet, true.09:31
_J_m_D_anlything similar available for bzr?09:32
_J_m_D_anything*09:32
_doomster_not that I was aware of, but I'm a bzr noob myself. I'm an svn veteran though.09:32
lukshttp://bazaar-vcs.org/TortoiseBzr09:32
luksbut obviously not as mature as tortoisesvn09:32
_doomster_:)09:33
_J_m_D_mmm, seems very nice09:33
=== _doomster_ is now known as doomster
_J_m_D_doomster - so what is your impression so far with bzr compaired to svn?09:34
doomsterI'd rather not make a statement, because I really haven't used it enough.09:35
_J_m_D_is anyone aware of some issue that makes bzr inferior to svn?09:37
doomsterAs far as SVN is concerned, it is a very simple too without too many bells and wistles, but it is solid and does its job. I'm looking for the possibility to efficiently maintain detached branches, and BZR offers that. Further, there are many users to BZR, so it's rather well supported.09:37
doomster*tool09:37
lukspartial checkouts are a reason why you might like svn more, but it depends on the project09:39
_J_m_D_from what I´ve learned bzr is more flexible as to the choice of available workflows compaired to svn, where as svn is more widespread and thus has more 3rd party tools. But I guess bzr is catching up, right?09:39
doomsteractually there is one thing that might bite you with large binary files. When you prepare a directory for local work, you retrieve the current state via SVN but you retrieve the whole history via BZR, which takes significant amounts of time. I think (someone here will probably help out) that you can ignore parts of the history though, in order to preserve bandwidth.09:42
_J_m_D_regarding binary files - how are revisions made (whether svn or bzr)? Is the whole file saved again and again, or is some binary change-tracking-magic going on only storing incremental changes even to binary files?09:45
Peng__J_m_D_: Most VCSes (including bzr and svn) use delta compression, but they also store full copies occasionally to improve performance.09:46
Peng_Bazaar's delta algorithm is line-based, isn't it?09:46
luks_J_m_D_: it uses text-based (splits the text to blocks on lines) delta compression09:46
_J_m_D_delta compression would then be like "store only the changed bytes of the file" or something similar?09:47
luksSVN uses a specialized binary delta compression for binary files09:47
Peng__J_m_D_: Right.09:47
luksyes09:47
_J_m_D_oki - thnx09:47
krokosjablikHello, question to bzr 1.3 (in hardy): the parent of my branch has been changed, how can I adjust my brunch? Or merge with the changed parent and just push?10:10
doomsterbrunch - mjam-mjam... ;)10:10
krokosjablikdoomster: have I to look in man pages for the mjam-mjam option ;)10:11
krokosjablikok, my solution was just to adjust the property "push_location"  in "<myBrunch>/.bzr/branch/branch.conf10:22
=== astrobunny|afk is now known as astrobunny
=== astrobunny is now known as astrobunny|afk
awilkinsjelmer: ?11:59
bob2krokosjablik: 'bzr push --remember someurl' will work, too12:59
krokosjablikbob2: Many thanks!13:00
jelmerawilkins: hi13:16
jelmerchandlerc: please file a bug13:17
jelmerchandlerc: sorry, hadn't read the rest of your lines yet13:17
LarstiQbeuno: since the last merge of bzr.dev into nested-trees :)14:41
LarstiQbeuno: tree._iter_changes -> tree.iter_changes was easy enough to spot14:41
LarstiQbeuno: but tree.case_sensitive looks a bit harder, it only seems to be defined on working trees (which makes sense), I hope not to get into working vs revision problems there, will have to try.14:43
=== thrope_ is now known as thrope
LarstiQjfroy: I see some of your changes made it the bzr-svn 0.4 branch, how far away are you from having Keychain working?19:46
jfroyLarstiQ: it's working perfectly fine in bzr-svn19:46
jfroyThe work is complete.19:47
LarstiQcool19:47
jfroyIt requires no modifications to svn either19:47
jfroy(and works fine with the version bundled with 10.5)19:47
jfroyI'm currently working on Keychain integration in bzr itself (lp:~jeanfrancois.roy/bzr/keychain-auth-rdonly)19:48
jfroystill at the experimental stage19:48
LarstiQooh, I should round up some of my mac users and point them to your work :)19:49
jfroyThe branch works, but it's a huge ugly hack :p19:49
jfroythe work in bzr-svn was released with 0.4.12 (I think)19:50
jfroy.13 maybe19:50
jelmer0.4.1319:50
jfroythanks you :p19:50
jfroy*thank19:50
jelmerand thanks again for that work, btw ! :-)19:50
jelmernabend LarstiQ19:51
LarstiQnavond jelmer :)19:52
chandlercjelmer, was you're comment saying to not file the bug?19:52
jelmerchandlerc, yep19:52
chandlercis this a known deficiency in the OpenSSL neon lib?19:52
jelmerchandlerc, filing a bug against neon may be a good idea though19:53
chandlercfun times19:53
jelmer(not against bzr-svn though, which was what I was first thinking about)19:53
chandlercahh, yea, clearly not there19:53
chandlercjsyk, the only remaining issue i have with actively using bzr-svn and googlecode is the 401 error not flipping from https to svn+https19:54
chandlerci think i already filed a bug for that a while back19:54
jelmerchandlerc, yeah, that's been reassigned to bzr19:54
jfroyjelmer: oh, I noticed something odd while working on the keychain stuff in bzr. I did a merge or pull command from one bzr branch to another locally (2 local branches in a shared repo), and a file:/// svn RA connection was opened (or was tried), according to .bzr.log :p19:54
chandlercbut by specifying the svn+ i'm pulling and pushing and even merging conflicts across multiple machines now w/o issue! =]19:54
jelmerjfroy, it probably tried to open a file:// using svn19:54
chandlercvery happy about that19:54
jelmerchandlerc, cool19:54
jelmerjfroy, That's fine though - svn repositories can exist locally19:55
jfroyjelmer: yeah, not a big deal19:55
jfroyindeed19:55
Kosjerhi got a short question about the update from bzr 1.5 to bzr 1.7 on osx 10.5 . the installer is sayin the following warning note:  If you have installed a previous version of this bundle, please remove /usr/bin/bzr manually (the executable is located in /usr/local/bin/ since 1.4). so is it enough to manually delete in /usr/local/bin/  the bzr file? is that all? and then the updater could be run?20:25
Kosjeror have other files to be be removed too?20:27
LarstiQKosjer: I'm not certain, but I think that notice is to ensure there isn't an old leftover /usr/bin/bzr that comes earlier in the path than /usr/local/bin/bzr20:30
LarstiQKosjer: in which case, yes, that would be enough20:30
Kosjerlarstiq ahhh true. i was unsure about the note. but i remember vaguely that on the switch to i guess 1.5 there was already the removal. tried it right now without any removal and it worked. updated nicely. all fine now :) thanks!20:31
LarstiQKosjer: good to hear20:32
Kosjerthanks and good night20:51
=== mwhudson_ is now known as mwhudson
alperkanatis there authentication for bzr ? i want to setup a centralized server available over http using nginx..21:10
alperkanatso i guess i shall provide http authentication ?21:10
jakobbalperkanat: I know from experience at least that http authentication works21:11
jakobbyou can even set a user/password in your personal rc files, such that you don't have to type them over and over again21:11
alperkanatis there some other choices like path authentication ? i may want to make some repos available to the public.. or read access is available to the public and write needs auth.. etc ?21:12
alperkanatjakobb: what rc files ?21:12
jakobbas long as you don't need redirection to get to the url, things should work fine21:12
jakobbalperkanat: the authentication.conf file in the .bazaar/ dir21:13
alperkanathmm i haven't seen it in the docs21:14
jakobbit is definitely there, but I remember that you have to look hard for it21:14
jakobbIt don't remember all the details, because I use hg nowadays mostly :P21:15
jakobbalperkanat: http://tinyurl.com/4zl6ae21:17
alperkanatjakobb: thanks21:18
lifelessmoin22:30
funkyHatWhere is the upload location for upload stored?22:31
funkyHatIt keeps trying to upload to the old location although I've manually told it to upload to a new location22:32
james_wfunkyHat: did you use --remember?22:34
funkyHatah, I feel silly now :)22:49
funkyHatthanks22:50

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