/srv/irclogs.ubuntu.com/2012/08/01/#bzr.txt

=== echo-are` is now known as echo-area
bradmafternoon03:47
bradmI'm seeing a weird error in a bzr tree:03:47
bradmAssertionError: get_next() called when there are no chars left03:47
bradmany hints on what it could be?03:47
lifelessbradm: yes, you have a truncated dirstate file.04:56
lifelessbradm: e.g. something powered off or killed a bzr process mid-write.04:56
lifelessbradm: you'll need to replace the dirstate with a fresh one.04:57
bradmlifeless: that's enitrely possible with this system04:57
bradmlifeless: I've fixed similar type bugs by branching and then copying the dirstate file back, that seemed to help05:00
lifelessyes05:01
lifelessthats exactly what you need to do.05:01
lifelessAnd try not to kill bzr so willynilly ;)05:01
bradmthe last error message was a bit more helpful, this one suggested it was an internal error and to file a bug05:01
lifelessah05:03
lifelessworth reporting a bug05:04
lifelesssame root cause but the error could indeed be better05:04
fullermdY'know there's some command to write out a fresh dirstate.  Saves the manual branching and copying around.06:01
vilabzr help repair-workingtree06:33
bob2bzr atomically-write-to-files-to-begin-with07:26
vilabob2: bug #98836 ?07:27
ubot5Launchpad bug 98836 in Bazaar "[MASTER] "OS locks must die" - dirstate file write locks exclude readers and limit portability" [High,Confirmed] https://launchpad.net/bugs/9883607:28
bob2hahaha07:29
bob2:)07:29
vilaAFAIR, dirstate is the only file bzr modifies in place07:29
mgrandii used to get a lot of errors relating to locks >.>07:33
vilamgrandi: on windows ?07:38
mgrandiyeah07:39
mgrandican't really reproduce it consistantly though07:39
vilayeah, that's a pita, we know there is something going on but lack reproducible recipes :-/07:39
vilaor may be I'm not up to date with the details...07:40
mgzmorning08:13
bob2vila, why's it done in place?08:17
vilabob2: hysterical raisins :-/08:17
vilathere is code somewhere to switch to a different implementation but I can't remember where :-/08:18
bob2heh08:18
vilamgz: ghaa, I looked at the rename_map stuff... looks like I was over-optimistic :-(08:19
mgz:)08:25
vilamgz: on a more positive note, I've got a test for bug #95704908:48
ubot5Launchpad bug 957049 in Bazaar "bzr config -d lp:bzr is broken" [High,Confirmed] https://launchpad.net/bugs/95704908:48
mgzace, so you can stick that on top of larsiq's branch and land08:49
vilawhat ? Without review ? :-D08:50
vilasubmitted against 2.5, will merge up when it lands08:56
mgzwell, you could have put it up for review09:24
mgzbut I trust you to have got the small details right, and trust pqm to tell you if you got anything major wrong :)09:26
vilahehe, yeah, sure, but indeed the fix was quite simple (and right to the point), so a test failing without the patch was all that was needed09:34
=== yofel_ is now known as yofel
* mgedmin wants $(bzr nick) in his bash prompt13:02
LeoNerdEasy enough to arrange13:03
LeoNerdI have all sorts of crazy magic in my bash prompt; multiple VCS integrations, colours, job counts, pushd status,...13:04
mgedminI think I managed: https://github.com/mgedmin/dotfiles/commit/b8a3cbb9074ba6d6309835f2b884168f88975fbe and https://github.com/mgedmin/dotfiles/commit/80d0430c6181ac817ac3f63fa9fe7d5b42bf801f13:06
mgedmin(this was going to be url to commit #1 followed by "but it is amaaaaaaaaaaaAAAAAAzingly slow in svn checkouts", but then I discovered bzr help global-options)13:06
mgedminjob counts is interesting; could I see your bashrc?13:07
LeoNerdMm.. not terribly easily; it's split across about 20 files13:07
LeoNerdI'll dig out some piece13:07
mgedminalso, I'd like to compare the bzr solution -- maybe there's something more efficient/cleverer compared to what I have13:07
mgedminno github url?13:07
LeoNerder.. no?13:07
* mgedmin suddenly realizes github urls might not be the most politic thing to wave around in a #bzr channel13:08
LeoNerdhttp://pastie.org/4371428   some bits and pieces13:09
mgedminand the bzr bits?13:11
LeoNerdhttp://pastie.org/437144513:13
mgedminooh, clever, only look for dotted dirs when $PWD changes13:18
mgedmin(at the cost of not noticing when 'bzr init .' takes place, I suppose)13:18
LeoNerdYeah; I considered that reasonable13:29
LeoNerdbzr is fast enough without that, but p4 is waaaaaaayslow13:29
yolandahi, can i get some help? i'm having a problem doing a merge, it says 2 revisions are identical, but they do have changes15:02
thomiIs there a way to stop bzr checking the host authenticity for bzr+ssh connections? Alternatively, can anyone suggest why it might keep asking again and again for the same host?15:06
LeoNerdSomething in your .ssh/config file?15:08
LeoNerdHave you set the hostkey file to /dev/null?15:08
* thomi checks15:12
thomiLeoNerd: nope, the IdentityFile and User is set for that host, but nothing else15:13
mgzyolanda: need more details to give any kind of answer15:18
mgzthomi: do you get the same thing if you just ssh to the host? if so, it's not a bzr issue, use `ssh -vv` to debug15:18
mgzI'd guess something like known_hosts having the wrong perms15:19
thomimgz: yes, the same thing happens if I ssh manually. If I manually accept the key, it works for a while, and then starts failing sgain :-/15:21
thomi...almost as if somthing is overwriting the known_hosts file15:21
thomianyway, i guess we know it's not a bazaar issue :)15:22
mgzah, if it accepts it for a bit sounds more like something along those lines15:25
mgzI'd try and catch a few that fail with -vv, and double check the fingerprint is actualy static, and keep a few known_hosts copies15:26
mnnhi, everyone... is cherrypicking that bad?17:33
mnnbecause I somehow managed to do it and now in bazaar explorer's log's context menu is showing Reverse cherrypick17:34
mnnis it something I need to worry about?17:34
mgznope, it's a useful thing, but doing it by accident doesn't sound normal17:37
mgzbasically it's a merge of a revision range, which is then just the content of those changes, rather than any of the revision data17:38
mnn^^ well, if I remember correctly, I merged into my trunk just one file from other branch17:40
=== deryck is now known as deryck[lunch]
mnnmgz: and why no revision data is merged?17:47
mgzbecause you're not actually merging that revision18:06
=== deryck[lunch] is now known as deryck
=== zyga is now known as zyga-afk
=== jam1 is now known as jam

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