/srv/irclogs.ubuntu.com/2010/05/14/#bzr.txt

igcmorning all01:39
* fullermd waves at igc.01:39
Peng_Good morning.01:39
igchi fullermd!01:39
fullermdIt's so peaceful 'round here while everyone else is off summitting  ;)01:40
jbowtieWhat does an uncommit actually do?  I had a pull get aborted last night and repository is in inconsistent state.02:10
jbowtieReturns true for has_revision(X) but doesn't actually contain that revision.02:11
jbowtieI'm wondering if I should try and salvage the repository or not.02:11
Peng_uncommit doesn't do anything to the repo, just the branch.02:12
jbowtiePeng_: Unfortunate for me. Maybe I can cheat and try to add the revision again, it's not in a consistent state so it might work.02:15
Tim-7967hi, can somebody help me figure out whats wrong with my copy of Bazaar?02:29
thumperTim-7967: what's up?02:29
Tim-7967when I type bzr init I get this: http://pastebin.com/HVtDw2aZ02:29
Tim-7967obviously its a problem with Python on OSX02:29
Tim-7967but I've tried installing Bazaar through the DMG and MacPorts... and neither seem to work and produce the same error02:30
thumperok, so you are using OSX?02:30
Tim-7967yes, 10.6 Snow Leopard02:30
thumperand how did you install bzr?02:30
Tim-7967originally through the Disk Image available at the website02:31
Tim-7967then I tried it through MacPorts after that error showed up and had the same results02:31
* thumper knows nothing about OSX02:31
thumperok02:31
thumperthose errors are saying that some plugins aren't working02:31
Tim-7967think of screwed up BSD, and then you have something to reference too :P02:31
thumperbut that won't stop bzr working02:31
thumperI'll just be noisy02:32
thumperthe plugins should be installed in ~/.bazaar/plugins02:32
thumperif they are local02:32
thumperare they local or system plugins?02:32
Tim-7967lemme check02:32
Peng_jbowtie: What format repo is this? It should not be possible for it to become inconsistent.02:32
thumperbzr plugins -v02:32
Peng_jbowtie: Hey, could you take a backup before you do anything to it, in case someone wants to debug it?02:33
Tim-7967I would think it would be system as its refering to the Library folder02:33
Tim-7967Yes, they are system plugins02:33
thumperwhich version of bzr are you using?02:34
Tim-7967bzr 2.1.102:34
thumperhmm...02:35
thumperdid you install the pipeline and rebase plugins separately?02:35
Tim-7967no02:35
Tim-7967they *should* have been installed automatically02:36
Tim-7967I selected install all when i was installing Bazaar02:36
jbowtiePeng_: Will see, might have too much internal data in it to pass around though.02:36
thumperit looks then like there is a bug in the installer as the versions it is installing aren't compatable02:37
thumperan email to the bazaar mailing list may be in order02:37
thumperI don't know who looks after the OSX bits02:37
thumperor a bug in Launchpad02:37
jbowtiePeng_: It's a 2a repo, but it was converting from a TFS repo; probably a bug in my TFS code caused the abort. But would have thought revision would not have committed in that case.02:37
Tim-7967ok, trying out the beta one and seeing if it makes any differance02:39
thumperok02:40
Tim-7967"*** Bazaar has encountered an internal error.  This probably indicates a02:40
Tim-7967    bug in Bazaar.  You can help us fix it by filing a bug report at02:40
Tim-7967        https://bugs.launchpad.net/bzr/+filebug02:40
Tim-7967    including this traceback and a description of the problem."02:40
Tim-7967maybe not :P02:40
* Tim-7967 casually ignores the additional warnings and downgrades to stable release branch02:42
Tim-7967-_-02:53
Tim-7967I've had more problems with bzr then git, cvs, svn and several other package managers combined :P02:53
Peng_jbowtie: OK, import bugs could create a wildly invalid repo, so that could be it..02:53
Tim-7967I'll wait a little while for some bugs with bzr and OSX 10.6 to be fixed before using it02:54
Tim-7967:/02:58
Tim-7967did somebody just bring the launchpad site offline?02:59
Tim-7967"Firefox can't find the server at launchpad.net."02:59
Peng_Tim-7967: WFM03:01
Tim-7967WFM?03:01
Peng_Works For Me03:01
Tim-7967it must have been my DNS03:02
Tim-7967I just flushed it and it was fine :P03:02
* Tim-7967 curses OpenNIC and its tendancy to screw up DNS every 3 hours03:02
Peng_Then why use it?03:02
Tim-7967because its awesome03:03
* Tim-7967 also points to cloak03:03
Peng_Heh.03:03
* Tim-7967 exclaims!03:04
Tim-7967I've had my project for ~1day... working on uploading stuffs03:04
Tim-7967and somebody already forked it 0_o03:04
Tim-7967https://launchpad.net/nyx03:04
thumperwhat do you mean someone forked it?03:06
thumperTim-7967: oh you have startcommander-x?03:07
Tim-7967*StarCommanderX :P03:07
Tim-7967I need a new name for it anyways03:07
Tim-7967I used to call it starbot03:07
Tim-7967and did it in PHP03:07
Tim-7967it always screwed up though03:07
=== dabomb69 is now known as Chazz
rockstarHoly crap.  The user experience for bazaar in Windows is terrible...05:10
jbowtierockstar: Really? I've had excellent experiences with it.05:15
jbowtierockstar: Anything specifically bothering you?05:16
fullermdWell, it IS on Windows...05:16
rockstarjbowtie, lots of things.  I'll file bugs and whinge to jam in the morning.05:19
parthmjam: http://pastebin.com/CZBzX4Lq07:25
jamparthm: http://pastebin.com/eLuhbYR207:28
Peng_"bzr info nosmart+lp:bzr" is shorter07:29
Peng_parthm: 2a MySQL? :D07:29
parthmPeng_: Yeah :) ... I wanted one for testing07:32
parthmPeng_: I couldn't upgrade it locally so I push it into +junk and launchpad did it nicely.07:33
Peng_Pah, kids these days. I did it locally before LP supported that.07:39
Peng_Not literally locally. I got a VPS with 8 gigs of RAM...07:42
parthmPeng_: Nice :)07:49
Peng_branch/pull themselves weren't that bad, but "bzr check" used like 5 gigs.08:03
Peng_Fun times.08:03
jelmerPeng_: yeah, check definitely needs some work..08:38
jelmerlifeless: let me know when you have time to look at foreign stuff :-)08:38
lifelessjelmer: come on by, the waters warm08:40
Peng_Version control slash fics?08:41
jelmerlifeless: *nod*08:45
fullermdPeng_: Isn't that what rebase is for?   :p08:46
spivlifeless: https://code.edge.launchpad.net/~spiv/ubuntu/lucid/paramiko/address-families-579530-lucid/+merge/25297 :P08:53
lifelessspiv: your next step is to ping james_w or another main committer09:06
spivlifeless: ta09:10
mwhudsonjam: ooh, we can delete loggerhead.apps.config now i think09:21
mwhudsonthis makes me happy, because that is _horrible_ code09:21
=== nlisgo_ is now known as nlisgo
jammwhudson: because it was used only in start-loggerhead?09:36
mwhudsonjam: right09:36
jamIt is  still in the test suite, but we can fix that :)09:36
mwhudsonoh09:36
mwhudsonwell yeah09:36
jamI'm trying to clean it up now, because there were a lot of places that weren't passing 'cachepath' which is no longer optional09:36
jamand its being a little bit tricky09:36
jambut I'll get there09:36
jam(we have a temp dir to put the work in, just having some difficulty cleaning up after each test)09:37
jammwhudson: but yes, only one reference to Root is in the test suite that I can find09:37
jammwhudson: oh, and that ref actually isn't ... referenced :)09:38
jam'loggerhead.tests.test_simple.test_config_root" doesn't seem connected to anything09:38
jam\o/ for delete paths09:38
Peng_jam: BTW, I haven't looked into this much at all, but I occasionally see a KeyError in get_revno.09:41
Peng_Haven't pulled the latest code -- maybe it changes things.09:41
jamthe *latest* code is currently broken, but I'm finishing up some edges09:42
Peng_Heh.09:42
jamI've been working on it with mwhudson this week09:42
jamI just merged history-db code into loggerhead so it isn't an external dependency09:42
jamand some other stuff like that09:42
Peng_I'm without email at the moment, which makes it hard to keep up with things, but ping me on IRC when you have something.09:42
jamk09:43
Peng_Thanks. :)09:43
Peng_Haha, I just noticed this on the line above the KeyError: # TODO: Should probably handle KeyError?09:44
lifelessjelmer: https://lists.canonical.com/archives/bazaar/2009q2/059263.html09:53
fstxximported from CVS, how to add more changes? We use cvs2svn to import a project from CVS. Unfortunately, som people continued in CVS, and others used bazaar.09:55
=== nlisgo_ is now known as nlisgo
amanicaabently I get the following when running `bzr help commands` today : ValueError: No help message set for <bzrlib.plugins.pipeline.commands.cmd_store object at10:09
lifelessamanica: interesting; it means a proactive code check is catching a plugin without help on a command10:15
lifelessplease file a bug on bzr-pipeline10:15
lifelesspreferrably with a patch :)10:15
* fullermd filed that on -keywords last night.10:15
=== vila is now known as mgz
hopeseekrHi.  I have a post-commit.sh designed for svn.  It uses svnlook (e.g. svnlook log -r2 only returns the commit message). Is there a plugin for BZR that provides the same functionality?11:26
mkanathopeseekr: What is your post-commit script actually doing?11:27
hopeseekrit's only 3 lines11:27
hopeseekrhttp://pastie.org/96007311:28
hopeseekri guess the format i want it in is Author RevNo "Commit Message" "changed files"11:29
hopeseekractually, i have no idea how to make a bzr post-commit hook, so this may all be moot11:32
lifelessits done via python11:32
lifelessyou write it as a small script in ~/.bazaar/plugins11:32
lifelessthere are some examples11:33
hopeseekro great; i absolutely suck @ python11:33
hopeseekri remember tyring to fix a *simple* bug in bzrweb; no go11:33
jamPeng_: so lp:~jameinel/loggerhead/history_db should be usable, and no longer depend on having bzr-history-db installed. I still have some more cleanup, and I know at least one view is broken. But I'm getting there.11:40
hopeseekrOK!11:53
parthmjam: https://code.edge.launchpad.net/~parthm/bzr/538868-message-for-heavy-checkout/+merge/2448311:59
fstxximported from CVS, how to add more changes? We use cvs2svn to import a project from CVS. Unfortunately, som people continued in CVS, and others used bazaar.12:30
fullermdcvs2svn doesn't support incremental conversion.12:34
fullermdI s'pose it's possible that it will output stuff similar enough that bzr fast-import can do incremental updates; I think it has some level of support for that.12:35
fullermdBut I wouldn't count on it.12:35
fstxxfullermd: I was thinking I could do another import to new branch in bzr, and then copy changesets from the old one12:37
fullermdWell, the new branch would be unrelated.  Maybe rewrite could do something with that; I don't know.12:37
James7Hi does anyone use Bazaar on Mac Snow Leopard?12:40
James7and if so, how can I uninstall it if the uninstaller doesn't work on Snow Leopard?12:41
fstxxfullermd: yes, metadata-wise it would be unrelated. I thought I could generate patches in one branch, and then apply them in the other12:48
fstxxsomething like what a gatekeeper would do12:53
fullermdYeah.  It's possible something in the rewrite plugin can help automate that.12:54
James7Erm, no one?13:04
=== nlisgo_ is now known as nlisgo
=== Chex- is now known as Chex
bialixabentley: re problem with encoding of diff header again. from DiffText.diff_text method can launch either internal_diff or external_diff function. but external one has no path_encoding argument, so new code to pass the encoding down the layer is failing with external differ. will it be ok to just add path_encoding argument to external_diff function, although not really use it?14:47
poolielifeless: re your blog post15:20
lifelesspoolie: yes ?15:26
pooliehi15:26
pooliejust thinking about your useFixture thing15:26
poolieto me 'fixture' is the whole environment where a test runs15:27
poolieso it's a bit strange if you can assemble some of them15:27
pooliei don't know if this is the orthodox meaning15:27
bialixpoolie: where are you right now?15:37
pooliebialix: cocobolo 3 on the ground floor15:38
bialixk15:38
pooliewill be back abotu 5pm15:40
poolielifeless: you should +1 my blog comments15:40
=== nlisgo_ is now known as nlisgo
=== IslandUsurper is now known as IslandUsurperAFK
=== IslandUsurperAFK is now known as IslandUsurper
=== IslandUsurper is now known as IslandUsurperAFK
=== beuno is now known as beuno-lunch
=== nlisgo_ is now known as nlisgo
=== nlisgo_ is now known as nlisgo
=== radoe_ is now known as radoe
=== IslandUsurperAFK is now known as IslandUsurper
=== Pilky_ is now known as Pilky
=== beuno-lunch is now known as beuno
=== nlisgo_ is now known as nlisgo
dwtHi, I'm trying to see what changes a remote repository has18:18
dwtI seem to remember that 'bzr incomming location' was it18:19
dwtbut that seems not to work18:19
dwtand searching the docs doesn't seem to give enything?18:19
fullermdmissing18:19
dwtha18:19
fullermd'incoming' is hg I think.18:19
dwtconfused by differences again18:19
dwtthanks fullermd18:19
dwton a related question, is there a fast way to find the bzr branch root?18:25
dwtI'm currently using bzr info and then parse out the branch root:18:25
dwtbut that is way too _slow_ to be in my prompt18:25
fullermdWell, there's 'bzr root'.18:27
fullermdBut I suspect pretty much anything will be too slow to be in a prompt.18:27
fullermdWell, unless you load bzrlib into your shell so there's no startup overhead  ;)18:27
dwtfullermd: yeah, pretty much18:28
dwtand on osx I don't have bzr-service which loads it in the ram for me.18:28
dwtOr I'm missing something18:28
* dwt thinks I could try storing the bzr source on a ramdisk18:35
fullermdWell, I'd think that after running it once or twice, it would all be in cache anyway.18:35
fullermdIt's the python startup overhead that gets you.18:35
dwtyeah, I pretty much think so18:37
dwtI wonder how the mercurial guys get this18:37
dwtthey must be bitten by the python startup overhead too18:37
dwtbut somehow it's much less of an issue there18:37
dwtmy prompt pretty much takes a second to build (bzr) and about one order of magnitude less time in mercurial18:38
fullermdWell...  a quick bit of find'ing and wc'ing says that my installed hg has around 17k lines of .py files, and bzrlib is 101k.18:38
fullermdbzr's all in cache here, and 'bzr rocks' consistently takes ~110ms (and I don't exactly have a pokey box)18:39
fullermdbzr help is about the same; 110-120.  hg help is 30.18:39
idnarfullermd: they both take around 300ms here20:07
idnar(hg help and bzr help, that is)20:07
idnarPython startup pretty much sucks20:08
idnarI'm guessing my local python configuration is adding some overhead that you don't have, dwarfing the actual differences between bzr and hg20:09
=== nlisgo_ is now known as nlisgo
chx_hi. i would like to do  bzr merge -c 15525,15526,15528,15532,15535 ../feature_pref_edition_block/ but it does not like me doing that :)23:42
chx_or is there an interactive merge tool where i pick hunk by hunk maybe?23:57
dashchx_: you can only do one rev or range of revs at a time23:58
TresEquischx_: use a bash for loop?23:59

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