/srv/irclogs.ubuntu.com/2010/06/25/#bzr.txt

=== samuelswe is now known as samuelSwe
pooliehi spiv01:51
lifelessok, losa ping - again, sorry for the noisiness of this; there is something odd/wrong01:52
spivMorning poolie.01:53
pooliethanks for the stacking fix01:54
pooliethere are some more similar ones if you're keen01:55
poolieprobably currently untargeted but i would not object to fixing them01:55
spivAny specific ones in mind?  There are quite a few with the 'stacking' tag!01:56
poolienothing specific sorry01:57
pooliewhat did you have in mind to chase next?01:57
lifelesspoolie: shout when you have a minute (loom-diff topic)02:07
spivpoolie: submitting my bzr and bzr-builder branches to support the 'take just debian/ dir from a parallel import' case.  I have complete patches for both, but based on discussion on the list I think I'll leave out any CLI for it in the initial bzr patch.02:15
spivpoolie: that said, one of the other High stacking bugs looks fairly straightforward, so I'll queue that up to tackle too02:22
spiv(https://bugs.edge.launchpad.net/bzr/+bug/551525)02:22
ubot5Launchpad bug 551525 in Bazaar "reconfigure --unstacked doesn't quite work for lp branches (affected: 1, heat: 3)" [High,Confirmed]02:22
pooliespiv that would be nice, you could target that03:13
bendjI'm building 2.2b3.  On x86m builds & installs just fine.  On a similarly configured x86_64 box, however, it reports an "internal error": http://pastebin.com/8UK28NnA04:34
bendjBefore I report a bug -- does that, in fact, look like a bazaar issue, or likely something in my env?04:35
bendjI ask cuz of the different behavior on different arch ...04:35
lifelessits a bit hard to tell04:35
lifelessthat means that trace._bzr_log_filename is None04:37
lifelessdo you have logging disabled or something, perhaps ?04:38
bendjlifeless: Nope.  Was working ... at least before this build attempt.04:39
bendjnothing _should_ be significantly different abt this x86_64 box :-/04:39
bendjlifeless: aha.  well, sort of ... if I manually "rm /usr/local/bin/bzr" the previously installed bzr, then re- "python setup.py install", no more error.04:41
bendjshouldn't an install overwrite a preexisting bin?04:41
lifelessbendj: only if its installing to the same place04:42
bendjlifeless: it is ...04:42
bendjinteresting tried it on 3 x86_64 boxes, same behavior.  on x86 boxes, no req't to PRE-delete the nimady04:42
lifelesse04:42
bendjaghh! binary04:42
bendj(nimady? jeesh ...)04:43
lifelessnomstu surely ?04:43
bendjheh ... smart___ ;-)04:44
bendjeasy enuf -- added to my notes.  thx!04:45
AfCIf I want to get the branch of an Ubuntu package [presumably from Launchpad] (as opposed to an upstream hosted on Launchpad), is there a special command or URL to use?05:17
spivIIRC, lp:ubuntu/src-package-name (or e.g. lp:ubuntu/maverick/src-package-name to explicitly get the maverick version)05:22
* AfC tries that05:28
AfCspiv: yes,05:30
AfC$ bzr branch lp:ubuntu/bc05:30
AfCspiv: worked.05:30
AfCKind of a shame that all the revisions show as being made by Bazaar Package Importer <james.westby@ubuntu.com> instead of whomever the original committer in Debian or Ubuntu was.05:31
pooliehi afc05:32
AfCpoolie: hello Martin, nice to see you05:32
poolieyou too05:32
lifelessAfC: I think it sets author now05:50
lifelessAfC: so log can show it05:50
AfCoh.05:50
AfCso does that mean those branches will be superseded with new ones?05:51
AfClifeless: ^05:51
lifelessmaybe someday05:51
lifelessmagic 8 ball says 'drink some beer'05:51
AfClifeless: cool!05:51
AfCNo, that was "cool that the bzr branches will be fixed", not "cool that you're drinking and we05:52
AfCare not" :)05:52
lifelessAfC: actually I'm working @ poolies today05:56
=== oubiwann is now known as oubiann
AfClifeless: still, though, all in all the "go drink beer" meme is a good one. I think we might take your advice.06:13
lifelessAfC: be my guest :)06:14
mgz<bendj> I'm building 2.2b3.  On x86m builds & installs just fine.  On a similarly configured x86_64 box, however, it reports an "internal error": http://pastebin.com/8UK28NnA06:17
mgz^I actually get some test failures like that in my setup, because I don't init logging06:17
mgzreally that line shouldn't assume that trace._bzr_log_filename is a string06:18
pooliespiv, lifeless, did one of you mention an updated network delay simulator?06:19
parthmlooks like an interesting ssl bug got fixed upstream in python http://bugs.python.org/issue9075 ... was posted on reddit.06:22
spivpoolie: I don't think that would have been me.06:25
=== davidstrauss_ is now known as davidstrauss
lifelessmgz: I'm in that area now, I'll do something to it (stabby stabby)06:30
pooliei'm trying to reproduce bug 590638 between here and chinstrap06:31
ubot5Launchpad bug 590638 in Bazaar "hpss protocol buffers too much outgoing data (affected: 1, heat: 11)" [High,In progress] https://launchpad.net/bugs/59063806:31
poolieas another machine on a similar network06:31
poolieunfortunately it's only sending fairly large stream parts06:31
poolieso the effect is not very obvious06:31
mgzlifeless: cool06:35
mgznow I need to stop playing and pack my things06:35
spivpoolie: IIRC, igc saw a variety of large and small stream parts when fetching lp:launchpad, perhaps try using that as the data?06:39
vilapoolie: There is SocketDelay in stub_sftp..06:56
* vila not fully here yet06:56
vilapoolie: but a vm sounds like an easier way to truly simulate that (ymmv, etc)06:57
pooliespiv, i think when i branched from lp to chinstrap it probably got repacked into something less fragmented?07:20
lifelessyes07:23
lifelessit will be optimus prime now07:23
vilahi all07:24
spivpoolie: hmm, I guess you could grab the files via sftp.07:27
=== khmarbaise__ is now known as khmarbaise
=== oubiann is now known as oubiwann
sebi_`I accidently added .git/ to my branch with "bzr add .", but after "bzr remove .git", bzr actually erased the *physical* location.. what's the deal with that?08:05
sebi_`er, bzr rm .git08:06
spiv'bzr revert .git; bzr rm --keep .git'08:06
sebi_`I just wanted to remove it from my branch ):08:07
sebi_`bzr revert .git brought at least .git back, thanks08:07
spiv'bzr rm FOO' will automatically delete FOO if it is safe to do so, i.e. if the file(s) to delete were committed and unchanged, because when people 'rm' things they usually want them removed completely :)08:07
spivIf you'd never committed the .git directory, then 'bzr rm' would have defaulted to 'bzr rm --keep'08:08
sebi_`true, but git rmtree $path only removes the data from the branch, if it has been accidently pushed08:08
sebi_`I didn't commit yet08:08
sebi_`okay, well, time to study the docs again, I guess :P08:09
sebi_`also, are comments allowed in the .bzrignore?08:09
spiv'bzr revert' reverts to the last committed state... so if 'bzr revert' brought it back, you must have committed it.08:09
sebi_`errr yeah. commited, but not pushed08:09
spivLeading #, I think.08:10
sebi_`okay08:10
spivDepending on how recently you accidentally committed that directory, you might find 'bzr uncommit' helpful.08:11
sebi_`it looks like no sensitive data has been added, so I guess it's fine08:14
pooliehi there vila08:37
vilahey poolie08:38
pooliehi spiv, vila08:39
pooliefor reasons i'm about to post to bug 582157, i couldn't prove that flushing the hpss stream more often makes things faster08:39
ubot5Launchpad bug 582157 in Bazaar "pull from launchpad is slow (affected: 1, heat: 8)" [High,In progress] https://launchpad.net/bugs/58215708:39
pooliebut i'm still pretty sure it will help in some cases08:39
vila:)08:39
poolieso i think i'll send it up anyhow08:40
vilawhen have no scientific proof, trust the experts :)08:40
vilas/have/you have/, typos....08:40
poolie:)08:41
spivpoolie: My suspicion is it will help a small amount.  I certainly don't expect it to hurt, at least not for the uses we currently use body streams for.08:41
spivpoolie: so, your inconclusive results match my expectations :)08:41
poolieme too08:41
pooliei had to adjust or cut a couple of tests about how many flushes there were08:42
pooliei hit https://bugs.edge.launchpad.net/tribunal/+bug/59834808:42
ubot5Launchpad bug 598348 in Tribunal "poor handling of wide error messages (affected: 1, heat: 6)" [Medium,Confirmed]08:42
pooliewhen they fail they print the whole 1.5MB stream :)08:42
spivHeh.08:42
pooliethough it is nice the test is there08:42
=== oubiwann is now known as oubiann
=== oubiann is now known as oubiwann-away
=== oubiwann-away is now known as oubiwann
GaryvdMHi all08:58
vilahey GaryvdM !09:02
GaryvdMHi vila09:02
GaryvdMDoes use of ctypes reduce portability?09:19
poolieGaryvdM: it depends what you do with it :)09:35
poolienot necessarily09:36
GaryvdMHi poolie!09:36
GaryvdMpoolie: http://code.activestate.com/recipes/496960-thread2-killable-threads/09:36
pooliewow09:37
poolieok, good night all09:39
lifelessgnight09:39
lifelessbtw09:39
lifelesspaste09:39
lifelessloggerheads web engine09:39
lifelesshas that code already09:39
GaryvdMnight poolie09:39
poolielifeless: which bit? thread killing?09:39
lifelessyes09:40
GaryvdMOk - I feel better about using it then.09:41
pooliein qbzr?09:41
GaryvdMYes09:41
C-KeenHi! I am comming from darcs and hg/git and I was wondering if I am expecting the wrong thing here: if I do a merge from a remote branch to my own, should I see the other branche's commits in history?09:50
poolieC-Keen: yes, use 'log -n0'09:55
C-Keenpoolie: that's cool! thanks!09:57
C-KeenI like how bazaar handles history!09:57
C-Keenpoolie: another question. Can I tell bzr to commit merges if my tip does not diverge?09:59
jelmerC-Keen: you would probably want to use 'bzr pull' in that case rather than merge10:06
C-Keenah ok10:07
GaryvdMC-Keen:  bzr merge --pull . That will pull if the branches have not merged, and will merge if they have.10:38
GaryvdM*have not diverged10:38
C-Keenah!10:39
GaryvdMOfftopic question, but it is for qbzr dev:10:46
GaryvdMIs there a way to tell grep to use single line mode.10:47
GaryvdMi.e. "." should include \n10:47
GaryvdMI've read man grep about 3 times and I can't see anything.10:47
Kinnisongrep explicitly operates on lines10:48
GaryvdMI want to find:  lazy_import.*'''.*bzrlib\.plugins\.qbzr\.lib\.trace.*'''10:48
Kinnisonyou can tell by the "...for lines containing a match..." in the first paragraph of the description.10:48
GaryvdMIs there maybe an alternative to grep that can do that?10:50
* GaryvdM looks if he can use ack...10:53
spivKinnison: I think by "single line" GaryvdM means "as if entire file were a single line", perhaps, so he can search for patterns that span \n.  I'd probably call that "multi-line matching" myself.10:55
spivGaryvdM: i.e. you're looking for the equivalent of re.DOTALL in Python's re module?10:56
Kinnisonspiv: yeah, grep doesn't do that10:57
GaryvdMspiv: yes - re.DOTALL is what I need10:58
GaryvdMspiv: and that is the same as re.S which in refered to as single line mode in some places.10:59
GaryvdMhttp://blog.stevenlevithan.com/archives/singleline-multiline-confusing10:59
GaryvdMSo confusing...10:59
=== sebi_` is now known as sebi`
vilajelmer: ping13:00
vilajelmer: Ping13:41
jelmervila: pong13:46
vilalosa: regarding bug #525571, do you still have some corrupted subversion.conf file around ?15:04
ubot5Launchpad bug 525571 in Bazaar "No locking when updating files in ~/.bazaar (affected: 6, heat: 52)" [High,In progress] https://launchpad.net/bugs/52557115:04
mthaddonvila: not that I'm aware of15:05
exarkundoesn't the ticket description describe how to produce one?15:05
exarkun(and also include one?)15:05
vilaexarkun: there is one mentioned in the bug description but I wonder if it is complete...15:06
exarkunvila: I'm the reporter.  It is.15:07
vilaexarkun: good to know !15:07
vilathat's very weird that configobj created an *empty* section with the name of an existing one...15:08
vilaI can't imagine  scenario (even with two processes writing to the same file) that could give such a result,15:09
exarkunHm yea, that's interesting.15:09
vilathe whole section duplicated, I can, with some efforts :), imagine that both were trying to create the same content, but an empty one...15:10
=== beuno is now known as beuno-lunch
=== deryck is now known as deryck[lunch]
=== beuno-lunch is now known as beuno
=== beuno_ is now known as bueno
=== bueno is now known as beu\no
=== beu\no is now known as beuno
=== oubiwann is now known as oubiwann-away
=== deryck[lunch] is now known as deryck
evantonis there a tool that would allow me to import revisions from a bzr repo into a subdirectory of another bzr repo? My final goal is to join a lot of small bzr repos into one, where each small repo will be a directory in the big repo18:56
evantonbasically I want to give as arguments small repo location, new big repo location, directory name and let the tool pull revisions one by one and add them to the custom directory in the big repo18:57
beunoevanton, so, the opposite of that would be to use "bzr split", which I think is in bzrtools19:09
beunoI'd expect there to be an equivalent19:10
fullermdIt's in base, not bzrtools.19:11
fullermdAnd the command is 'join'.19:11
fullermdIt's essential the equivalent of merge + move the root of the merged tree.19:11
beunoI am so outdated...19:23
jmlxxHi All!20:05
jmlxxanybody have any info/insight as to why Bazaar Explorer wont launch on Win7 x86 platform?20:06
jmlxxusing the default settings during install, i get an error when trying to launch the program "Unable to execute file: BZR - Create Process failed; code 2, The system cannot find the specified file"20:06
jmlxxanyone??20:09
VSpikeheya. bzr just threw and exception on me during a push by sftp.  The last line (more or less) was SSHException: Server connection dropped:20:51
VSpikeIt asks me to file a bug report, but it seems to me that this is probably normal?20:52
VSpikeALso, what's the best way to recover? Just bzr break-lock and repeat the push?20:53
lifelessVSpike: yes20:56
=== oubiwann-away is now known as oubiwann
lifelessVSpike: uhm sounds like an error case we aren't explicitly handling yet - could you please file that bug, we'll make it prettier when it happens.20:57
VSpikeokie doke20:57
VSpikedoes that answer still apply if I mention I'm running the cygwin version? ;)20:57
lifelessyes20:57
VSpikeLooks like Bug #386036 to me21:01
ubot5Launchpad bug 386036 in Bazaar "SSHException causes bzr to crash (affected: 1, heat: 2)" [Medium,Confirmed] https://launchpad.net/bugs/38603621:01
lifelesswah yes21:03
lifelessyou could me-too it21:03
VSpikeDone :)21:04
VSpikehttp://pastebin.com/Zm9D0Umg21:50
VSpikeAny ideas what to do about this error?21:50
VSpikeHmm keep getting same error (apart from file names) when I repeat the attempt22:34
maxbVSpike: about the only thing I can think to check is file permissions on the repository22:40
VSpikemaxb: the permissions look ok.  I can see the files in /.bzr/repository/upload that are still there.  Interestingly, the destination file that it wants to rename to in ../packs/ already exists22:45
VSpikeperhaps that's why it cant rename the file?22:45
maxbsounds entirely plausible22:48
VSpikeAha. Bug 51617923:25
ubot5Launchpad bug 516179 in Bazaar "bzr push confused by existing pack file (affected: 1, heat: 1)" [Medium,Confirmed] https://launchpad.net/bugs/51617923:25

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