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

dysingerjelmer so I updated the wiki again with details00:06
dysingerit _almost_ works on leopard - just not if you want svn+ssl00:06
Verterokmoin00:36
jelmerre00:37
jelmerdysinger: ok, that's not a bzr backtrace but a python-subversion one00:38
dysingerhmmm00:38
dysingerok00:38
jelmerdysinger: does "bzr branch" work with https:// ?00:38
dysingerone sec00:38
dysingerno same error on ssl00:39
dysingerI wonder why it works with non-ssl and python-subversion00:40
jelmerit looks like it may be a bug in the python bindings for the function that asks whether you would like to accept a specific SSL certificate00:42
=== mw__ is now known as mw|out
dysingerstrange.  I already accepted the cert permanently earlier using straight svn00:44
jelmerthis function gets called before svn itself I think00:47
jelmerdysinger: you may want to try commenting out line 54 of transport.py00:56
dysingersure00:57
dysingerin svn ?00:57
dysingeroh ok in bzr-svn00:57
dysingerbummer http://pastie.caboo.se/14174901:01
dysingernow it looks like libsvn_diff ???01:01
dysingerit's calling libsvn_ra_local too01:02
dysingerthat's for a file:/// scheme01:02
dysingeroh nevermind01:03
dysingerI am reading too much into the stack without knowing python.01:03
jelmerdysinger: are you sure line 52 is commented out?01:05
jelmersorry, 5401:05
dysingeryou said 5401:05
dysingery 54 #        svn.client.get_ssl_server_trust_file_provider(pool),01:05
jelmerwhoops01:06
jelmercan you enable line 54 again and comment out 46 and 47?01:06
dysingerthe providers += lines ?01:06
dysingerwoot it is working.... :801:10
* dysinger crosses fingers01:11
jelmerok, looks like it's time to file a bug in the subversion bug tracker01:11
dysingerwoot at least it works.01:13
dysingerI'll just keep installing bzr-svn stable and svn 1.5 trunk from scratch until it's fixed.01:14
dysingerit worked01:21
Verterokigc, poolie: hi01:43
Verterokreading the irclogs I recently found guillaumebokiau problems with the 10.4 dmg (ppc)01:43
VerterokI'm trying to build it as universal, but I can't test it because I don't have a intel mac01:45
igchi Verterok01:47
igcI can help with that01:47
Verterokgreat! :D01:48
igcI'm happy to test it on 10.4 on Intel on my laptop01:48
Verterokdo you have the developer tools installed?01:48
igchmm - not sure01:49
igcI do have MacPorts installed from memory so that means yes?01:49
Verteroklet me check01:49
igcand make and gcc both exist on my path fwiwi01:50
Verterokhttp://www.macports.org/install.php says you should01:50
Verterokmaybe you can build it as universal, it's pretty easy using my scripts ;)01:50
igcsure01:51
igcwhere do I start?01:51
Verterokif you have time to do it, of course :)01:51
igcI can fit it in :-)01:51
Verterokbzr branch http://freeshells.ch/~guillo/code/bundle-10.4/01:51
Verterokand follow the building instructions ;)01:52
Verterokthe versions I'm using for the build are: bzr == 1.1, bzr-rebase == 0.3, bzrtools == 1.1.0, pycrypto == 2.0.1, paramiko == 1.7.1 and bzr-email == trunk01:53
igcok, I have the branch01:54
igcI'll ping you if I have any questions01:54
Verterokthanks a lot!01:55
poolieVerterok, cool, thanks!02:02
poolieigc, spiv, please work out about your trip...02:02
Verterokpoolie: happy to help, and write some python (instead of java) :D02:03
spivpoolie: chatting now :)02:04
* poolie stops nagging02:04
=== bigdo1 is now known as bigdog
* igc lunch - back later02:47
GoClickIs there an official way to voice your support for something? I would REALLY appreciate a more complete textmate integration bundle for bazaar.03:00
GoClickBut I'm not programmer enough to assist with the project03:01
AfCVerterok: bzr-eclipse is using the XML plugin, right?03:02
AfC(asking only because https://blueprints.launchpad.net/bzr-eclipse/+spec/bazaar-java-client is kinda vague about it)03:03
VerterokAfC: yes03:03
* AfC tries to find that.03:04
Verterokactually the java lib under the hood is usingt it03:04
VerterokAfC: you are right, I need to write a wiki page about this and link to the blueprint03:05
VerterokAlso, if you have any question, I'ld be pleased to answer03:06
* AfC has been studying Eclipse's platform. I've seen some crazy code bases in the past, but yikes.03:08
AfCNutso project of the week: Java editing in vi using Eclipse as a back-end http://eclim.sourceforge.net/03:09
VerterokI look at it some time ago, it start a headless eclipse...who said vim is a lightweight editor? :)03:11
AfCI've been trying to figure out how much of Eclipse can be used headless. It would seem "quite a lot"03:12
VerterokI suppose all non-ui plugins03:13
AfC... the Anjuta guys want to add Java functionality; my suggestion to them was to see if they could hook into Eclipse for the introspection they'd need.03:13
AfCVerterok: yeah. The question is are things like code-completion and hierarchy & outline abstracted out, or buried in the UI code.03:14
AfCAnyway, off topic for this channel, sorry. I thought I'd have another poke at bzr-eclipse to see what I could learn by comparison.03:14
Verterokprivate?03:15
AfCGo ahead03:15
* AfC is getting ready to go out for coffee03:15
minghuaIs there a way to delete a versioned directory from a tree, and claim "don't touch this directory ever again", so that future merges won't generate conflicts regarding this directory?04:12
minghuaWhat I'm doing is complete rewriting a part of a project (the debian/ directory), while upstream is still making changes to that part occasionally.04:13
poolieminghua, i think the cleanest way would be to rename theirs to eg debian.upstream04:16
poolieand then make a new directory for yours04:16
minghuaAh, so renaming is better than deleting, makes sense.04:18
minghuapoolie: Will try that, thanks!04:18
poolieyou're welcome!04:24
pooliebzr rename support ftw :)04:25
igcVerterok: looks like I'm missing some stuff (like setuptools). I want to wrap up some other work first so I'll have another go later today or tomorrow.04:41
Verterokoh, I missed that :P04:42
Verterokigc: thanks again!04:43
VerterokI'm trying to fix my Xcode installation, it seems that 2.5 kill my libtool :(04:43
Verterokigc: for building the mpkg, the deps are: setuptools == dev, py2app >= 0.3.6, bdist_mpkg >= 0.4.3. easy_install install all other dependecies.04:46
* Verterok heading to bed...04:47
Verterokseeya!04:48
igcseeya04:49
robstahi08:56
robstais it possible to migrate a project from one svn repo to another, using bzr-svn?08:57
TFKylerobsta: I think tailor (http://wiki.darcs.net/index.html/Tailor ) would be a better fit for doing that, no idea how easy it'd be with bzr-svn though08:58
robstaTFKyle: does tailor work without file-system access?08:59
TFKylerobsta: yep09:00
TFKyle(actually, if the server is subversion 1.4 or newer I think there's svnsync or something similar that does that)09:00
TFKyle(more efficiently than tailor or bzr-svn I believe)09:01
robstalooks like i'm asking the right people :)09:01
robstawill check it out09:02
TFKylehmm, on the other hand: "You should not commit to, or make revision property changes in, the destination repository by any method other than 'svnsync'. In other words, the destination repository should be a read-only mirror of the source repository." in svnsync help init, not sure why though, might be reasonable to if you don't need to sync anymore afterwards09:06
AfCrobsta: bzr-svn is very powerful, but keep in mind that any non-native tool doing a transformation will always bear the risk of being lossy in some manner.09:07
AfCtailor also counts as a non-native tool in this regard.09:07
AfCrobsta: can't you just `svn_dump` or `svnadmin dump` or some such?09:07
robstaAfC: doesn't that require file-system access?09:08
robstawell, on the source machine i have it09:08
AfCrobsta: (sorry, yes it does. I was making an assumption)09:08
robstasvnsync wants special hooks set, can i do that via DAV?09:12
* igc night all09:12
PengWhy not take this opportunity to switch to bzr? :)09:30
AfCPeng: good show09:33
robstabecause garage.maemo doesn't support it09:40
yaccJust wondering, can one host a complete project on launchpad? (Basically, do I need a sourceforge project first, or can I just host it on launchpad?)10:56
TFKyleyacc: yep (well, partially - lp doesn't do web hosting apart from what launchpad provides itself)10:59
yaccTFKyle: Well, that shouldn't be the biggest issue here ;)11:02
yaccOk, now I just need to refactor that pile of dung, so that my face does not flash red when thinking about publishing the code :)11:03
awilkinsAnyone want to talk about nested tree support?11:30
lifelessLarstiQ: ping ^11:32
awilkinsIncidentally, are the Pyrex extensions used on Windows?11:38
lifelesssure11:47
awilkinsYeah, I just spent those 9 minutes installing Pyrex / MinGW and find out the .pyd files are there already :-)11:49
awilkinsAh well, at least if I use a dev branch it'll run fast....11:50
lifeless;)11:50
lifelesshi thumper12:01
thumperlifeless: hi12:01
thumperlifeless: how goes London?12:01
lifelesscool12:02
=== mrevell_ is now known as mrevell-lunch
=== mrevell-lunch is now known as mrevell
jelmerare there any functions for parsing "bugs" revision properties yet?13:35
lifelessnot sure13:40
ubotuNew bug: #185072 in bzr "checkout MemoryError" [Undecided,New] https://launchpad.net/bugs/18507213:40
* jelmer is trying to spend 5 spare minutes implementing a "bugs" tab in bzr viz13:41
lifelesscool13:41
lifelesshow is larstiq these days?13:41
AfCheh. I just spent "5 minutes" on something. 5 hours later...13:42
awilkinsYeah, it always happens when you have a deadline for something else too13:43
awilkins"Oh, if I spend 5 minutes implementing foo, it'll make doing bar a lot faster..."13:44
AfCWell I have a deadline for sleep. See ya13:44
* awilkins slurps coffee13:45
awilkinsI may take a nap though, wifey kept me up snoring all night13:45
jelmerlifeless: he's back on IRC but a bit busy with other things afaik13:51
=== mw|out is now known as mw
=== kiko__ is now known as kiko-phone
jelmerok, little bit more than 5 minutes :-)14:33
jelmerhttp://samba.org/~jelmer/bzr/bzr-gtk-bugs.png14:33
jelmerhmm, likewise it should be possible to select the bug you've fixed using gcommit14:36
jelmerlifeless: There doesn't happen to be some pygtk app that allows browsing launchpad bugs ?14:36
lifelessthere is bughelper, which is cli14:37
jelmerah, ok14:38
mtaylorNoSuchRevision: KnitRevisionStore(VersionedFileStore('file:///home/mtaylor/src/ndb-connectors/.bzr/repository/')) has no revision mtaylor@mysql.com-20080120230546-5k2iof52169dzz7x14:39
mtaylorI was trying to do a bzr diff14:39
ubotuNew bug: #185086 in bzr "No easy way to access "bugs" revision property" [Wishlist,Triaged] https://launchpad.net/bugs/18508614:41
jelmermtaylor: Is this a repository originally imported from svn?14:41
mtaylorjelmer: nope14:41
mtaylorjelmer: this is a pure bzr repos14:41
mtaylorso I also now get this, when I try to branch that branch to somewhere else:14:42
mtaylorbzr branch devel develnew14:42
mtaylorbzr: ERROR: The branch devel has no revision None.14:42
jelmermtaylor: which repository format?14:42
mtaylorShared repository with trees (format: dirstate or dirstate-tags or knit)14:43
lifelessmtaylor: can you do a bzr check ?14:43
mtaylorbzr check14:44
mtaylorbzr: ERROR: Revision {mtaylor@mysql.com-20080120230546-5k2iof52169dzz7x} not present in "revisions".14:44
=== naee is now known as eean
lifelessdo you use NFS ?14:44
mtaylornope. this is on my laptop14:44
mtaylorxfs14:44
lifelessok, bizarre14:44
lifelessso here is what bzr hinks is going on14:44
mtaylorthis is not the first time this has happened to me14:44
lifeless.bzr/repository/revisions.kndx does not list mtaylor...zz7x14:44
mtaylorok14:45
lifelessbut .bzr/branch/* does14:45
lifelessare you using rsync to move data around or anything like that?14:45
mtaylornope. just normal bzr14:45
lifelessif this is happening repeatedly, something is causing it not cosmic rays :)14:45
lifelessyou don't use 'rspush' ?14:45
mtaylornope. just push and pull and branch over bzr+ssh14:46
lifelesswas this revision the same one that the problem occured in before?14:46
lifelessand are you able to upgrade to packs :)14:46
lifelessthe only likely thing I can think of is:14:46
mtaylorI can certainly try  - but no, the last time this happened I just created a new repos, branched from pushed branches and manually added the diffs back14:47
jelmermtaylor: have you run xfs_fsr recently?14:47
mtaylorjelmer: no. should I?14:48
jelmermtaylor: no, but apparently that could be a cause for corruption14:48
mtaylorah.14:48
jelmerI see another report on the mailing list about corruption on XFS14:48
mtaylorI did have my laptop power off due to battery death on the plane the other day14:49
jelmerhttps://lists.ubuntu.com/archives/bazaar/2007q3/029036.html14:49
mtaylorI would be very sad if that caused something to not be written to disk14:49
jelmerIt seems somewhat likely to me this is related to XFS since it's not that commonly used and I can't recall any corruption reports in the last year except from the one I just linked to14:52
jelmerthat may be a somewhat premature conclusion, though14:52
mtayloryeah.14:52
mtaylorwould it be helpful at all for me to tar up my repo and send it to someone?14:52
mtaylorlifeless: should I be using packs for everything now?15:01
mtaylorso, now I'm also getting this:15:15
mtaylorAttributeError: 'NoneType' object has no attribute 'as_dict15:15
mtaylorwhen I try to pull15:15
mtaylorit seems to be in:15:15
mtaylor File "/usr/lib/python2.5/site-packages/bzrlib/lockdir.py", line 445, in _parse_info15:15
mtaylor    return read_stanza(info_file.readlines()).as_dict()15:15
mtaylorlifeless: would a copy of my repos be helpful? it's a public project15:22
ubotuNew bug: #185095 in bzr-gtk "gcommit should provide ability to mark bugs as fixed" [Wishlist,Triaged] https://launchpad.net/bugs/18509515:35
=== phanatic_ is now known as phanatic
lifelesshi mtaylor sorry I was distracted by the boss :)15:38
mtaylorlifeless: darn bosses15:38
lifelessmtaylor: yes, packsa re good kthxbye15:38
mtaylor:)15:38
lifelessso your bug the only ting I can think of is:15:38
lifelessappend(revisions.knit)15:39
lifelessappend(revisions.kndx)15:39
lifelesswrite(branch_data)15:39
lifelesspoweroff -> branch_data committed, revisions.knit not15:39
mtaylorahhh15:39
lifelessAIUI xfs is very much against writing data to disk15:39
* mtaylor . o O ( 2pc between branch_data and revisions.knit )15:40
mtaylorlifeless: that sounds reasonable15:40
mtaylorlifeless: anyway you can think of to recover from this?15:41
lifelessuhm15:45
CardinalFangCustom tiny script to roll back that one change?15:47
lifelessmtaylor: what format branch is it ? (bzr info -v and look for Branch Format)15:51
mtaylorlifeless: that gives me a traceback15:52
mtaylor  File "/usr/lib/python2.5/site-packages/bzrlib/lockdir.py", line 445, in _parse_info15:52
mtaylor    return read_stanza(info_file.readlines()).as_dict()15:52
mtaylorAttributeError: 'NoneType' object has no attribute 'as_dict'15:52
lifelessless .bzr/branch/format15:52
mtaylorBazaar Branch Format 6 (bzr 0.15)15:52
lifelessoh!15:52
lifelessls .bzr/branch/lock15:53
lifelessand .bzr/repository/lock15:53
lifelesswe have at least one latent bug here15:53
mtaylormtaylor@solace:~/src/ndb-connectors-borked/devel$ ls .bzr/branch/lock/15:53
mtaylorheld15:53
mtaylormtaylor@solace:~/src/ndb-connectors-borked/devel$ ls ../.bzr/repository/lock/15:53
mtaylorheld15:53
lifelessok, ls in the held dir too ?15:53
mtaylorinfo15:53
lifelessin both ?15:54
mtayloryes15:54
lifelessok, can you please file a bug about that backtrace15:54
mtayloryes.15:54
lifelessyou can get the whole trace from .bzr.log15:54
lifelessseparately15:54
mtaylorwhich one?15:54
mtayloris this the bzr info -v produces a backtrace ?15:54
lifelessbzr info -v failing15:54
mtaylorok15:54
lifelessnow, bzr thinks that this tree is locked15:54
mtayloroh15:55
mtaylorwell that's silly15:55
lifelessits consistent with a poweroff failure and changes not being flushed to disk15:55
lifelessbzr break-lock15:55
mtaylor    return read_stanza(info_file.readlines()).as_dict()15:55
mtaylorAttributeError: 'NoneType' object has no attribute 'as_dict'15:55
lifelessshould let you break them; if it doesn't (and it may not as the info -v failure is indicative of a problem) we will brek them by hand15:56
lifelessrm the 'held' directories. That will let us start mutating the tree15:56
lifelessnow, we need to figure out the most recent commit15:56
lifelessinstall the 'heads' plugin15:56
lifeless(most recent commit that has been committed :)15:57
lifelesswe'll want to work on a copy of the tree not the tree itself.15:57
mtaylorok15:57
mtaylorcopy of the branch or copy of the whole repos?15:57
mtayloroh. nm... I've got a backup, I just tarred it up a second ago15:58
lifelessk15:59
lifelessnow15:59
mtaylorlooking for heads plugin15:59
mtaylork gotit16:00
denndais it me or is the latest bzr you can get from your repo much faster than the one in ubuntus repos?16:00
mtaylordennda: the one in ubuntu is old16:00
mtaylordennda: it's not just you16:00
denndaboy that is good news!16:01
mtaylorlifeless: ok. I' ve done all of that16:02
mtaylorlifeless: heads doesn't show my devel branch at all16:03
lifelessI think you --all16:03
lifeless*need*16:03
mtayloryup16:03
lifelessnow find a rev id you want to use16:03
lifelessinit a new branch (can be in the same repo if you like)16:04
lifelessbzr pull -r revid:REVID ../oldbranch in the new branch16:04
lifelessthis will give you a healthy branch, and we need to just recover your most recent commit16:04
mtaylorlifeless: it shows two entires for branch "devel"16:04
mtaylorboth of them show as (dead) revisions16:04
lifelessthats because the graph is incomplete16:04
mtaylorok16:05
lifelessare they both yours?16:05
mtayloryes16:05
mtaylorand one of them is the one I would want16:05
lifelessgood16:05
lifelessthne do the above16:05
mtaylorbzr: ERROR: Revision {mtaylor@mysql.com-20080120230546-5k2iof52169dzz7x} not present in "revisions".16:05
ubotuNew bug: #185103 in bzr "bzr info -v produces a traceback" [Undecided,New] https://launchpad.net/bugs/18510316:05
lifelessthat was in heads ?16:06
mtayloryes16:06
lifelesshrm16:06
mtaylorbut was listed as dead16:06
lifelessok, lets try a different approach16:07
lifeless:q16:07
* mtaylor is having fun with bzr today!!!16:07
lifelesspython16:07
lifelessimport bzrlib.repository16:07
lifelessr = bzrlib.repository.Repository.open('.')16:08
lifelessr.lock_read()16:08
lifelessheads =  r.get_graph().heads(r.all_revision_ids())16:08
mtaylorbzrlib.errors.NoRepositoryPresent: No repository present: "file:///home/mtaylor/src/ndb-connectors-borked/devel/"16:08
lifelessuse .. then :)16:08
mtayloroh, right16:08
mtaylordu16:08
mtaylorok. I have a heads set16:09
lifelessmtaylor: how big is it, and is ...7x in it ?16:09
mtaylorlifeless: there are 7 elements, and no, ...7x is not there16:10
lifelessgood :)16:11
lifelessok, we can look at each commit with:16:11
lifelessprint r.get_revision(revid).message16:11
lifelessone of the elements should be the previous commit on the damaged branch16:11
mtayloryes. there it is16:12
mtaylormtaylor@mysql.com-20080120223107-b1c4f5d4bez3g38h16:12
lifelessok, init another branch, pull that revid into it with the instructions from above16:13
mtaylorI'm still getting the bzr: ERROR: Revision {mtaylor@mysql.com-20080120230546-5k2iof52169dzz7x} not present in "revisions".16:14
lifelessok16:15
lifelessecho '0 null:' > .bzr/branch/last-revision16:16
lifelessthen try16:16
fullermdIf you do it in the same repo, couldn't you just 'pull -rfoo .', and save possibilities of getting confused by the b0rked branch?16:19
lifelessfullermd: yah16:20
mtaylorok. I tried pull -rfoo .16:22
mtaylorand I got: bzr: ERROR: Revision {mtaylor@mysql.com-20080120222208-5vy3xpyzb0pl7lcj} not present in "44/configure.in-20070228020914-u2pk759xg7thauwf-13.kndx".16:22
mtaylorand I tried echo '0 null:' > .bzr/branch/last-revision16:27
mtaylorin the new branch and then pulling and that didn't work16:28
mtaylorshould I try echo '0 null:' > .bzr/branch/last-revision in the devel branch?16:28
jrydberg_jelmer: if i use bzr-svn, do i get merge tracking? :)16:29
jelmerjrydberg_: Yes16:30
jrydberg_jelmer: how do you do that?16:31
jelmerjrydberg_: bzr-svn stores the non-lhs parents in a svn property16:31
jelmerwell, not the parents itself but the parent revids16:32
jrydberg_jelmer: cool.  do i still have to patch the python bindings?16:32
jelmerjrydberg_: yes, unless you are on Debian Sid/Lenny or Ubuntu >= gutsy16:32
lifelessmtaylor: I'm smeelling more and more data issues here16:37
lifelessmtaylor: is the copy on launchpad healthy ?16:37
mtaylorlifeless: yeah - I'm repulling that right now16:37
mtaylorlifeless: you think just use that an apply individual changes by hand?16:37
lifelessmtaylor: also, *really* move to packs: the non-append nature of that makes it much more robust against silly file systems (though not imune)16:37
lifelessI think use that and copy your working tree over the top16:38
mtaylorlifeless: ok. do I need to do anything to upgrade my lp repos?16:38
lifelessbzr upgrade sftp://bazaar.launchpad.net ..../16:38
lifelesssftp is important16:38
mtaylorfor the upgrade?16:49
mtayloroh, because lp doesn't have recent bzr16:49
lifelessmtaylor: no, because bzr+ssh doesn't have an upgrade verb today :)17:18
LarstiQlifeless: 'meh' sums it up currently17:50
LarstiQawilkins: you wanted to talk?17:50
guillaumebokiauUnable to obtain lock .bzr/checkout/lock17:53
guillaumebokiauwhat now ?17:53
guillaumebokiauI restarted the computer to no luck.17:54
guillaumebokiauI deleted /held/ to no luck17:54
awilkinsLarstiQ: I was wondering how the nested trees were doing :-)17:55
jelmerdoes "bzr break-lock" help?17:55
guillaumebokiauah, yes, thx17:56
LarstiQawilkins: at least from my side, not a lot of movement lately. But got an offer to tests on some reallife machines, so I'll be wanting to get back at it. Have to spend time in airports tomorrow, we'll see.17:56
guillaumebokiaubut when i commit now i get this :17:57
LarstiQawilkins: so the status is roughly, they exist but don't try to do too much with it if you're not willing to deal with breaking17:57
awilkinsLarstiQ: Ah, ok, I have some reasonably substantial VB6 projects with lots of use-of-common-library-but-not-linked-compiled-in17:57
guillaumebokiauCommitting to: /Users/guillaumebokiau/Sites/xpattern-1.0/17:57
guillaumebokiaumodified textpattern/lib/txplib_parse.php17:57
guillaumebokiau-------------- This line and the following will be ignored --------------17:57
guillaumebokiaumodified:17:57
guillaumebokiau  textpattern/lib/txplib_parse.php17:57
guillaumebokiauunknown:17:57
guillaumebokiau  bzr_log._4LcnW17:57
guillaumebokiau  css/articles.css17:57
guillaumebokiau  css/default.css17:57
awilkinsLarstiQ: So more testing material :-)17:57
guillaumebokiau  textpattern/.DS_Store17:57
guillaumebokiau  textpattern/config.php17:57
guillaumebokiau  textpattern/publish/newtaghandlers.php17:57
guillaumebokiau~17:57
guillaumebokiau~17:57
guillaumebokiau~17:57
guillaumebokiau~17:57
guillaumebokiau~17:58
guillaumebokiau~17:58
LarstiQguillaumebokiau: woha, easy there17:58
guillaumebokiau~17:58
guillaumebokiau~17:58
lukseek17:58
guillaumebokiau~17:58
guillaumebokiau~17:58
guillaumebokiau"bzr_log.Q_aXL4" 13L, 275C17:58
guillaumebokiauand it freezes or sthg17:58
guillaumebokiausorry for your ears :)17:58
LarstiQguillaumebokiau: please use a paste service if you got more than a few lines to show17:58
awilkinsYou're lucky this channel doesn't kick for excess flood17:58
LarstiQawilkins: good, good :)17:58
LarstiQawilkins: does code move across those subtree boundaries often?17:58
guillaumebokiauwill do17:59
awilkinsLarstiQ: I think the commonest case is where I patch the library a bit and want some of the changes but not all pushed to the main branch17:59
awilkinsLarstiQ: Or maybe all18:00
LarstiQah, ok18:00
awilkinsI've tried both common approaches - svn:externals and svn cp18:00
LarstiQawilkins: you're using svn as a backend?18:01
awilkinsawilkins: I'm using svn as my production VCS at present18:01
LarstiQand you'd want to keep it that way?18:01
awilkinsLarstiQ: I'm experimening with bzr because some of the things I'm having to do are very slow now18:02
awilkinsLarstiQ: The big one is this project where I'm having to do a lot of merging - in an automated manner, with possible trunk > branch merges followed by branch > trunk merges18:02
LarstiQok18:03
awilkinsLarstiQ: No nested trees in that one though, but I'm shuddering at writing it for svn ; the problem is it's for an Eclipse application and the bzr-eclipse plugin is rather ... green18:03
awilkinsI might actually want to leverage bzr anyway to make the branch management easier18:04
LarstiQhey Zindar18:06
guillaumebokiauanyone available to help me with the problem?18:06
LarstiQawilkins: how early in the process would you feel comfortable testing stuff out?18:06
beunoawilkins, you can file bugs for any bzr-eclipse features you'd like. The developer is fairly active, he just needs stuff to do  ;)18:06
LarstiQguillaumebokiau: when does it freeze? Did you write a commit entry and save it?18:07
guillaumebokiauyes, a couple18:08
awilkinsLarstiQ: I can find some time to set up a bzr repo and import some branches into it for my projects and the common library, and trty nesting it.18:08
guillaumebokiauIt seems I can uncommit though.18:08
guillaumebokiauwould that help : uncommiting the last commit?18:08
LarstiQawilkins: cool. I'll ping you when I have a current branch then.18:08
LarstiQguillaumebokiau: why would you do that?18:09
guillaumebokiauIn case it was the last commit that caused a problem18:09
awilkinsLarstiQ: I tried to branch it from launchpad but I got no joy, soes it need an upgrade or somehitng?18:09
guillaumebokiaubut no, that doesn't seem to solve it.18:09
LarstiQguillaumebokiau: I'm confused as to what your problem is, could you explain it once more please?18:09
awilkinsLarstiQ: I think I filed a bug for that18:09
LarstiQawilkins: what did you try to branch?18:10
awilkinsbzr-svn18:10
guillaumebokiauI try commiting. It then does that error code I posted above18:10
guillaumebokiauand creates a log18:10
guillaumebokiauwell, i don't even know if it is an error code18:10
LarstiQawilkins: be sure to name the resulting branch something like 'svn', that is, don't leave the - in the plugin name or it will not be seen as a valid plugin.18:10
awilkinsLarstiQ: Ah, the replay branch, sorry18:11
LarstiQguillaumebokiau: what exact error?18:11
LarstiQawilkins: now you're out of my league and into jelmer's, I don't know that much about bzr-svn :)18:11
awilkinsLarstiQ: Nothing to do with nested trees18:11
LarstiQawilkins: not directly at least, it may be a consumer of them18:12
awilkinsLarstiQ: That would be a potential use case, since I have the source in an SVN repo at present18:12
lifelessguillaumebokiau: can you comit if you do 'bzr commit -m " message here" ' ?18:12
guillaumebokiauah, maybe i forgot the message18:13
guillaumebokiauwill try18:13
awilkinsLarstiQ: And no immediate chance of changing that ; this is a government dept. and I only just managaed to convert them to SVN 2 years ago (from the "bung it on a shared drive and pray" method)18:13
guillaumebokiauok, that was it. stupid me18:14
awilkinsLarstiQ: For reference, they had been considering either CVS or Visual SourceSafe for 6 months....18:14
guillaumebokiauthanks lifeless and LarstiQ18:14
LarstiQawilkins: ah yes, the government is always fun :)18:15
LarstiQguillaumebokiau: np18:15
* LarstiQ goes afk for a while18:17
jelmerawilkins: there is no reason to be using the replay branch at the moment18:45
jelmerit's still a work in progress and doesn't provide any advantages over using the 0.4 branch18:45
awilkinsjelmer: Is improved speed not an advantage?18:47
awilkinsjelmer: Particularly since (AFAIK) it doesn't support a horizon.18:47
jelmerawilkins: the replay branch is a work in progress, it's not finished yet18:47
jelmerawilkins: it doesn't provide any advantages yet18:47
awilkinsjelmer: Yes, fair enough, I wasn't expecting to use it in production, I just wanted to look at the source18:47
awilkinsjelmer: Working replay would be a major plus point for bzr over the likes of SVK, which has replay but it doesn't work on Win3218:48
jelmerawilkins: replay != history horizon18:49
awilkinsjelmer: It makes a lot of difference on larger trees18:49
jelmerawilkins: or is the advantage of using svn_ra_replay() over a bunch of svn_ra_update() calls really that big?18:49
awilkinsjelmer: Yes, replay is not horizon, but without horizon, taking the full history of an SVN branch is a very prolonged task without replay18:50
awilkinsjelmer: SVK has enormous CPU demands even on fairly small trees (a few thousand XML files)18:50
awilkinsAnd that's perl, it's supposed to be astounding at that sort of thing18:51
jelmerawilkins: what makes replay so fast then? afaik the only thing you save is 1 roundtrip per revision18:51
awilkinsawilkins: I'm going to have to measure it now, aren't I :-)18:52
xifSo what's the deal with keyword substitution implementation in bzr?18:52
jelmerxif: there is none18:52
xifthe best I could find was this brain-dump: http://bazaar-vcs.org/KeywordExpansion18:52
jelmerxif: there is a specification, but nobody is working on implementing it at the moment18:52
jelmeryep, that's the one18:52
xifjelmer: hm, sucks, why not?18:53
xifsurely you bzrers can see how useful it would be!18:53
xifcan I write it in Python?18:53
jelmerxif: yes, but there's other important things as well...18:53
awilkinsjelmer: svnsync uses replay and it's very quick ; SVK doesn't and it't horribly slow and eats loads of CPU time on the client  - my observations are a bit empirical but I find it impractical on large changesets.18:53
jelmerawilkins: svk probably does more than just fetch the revisions though18:54
awilkinsjelmer: That's kinda the point ; I'm not sure what it's doing but it's just fetching one atomic commit (for a lot of files, thanks), either as diffs or whole revisions, and applying it to a local repository18:55
xifjelmer: can I write, in Python, an extension that adds this feature?18:55
jelmerxif: probably, although it may be necessary to make some changes to the core of bzr as well18:56
jelmerxif: it's probably a good idea to bring it up on the mailing list18:56
xifjelmer: hm, really?  all we're talking about is a script that runs just before the commit and does a regexp replace on committed files.18:57
jelmerxif: it's harder than that. You also don't want "bzr status" to report those files as modified18:57
xifI could implement it with svn hooks if I wanted to, without touching the svn codebase or even writing an extension.18:57
jelmeror "bzr diff" to show the lines with the keywords on them as changes18:58
jelmerawilkins: it would surprise me if replay had a significant impact on the speed of bzr-svn18:58
xifall I want is that if I commit a file that contains "$Rev: foo$", foo would be replace by the current revision before the commit.18:59
jelmeryou may be able to do that using a pre-commit, but I'm not sure whether such a hook is allowed to change the working tree19:00
xifjelmer: thanks.19:01
jelmerxif: afaik there's no way to do so with svn19:01
awilkinsjelmer: Hmm ; I guess it's an idea that's sticking in my head because it takes 5 minutes of CPU time to sync a single revision consisting of 1MB of XML spread across 708 files in SVK..... it would be quicker to export the files locally and check them in there, for heavens sake. I shall have to try bzr-svn and see how it compares on the same tasks19:02
jelmerawilkins: is SVK using svn_ra_do_update() and not just svn_ra_get_file() ?19:03
jelmer(708 roundtrips per revision instead of 1)19:03
awilkinsjelmer: Doesn't explain why it's pegging the CPU for 5 minutes, but i'll look at the source19:04
* awilkins head pounds from having to read perl19:15
=== kiko-phone is now known as kiko
Treeformhow is TortoiseBZR shaping out? looking at the page its still below bata quality! Is that true?20:32
brongerWhat is the difference between svn2bzr and bzr-svn?20:43
jelmerTreeform: yeah, it's a proof of concept and there's nobody actively working on it20:44
jelmerbronger: svn2bzr works on svn dump files and does't require a patch python-subversion20:45
jelmerbronger: bzr-svn requires a patched python-subversion but is better tested, allows pushing back to Subversion and actively maintained20:45
brongerThanks, but what is the difference as far as the resulting branch is concerned?20:45
jelmernot much20:46
jelmerthe one created with bzr-svn allows you to make changes based on it and push those changes back into svn20:47
brongerThe problem is that I cannot access the SVN repository as an admin, so I have no dump;  I wonder whether this means that I "lose" anything.20:47
jelmerbronger: bzr-svn allows working with a remote svn repository20:47
jelmersvn2bzr does not20:47
brongerMmmh ... good (for me).  So, svn2bzr is for real migration then, and of no value if you actually want to keep SVN?20:50
Odd_Blokebronger: I also believe I'm correct in saying that Debian and so Ubuntu ship the ready-patched bindings, so you wouldn't have to do it yourself on those cases.20:50
brongerOdd_Bloke: Yes, at least branchin works nicely.20:50
brongerSpeaking about Ubuntu ... adding the package sources for the current version (taken from Bazaar's HP), I lost bzr-svn because it wanted an older version of bzr.  It was not included into the repository, too.20:52
jelmerbronger: the up to date bzr-svn package is "deb http://samba.org/~jelmer/debian/ unstable/"20:52
jelmerbronger: svn2bzr is just older20:53
Treeformjelmer, thanks20:56
schierbeckjelmer: what do you think about the fancy-tags patch?21:02
schierbeckready for inclusion?21:02
jelmersorry, haven't had time to look at it yet21:05
schierbecknp21:06
brongerjelmer: Thanks, works nicely!21:11
Verterokmoin22:14
pooliehi22:16
Verterokpoolie: hi22:16
Verterokjelmer: Hi, do you have a few minutes?. It's a about bzr-svn and OS X 10.422:18
jelmerVerterok, sure22:18
Verterokgreat!22:18
jelmerabentley: what are your plans for bundlebuggy? Is it still being actively developed or in maintainance mode until launchpad takes over?22:19
Verterokjelmer: I spent the last two days trying to compile the svn python-bindings with XCode-2.5 (the latest version for 10.4)22:20
Verterok(I'll add a Tiger section in the wiki page tonight)22:20
ubotuNew bug: #185180 in bzr "Better messages when upgrade fails" [Undecided,New] https://launchpad.net/bugs/18518022:20
Verterokthe main problem is that Xcode-2.5 kill the libtool shipped with 2.422:21
Verterokafter installing libtool from macports all worked like a charm :)22:22
asabilschierbeck: ping ?22:23
Verterokall this introduction is to tell that I'ld like to build a pkg for svn-1.5 + bindings for OS X22:23
jelmerVerterok, ah, that would be awesome22:24
jelmerthe number of people that has been trying to use bzr-svn on Mac OS X has surprised me22:24
Verterokjelmer: a friend need bzr-svn features to keep in sync with a svn repo (hosted by his client)22:25
abentleyjelmer: active development22:26
jelmerabentley: Cool, thanks!22:26
Verterokjelmer: he found the build a limitation to his deployment needs (around 7 workstations need to work with bzr-svn)22:27
jelmerVerterok: if there's anything I can help with, please let me know.22:28
Verterokjelmer: I don't know where to look for instructions about how subversion is packaged for OS X22:29
schierbeckasabil: pong22:32
asabilschierbeck: did you merge the fancy tags crack to the baseline ?22:34
schierbeckasabil: not yet, i need another core dev to vouch in22:35
Verterokjelmer: (last question) bzr-svn needs a complete subversion install or with the libs+bindings is enough?22:35
jelmerVerterok: libs+bindings is sufficient22:35
jelmerVerterok: there doesn't appear to be packaging data in svn's svn22:36
Verterokoh, great!22:36
asabiloh oki22:37
Verterokjelmer: thanks,  I'll neeed  to get a collabnet user a search inside collbnet documentation22:37
asabilmaybe we can poke someone schierbeck ?22:37
schierbeckoh, i'm not sure if jelmer has time for it >:)22:38
Verterokjelmer: (real last question :-))  the libs+bindings can live side by side with a previous svn, like 1.4.4?22:39
jelmerVerterok: I don't think they can live together with bindings form an earlier version22:43
jelmerschierbeck: Sorry, hopefully I can have a look tomorrow22:43
jelmerI have an exam tomorrow that I still need to do some final preparation for22:44
Verterokjelmer: ok, thanks a lot!. good luck with your exam!22:44
schierbeckjelmer: me too22:47
schierbecksucks...22:47
awilkinsWhat is it that the Pywin32 package contributes to running bzr on Windows?22:48
poolieawilkins, from memory, we use it to take file locks, manipulate the terminal22:58
poolieunderstand errno values22:58
pooliestuff like that22:58
=== kiko is now known as kiko-afk
awilkinsHmm, I've been running without it ... I wonder if it's responsible for some of the errors I've been seeing22:59
poolieigc, hi23:00
igchi poolie23:00
spivAnd mark files hidden, I think?23:01
poolieawilkins, if it's said to be optional but it doesn't work without it, that would be a bug, one way or the other....23:02
poolieigc, quick call?23:02
igcpoolie: 10 minutes ok?23:02
pooliesure, call my mobile when you're ready?23:02
igcsure23:02
pooliehave you seen jam?23:03
poolieis he away this week?23:03
poolies//today23:03
pooliehe has been answering mail i guess23:03
spivYeah, he even reviewed some of my patches.23:05
jelmerman, fate is cruel. I have an exam on unit testing on the thursday of the Bazaar sprint :-/23:06
CardinalFangI added a simple patch/bug.  ubotu should have mentioned it by now.  https://bugs.launchpad.net/bzr/+bug/18519123:08
ubotuLaunchpad bug 185191 in bzr "add mnemonic diff to "commit" info {with patch}" [Undecided,New]23:08
CardinalFangHeh.23:08
awilkinsI swear that thing waits until it sees you in channel before it talks....23:08
fullermdAFAIK, it triggers off the bug mailing.  And I haven't gotten that bug yet, so...23:09
awilkinsI think it watches for urls23:09
awilkinshttps://bugs.launchpad.net/bzr/+bug/18519123:09
ubotuLaunchpad bug 185191 in bzr "add mnemonic diff to "commit" info {with patch}" [Undecided,New]23:09
fullermdWell, it grabs the URL's.  And bugs named by number.  Like, I could ask about bug 185190...23:09
ubotuLaunchpad bug 185190 in ubuntu "City (Pittsburgh) Associated w/ Wrong Timezone" [Undecided,New] https://launchpad.net/bugs/18519023:09
awilkinsbug replay23:10
awilkins18519023:10
fullermdBut it'll also announce the filed bug when the mail hits.23:10
ubotuNew bug: #185191 in bzr "add mnemonic diff to "commit" info {with patch}" [Undecided,New] https://launchpad.net/bugs/18519123:11
fullermdLike so.23:11
* fullermd pets ubotu.23:11
ubotuNew bug: #129334 in bzr-svn "Unicode exception while branching" [Low,Fix committed] https://launchpad.net/bugs/12933423:16
schierbeckasabil: try pulling from ~bzr-gtk/bzr-gtk/viz-tags with the --overwrite flag23:16
asabilk23:16
schierbecki've dropped using markup for now, i'll just deal with the tooltips when i have to23:16
asabilok23:18
=== cprov is now known as cprov-afk
awilkins!word23:49
ubotuA comprehensive list of of Windows-equivalent applications in Linux can be found at http://www.linuxrsp.ru/win-lin-soft/table-eng.html and https://wiki.ubuntu.com/WhatWindowsUsersWant23:49
cpintohi all23:52
cpintoi'm using bzr to be able to work disconnected from a subversion repo. after fetching the sources i did a bzr unbind. worked a little bit on them, committed stuff and i just did a bzr bind + bzr update as to update from the central repository. now I have a bunch of pending merges mixed with a few not yet merged changes to the code.23:52
cpintois there anyway to commit only the pending merges?23:52
ubotuNew bug: #185200 in bzr ""database is locked" bzr internal error" [Undecided,New] https://launchpad.net/bugs/18520023:56
fullermdNot really, no.  That's why you commit before update   8-}23:58

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