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

pickscrapeIs bzr-svn capable of coping with nested branches?00:05
pickscrapeActually, let me clarify that00:05
pickscrapeA /branches directory that contains directories that contain branches.00:06
Odd_Blokepickscrape: I'd be surprised if it weren't.  Try it and see?00:07
pickscrapeI just did. It seems to pick up the directories as branches.00:08
Odd_Blokepickscrape: You may need to do some config-fu.00:08
pickscrapeThe trouble is, early in the life of this repo branches were done the 'traditional' way. Then when we realised we had far too many we broke them down into categories. So over time the branch scheme has changed.00:09
pickscrapeWhere is the branch management config set up?00:09
Odd_Bloke~/.bazaar/<something>.conf00:10
pickscrapeThanks, I'll check it out.00:10
* Odd_Bloke isn't on a machine with bzr-svn installed, else he'd be more specific.00:10
fullermdThere's some command for it, I think.  branching-scheme or something?00:10
pickscrapeThanks, I'll check it out after dinner :)00:10
pickscrapeWould I be right in thinking you can just tell bzr to import trunk only by pointing it at /trunk instead of the repository root?00:11
Verterokmoin00:29
bob2pickscrape: I think you'd just use bzr branch for that, so yes00:30
mthaddon_is there a way to specifiy an ssh key (identity file) for a one time bzr+ssh command?00:35
mthaddon_or is that something that just has to be set for the user environment that's executing the command00:35
schierbeckasabil: ping00:36
asabilschierbeck: pong ?00:37
schierbeck:)00:37
fullermdSpace Invaders?00:37
schierbeckasabil: i've found a bug in the fancy-tags implementation00:37
asabiloh ?00:38
asabilcan you elaborate please ?00:38
schierbeckthe size of the cell renderer isn't reported correctly when a revision is tagged00:38
asabilyou mean the height ? or width ?00:38
schierbeckso if you have a branch with a single line of development, the tags will not fit on the allocated space00:38
schierbeckwidth00:39
schierbecki'm not sure how to fix it00:39
fullermdThat's user error; not branching enough   ;>00:39
asabilbut you can resize the column00:39
schierbecknope00:39
asabilI am not sure I see the problem00:39
asabillet me try00:39
schierbeckfullermd: :)00:39
schierbeckcreate a branch with just one revision, and tag that revision00:40
schierbeckperhaps sum up the widths of the labels as we create them00:40
asabilah ok I see00:41
asabilyep, that would be the solution00:41
asabilsorry, I didn't think about this possibility00:42
schierbecknp, i'll try fixing it00:42
schierbeckfuck00:47
schierbeckthe size is requested before the widget is drawn00:47
asabil:/, that's something I hate about Gtk cell renders00:48
asabilsorry I got to go to bed now00:49
schierbeckokay, i'll see what i can do about it00:49
asabilgot to wakeup early tomorrow00:49
schierbeck*myself00:49
schierbeckgood night00:50
asabilgood night to you too, thanks, and sorry for the trouble :/00:50
=== mw is now known as mw|out
j1mchi all - simple question.  if i have several updated files being tracked by bzr, but just want to commit updates to one of them.  should i enter 'bzr commit -m "my message about my commit" /path/to/file.xml'  ....  or should i do 'bzr commit /path/to/file.xml -m "message about my commit"'03:34
Odd_Blokej1mc: AFAIK, either should work.03:35
spivj1mc: either way is fine03:35
j1mcthanks...03:35
AfCj1mc: although both will work given a competent option parsing implementation, the former is more likely to work in general (given the 4 billion different getopt implementations out there). I probably don't need to be so gunshy, but old habits die hard, I guess.03:36
jameshAfC: well, it only has to work with the getopt variant that bzr uses ...03:37
jameshlook on the bright side: it could be using tla's getopt variant03:37
AfCjamesh: sure03:43
j1mcAfC: i went ahead with the second one because it seemed more straightforward to me.  "commit this patch, and here's the message to go with it"  it seems to have worked ok.03:47
AfCj1mc: oh, once a Bazaar hacker said it was ok in their application, it was all good. I just mention this because I have been burned by (for instance) tools like ls on BSD systems not parsing options liberally.03:49
j1mcthanks, AfC ... i'll keep it in mind.  :)03:52
* fullermd considers it Only Proper to give options before arguments.03:52
AfCfullermd: lndeed :)03:56
j1mcfullermd: well explained.  thanks.03:57
AfCpoolie: are you going to be at LCA next week?04:03
poolieAfC, no, but jamesh, jml and spiv will be04:33
poolieafc, i mailed you about london04:33
AfCpoolie: No, I just thought it would be easier to conclude that conversation in person.04:33
AfCI'm about to reply; I just had to have a word with our Advisory Board first.04:34
lifelessmoin08:19
lifelesshttp://ozlabs.org/~rusty/index.cgi/2008/01/07#2008-01-07 <- heh08:38
speakmanhi ppl :) Whats the --rich-root exactly? Is it default when init-repo >= 1.0?09:17
minghuaspeakman: I don't think it's default.  You can read "bzr help formats" to know more.09:19
speakmanok, according to "help formats" rich-root isn't experimental? can I use it in production then?09:21
speakmanor I think i'll stick to pack-0.92..09:22
speakmanAnother question; on the "Centralized workflow" guide, the "Recommended branching" says mainline should go into /project and branches should go into /projects/branch (sort of)09:24
speakmanis the webviewer able to show it correctly then?09:24
speakmananyone tried that with Trac?09:25
speakmanI can't get the logics in this...09:29
lifelessspeakman: stick with pack-0.9209:31
speakmanlifeless: thanks I will...09:31
lifelessspeakman: yes web viewers should be able to show it; I can't speakto trac - don't use it myself09:31
speakmanok, but I can't get the logics about branching09:31
speakmani'd like something like /myproject/trunk09:32
speakmanand for new features; /myproject/feature109:32
speakmanand so on.. where is the "trunk" supposed to go using the recommended branching?09:32
speakmanI've setup bzr smart server (through inetd) on my server, and it's all reachable trhoung bzr://server/09:33
lifelessjamesh: ping09:34
speakmanAnd now I'd like to make up a "policy" for projects and branches, but I can't figure out how the "Recommended Branching" works.09:34
lifelessspeakman: what is confusing about it09:34
speakmanwhere is the "trunk" supposed to go?09:34
speakmandirectly under bzr://server/myproject ?09:35
speakmanand my feature branch under bzr://server/myproject/newfeature ?09:35
speakman(I've made a init-repo --no-trees bzr://server)09:35
speakmanlifeless: any clue?09:37
lifelessspeakman: sure, you can do that09:37
speakmancan? what would you prefer?09:37
lifelessI tend to do .../trunk and .../branch1 etc09:38
lifelessbecause people know to look for trunk/MAIN/HEAD and similar names09:38
speakmanok, same as me then... how do you init your repos then?09:38
speakmanyes, and I can see more logic in that too...09:38
lifelesswell the init-repo command you've already run is all you need to init the repo  - the repo is just a storage database; 'bzr init' makes a new project, and ('bzr push' and 'bzr branch') are how you make new branches of that project09:39
speakmanso, an "bzr init-repo --no-trees bzr://server" and then "bzr init bzr://server/myproject/trunk" makes /myproject/trunk using no-trees as well?09:41
lifelessspeakman: do this:09:45
lifelessbzr init somewhere-on-local-disk09:45
lifelesscd $somewhere-on-local-disk09:45
lifelessimport your code  - e.g. 'bzr import mysource.tar.gz'09:46
lifelessor if you have the files on disk, just bzr add && bzr commit09:46
lifelessthen when you are ready, 'bzr push bzr://server/myproject/trunk'09:46
speakmanthanks, seems like a great option :)09:47
jameshlifeless: pong10:06
ubotuNew bug: #185869 in bzr-gtk "gcommit fails with central bzr smart server" [Undecided,New] https://launchpad.net/bugs/18586910:30
ubotuNew bug: #185875 in trac-bzr "no support for utf-8 in source files" [Undecided,New] https://launchpad.net/bugs/18587510:41
acusterjelmer, hello. We are trying to undo a commit I made yesterday with bzr-svn onto an svn directory. The commit started by doing a full replace of trunk/ back to the revision from which I did the initial bzr checkout (I have been bzr pull'ing since then). Do you have any pointers for how we can figure out how to do this kind of Replace in a single svn commit?10:43
lifelessjamesh: hi two things10:43
jelmeracuster: Did you try to push a commit that contained a merge of trunk ?10:43
jameshokay10:43
jelmeracuster: That would explain the replace of trunk/10:44
acusteryes, possibly10:44
lifelessjamesh: bzr register-branch is broken (bug 185861) and gnome-gpg is broken on hardy (I'm testing a fix now)10:44
ubotuLaunchpad bug 185861 in launchpad-bazaar "bzr register-branch command broken?" [Undecided,New] https://launchpad.net/bugs/18586110:44
acusterwhat's a 'merge of trunk' ?10:44
lifelessjamesh: where should I send a patch for the latter; and can you confirm the bug ?10:45
acusterwhat commands do you hit svn with to do the 'replace' ?10:45
jameshlifeless: file a bug in launchpad (the source of gnome-gpg is maintained with Bazaar these days)10:45
jelmeracuster: If you had a local branch that descended from svn and then merged some revisions from trunk later and then pushed that branch back into svn10:46
acusteryes, that sounds exactly right10:46
lifelessjamesh: k, it works for me, but I'm not sure about tests etc - need to generate a GNOME_KEYRING_RESULT_NO_MATCH value10:47
jameshlifeless: I've marked your register-branch bug as a dup10:47
acuster(1) I branched svn to br1 (2) I branched br1 to br2 (3) I pulled lots of updates from svn into br1 and then pulled those into br210:47
acuster(4) I modified one file in br210:48
jameshlifeless: it is a bad interaction between the code that redirects beta testers to edge.launchpad.net and the xmlrpc server10:48
acuster(5) I pushed that change into br110:48
acusterat which point bzr complained and I did some merges I didn't fully understand10:48
speakmanjelmer: about gcommit - there is no backtrace (as told in the report). How can I make one?10:49
acuster(6) then I pushed the change from br2 to br1 and from br1 back to svn10:49
jameshI'm glad I got xml-rpc to report OOPS numbers ...10:49
lifelessjamesh: are we able to fix this? Seems rather bad to be broken in production10:50
lifelessjamesh: if we could even work around it in bzr (by using edge always) that would be sufficient10:50
jameshlifeless: bug 181156 is about the underlying cause10:50
ubotuBug 181156 on http://launchpad.net/bugs/181156 is private10:50
acusterjelmer, the question is how to do the replace in the same way that bzr-svn did it so we can fix things. ARe you using svn replace for that command?10:50
jameshand it can't be worked around in Bazaar10:50
jameshactually, using xmlrpc.edge.launchpad.net would probably work10:51
jameshassuming it is hooked up10:51
jelmerspeakman: Hmm, that's actually a good point. We may have to stop handling exceptions automatically in all cases10:51
speakmanjelmer: Yes, tracebacks aren't that bad.. :)10:52
jelmeracuster: What exactly are trying to achieve?10:52
jelmeracuster: Trying to undo what bzr-svn did?10:52
balor I've forgotten how to do a bzr diff during a bzr ci.  Could someone remind me of the command?  I think it was similar to bzr ci --diff but bzr ci --help does not document that.10:53
balorbzr version 0.9010:53
jelmerA diff inside of the commit message you mean?10:54
datobalor: --show-diff, not sure if 0.90 has it10:54
balorjelmer: no, a diff whilst I'm writing the changelof10:54
balordato: 0.90 seems to be missing that feature10:54
balordato: guess it's time to upgrade10:54
datobalor: oh10:55
datoif it's not what jelmer said10:55
datothe answer is "you can't"10:55
dato(and quite frankly it sucks)10:55
balordato: hmmm....I had thought there was a workaround10:55
acusterjelmer, yes10:55
lifelessjamesh: I'll test that shortly10:56
acusterwe are trying to get svn back to where it was keeping the history of all the files over the past three weeks10:56
acusternot merely getting the files back to a good state10:56
jelmeracuster: Replace can be done by removing a directory and copying an older version of it into the same place in the same commit10:56
jelmeracuster: This is one of the reasons some people use rebase rather than merge when pushing to svn10:57
acusterthanks10:59
acuster'removing a directory' is a svn remove or a filesystem remove?10:59
jelmersvn remove I think11:00
jelmerMaybe followed by a file system removed11:00
jelmerbzr-svn does this without a working tree11:00
* acuster is not allowed to touch the svn with bzr any longer :-)11:00
acusterthanks11:00
jelmersorry to hear that11:03
lifelessjamesh: edge works11:03
speakmanWhy is the Debian/Ubuntu repos unmaintained lately?11:04
jelmerlifeless: Do packs handle the lhs parent being a ghost ?11:04
lifelessjelmer: yes11:04
lifelessjelmer: what happened to acuster ?11:04
lifelessspeakman: they are eing maintained; just differently11:04
jelmerlifeless: bzr-svn preserves lhs history11:05
jelmerlifeless: "bzr branch trunk foo; <hack-hack>; bzr merge trunk && bzr commit; bzr push" will alter lhs history11:06
jelmerlifeless: bzr-svn will properly preserve that lhs history when pushing by committing on top of an older revision of trunk11:07
lifelessjamesh: patch is on lp for you11:09
* jelmer adds an entry to the bzr-svn FAQ11:10
speakmanlifeless: currently no repo is touched since 9 jan. bzr-gtk is still at 0.90 and requires bzr < 1.0.11:13
lifelessjelmer: ah, and because svn doesn't track merges folk get confused11:14
jelmerlifless: yeah, exactly11:14
lifelessjelmer: so we should really recommend they use 'bzr checkout' for svn branches they are going to commit to11:14
lifelessfor 'compatibility'11:14
jelmerlifeless: Yeah, that may be a good idea11:15
lifelessjamesh: we should add an xmlrpc call to say 'I have pushed to <X> branch'11:16
datoriiight. and one of the main pluses of bzr-svn, offline workflow, goes to... the bin.11:16
dato(as commit --local will end doing the same with the lhs history afaik?)11:16
lifelessdato: not at all; commit --local will not do the same thing11:17
datono?11:17
lifelessdato: when you are on line again, you get the new changes from trunk by doing 'bzr update'11:17
lifelessdato: that will pivot your local work into a merge, preserving LHS11:17
jelmerlifeless: The alternative would be to not necessarily always push on top of the lhs parent11:17
jelmerlifeless: But then bzr needs to handle diff against non-lhs parents properly, otherwise pulling from that branch later will be problematic11:18
lifelessjelmer: not sure what you mean; what does bzr not handle correctly?11:19
speakmanbtw, how can I add suggestions to bzr on launchpad?11:20
speakmanBlueprints?11:20
jelmerlifeless: storing diffs for a revision where the lhs parent is a ghost but one of the other parents is not11:23
jelmerafaik weaves at least had problems with it, I'm not sure what the status of that is these days11:24
lifelessspeakman: we like suggestions to be sent to the mailing list; or you could use the answers.launchpad.net/bzr forum11:24
lifelessjelmer: in packs that will degrade to a fulltext at the moment11:24
lifelessjelmer: but anyway, its not needed - because a heavy checkout will DTRT11:25
jelmerlifeless: sure, but people will still use push and it would be nice to do the right thing when we add support for svn:merge-info11:32
speakmanok, just one more simple question right here; is it possible to *easily* make an "alias" as "lp:project" but to our local server "ourserver:myproject"?11:33
speakmanI've tried to read the source code for launchpad plugin, but it seemed really complex for this "simple" issue.11:34
lifelessjelmer: patches to core appreciated :) - packs have two fields (compression tree, ancestry graph), but enforce the same rules on them that knits had11:34
jelmerspeakman: the launchpad plugin does more than register the "lp" namespace11:35
speakmanjelmer: yes I know, thats why it was hard to me (pretty new to python) to just pick out the "lp:" part...11:36
speakmani'd like a "alias" feature for it, or simular11:36
lifelessspeakman: we'd like to add a url alias facility11:37
lifelessspeakman: but noone has contributed it yet.11:37
speakmanlifeless: exactly! thanks!11:37
speakmanI'm afraid i'm too much of a newbie python programmer yet to make one myself. :/11:38
=== Mez_ is now known as Mez
ubotuNew bug: #185907 in bzr ""bzr pull --quiet" should not say "Using saved location ..."" [Undecided,New] https://launchpad.net/bugs/18590712:40
=== mw|out is now known as mw
=== mrevell is now known as mrevell-lunch
=== kiko-afk is now known as kiko
antaresHi! Does anyone know if I can make bzr follow symlinks?14:15
lifelessfor versioing files?14:17
lifelessno, bzr versions the symlink, not what is linked to - sorry14:17
antaresno way to make it work?14:17
lifelesswell it works as designed :) - if you have a link to /foo, we record that you have a link to /foo :)14:18
lifelessI don't know what you are trying to do that that is s aproblem for, but I'm happy to try and help14:18
antaresThanks! I buld my projects (websites) using several modules that I store in a special directory, I link those modules to the project when I need them14:19
antaresand if I add a feature in one module, autoomatically is added to all the projects that use that module14:20
antaresThe problem is that I need to version these changes without having to start a bzr repo in all of them14:21
lifelesswell, I think using bzr is probably a better fit :)14:23
antaresusing bzr for all the modules?14:24
lifelessyah14:25
antaresok, thank you for your help, but I can't do that, it would give more headaches14:27
mtaylorw00t. I just actually upgraded bzr, bzr-svn and bzrtools from apt. Thanks guys!14:31
lifelessmtaylor: :)14:31
* lamont wants a bzr option to have it chdir before doing anything.14:33
lifelesslamont: why?14:33
lamontso I can say 'bzr --chdir /foo/bar status'14:34
lamontalternatively, a bzr status where the user running bzr doesn't have read access to some of the unignored _directories_ would be even more lovely14:34
lamontalthough status wouldn't notice the changes there if that were true. hrm.14:35
Kinnisonlamont: bzr status /path/to/branch14:39
Kinnisonlamont: not good enough?14:39
lamontKinnison: that would do, I believe,  as long as it looks at /path/to/branch/.bzr, and not $CWD at all14:40
lamontKinnison: works well, I do believe14:41
lifelesslamont: 'bzr st /foo/bar' kthxbye14:41
lifelesslamont: always try the obvious thing first :)14:41
lamontlifeless: give me a break... I'm still working on figuring out your^Wbzr's definition of "obvious"14:42
=== mrevell-lunch is now known as mrevell
lifelesslamont: thats because you've been using a nasty system :)14:42
lamontlifeless: expect bugs to show up for things that don't behave correctly... bzrk for example... :)14:43
lamonts/correctly/like I want/14:43
brink_Is it possible to split a branch into two separate branches?14:43
mtaylorbrink_: what do you mean?14:47
brink_I have two unrelated projects in the same branch.  One of them is getting big.  I'd like to have to separate smaller branches.   Is this possible?14:48
brink_I meant "two separate smaller branches"14:48
mtaylorbrink_: yes14:48
mtaylorbrink_: see bzr split14:48
brink_Thanks.   Is that the reason for the new rich-root-pack format?14:50
mtaylorahearo,.. dunno... but I will say the new rich-root-pack is teh r0xr14:50
=== kiko is now known as kiko-phone
brink_r0xr?14:51
mtaylorbrink_: :) it's good14:52
=== kiko-phone is now known as kiko-afk
brink_I get a " bzr: command not found" when I try to create a branch on a remote repository.  I think it's because bzr isn't on the path of the remote machine.  The remote machine is a Macintosh.   Does anyone have any idea how to add bzr to the path that ssh uses?15:15
james_wbrink_, what protocol are you using?15:18
brink_ssh+bzr15:18
james_wbrink_, so you need to get it so that 'ssh bzr rocks' works.15:19
asabilbrink_: you can use sftp:// (but that's suboptimal)15:20
brink_No, I can't use that.  It always screws up the file and directory permissions.15:21
brink_It seems that ssh doesn't pay attention to /etc/profile.    I don't know where ssh looks for the path.15:21
asabilbrink_: can't you just edit the ~/.profile of the user you are using to push ?15:24
mtaylorIncompatibleRepositories: Repository KnitPackRepository('file:///var/www/bundlebuggy/ndb-connectors/.bzr/repository/') is not compatible with repository KnitPackRepository('http://bazaar.launchpad.net/%7Endb-connectors/ndb-connectors/devel/.bzr/repository/')15:24
mtaylor_I_ know what the problem is here15:24
mtaylorI upgraded http://bazaar.launchpad.net/%7Endb-connectors/ndb-connectors/devel to rich-root-packs and did not do that to file:///var/www/bundlebuggy/ndb-connectors yet15:25
mtaylorbut I must say, that error message really sucks15:25
brink_I need to make bzr available to everyone who is going to use the server.15:25
brink_I'm not sure how to make it so ssh can find it.15:25
lifelesslamont: file bugs please!15:26
asabilbrink_: it uses the PATH env var of the user, the PATH is generally defined in /etc/environment , /etc/profile and ~/.profile15:28
brink_It seems to not be responding to /etc/profile although that works for login shells.   Maybe I should try /etc/environment15:29
quicksilverIf bzr is interrupted by SIGINT (i.e. ctrl-C) it needs to sanitise the terminal again before terminatng.15:30
quicksilverOtherwise if you C-C a password prompt you end up with a broken terminal.15:30
lifelessmtaylor: indeed; sorry15:32
mtaylorlifeless: that's ok.15:33
james_wquicksilver, I believe there is a bug about that already.15:33
mtaylorlifeless: it can't _all_ be perfect :)15:33
quicksilverjames_w: ah well, I thought I'd mention it while it was on my mind :P15:33
james_w!bug 7837915:34
ubotuLaunchpad bug 78379 in bzr "When bzr (or subprocess) disables terminal echo, Ctrl+C should re-enable it" [Low,Confirmed] https://launchpad.net/bugs/7837915:34
james_wquicksilver, yeah, thanks anyway, it's always good to check.15:34
brink_Anyone know how to make the bzr+ssh protocol available to users of a Macintosh server?  ssh says it can't find bzr on the path.17:19
lifelessbrink_: you can set BZR_REMOTE_PATH; you can simulate what bzr does byL:17:23
lifeless'ssh host bzr help'17:23
lifelessif that works, bzr should work with it17:24
brink_It doesn't.  It gives me this:  bash: bzr: command not found17:26
mtayloranybody running hardy already?17:35
lifelessmtaylor: yes17:35
mtaylorlifeless: usable?17:35
lifelessbrink_: then 'bzr' is not in your path. or it is but python isn't so its not executable17:35
lifelessmtaylor: mostly17:35
mtaylorheh17:35
* mtaylor is stupidly upgrading his laptop right now17:35
lifeless;)17:36
lifelessI'm writing an update to the index layer - more speed++17:36
=== PainBank is now known as RichElswick
=== kiko-afk is now known as kiko
brink_Yes bzr isn't on my path.  The question is, how do I get bzr on my path.   The bzr+ssh protocol doesn't seem to pay attention to /etc/profile on osx.  Any thoughts?18:05
lifelessbrink_: ln -s bzr /usr/bin/ ?18:08
brink_Hmm.   I suppose I could do that.    Will there be any other dependency issues?18:09
brink_What do people typically do on osx?18:09
lifelessbrink_: no idea:)18:12
brink_It seems like there should be some documentation on how to setup bazaar in addition to just using it.   If I figure it out maybe I'll send it in.18:13
lifelessthat would be awesome18:13
brink_Assuming I figure it out correctly.18:13
mtaylordo we have any sort of osx disk image installer thing ?18:18
lifelessthere is a dmg image I believe18:21
brink_Is there a way to merge two separate (no common parent) branches kind of like the opposite of bzr split?18:51
datobrink_: yes. bzr merge -r 0..-1 /path/to/other/branch19:02
brink_Thanks.  I didn't realize merge could work with unrelated branches.19:05
=== kiko is now known as kiko-phone
lagahello19:20
lagai was just working on something and wanted to bzrcommit/diff and i got the following error message: http://www.pastebin.ca/87241719:21
lagai don't remember changing anything wrt my bzr setup. does anyone have a hint?19:22
lagawhen will there be debs for 1.1?19:29
beunolaga, there already are19:30
beunoare you using ubuntu or debian?19:30
beunolaga, https://launchpad.net/~bzr/+archive   for Ubuntu19:31
lagai'm using ubuntu gutsy and i have the bzr repo in my sources list19:31
beunolaga, the PPA archive has 1.119:31
lagathanks, i'll try those19:31
beunowelcome'19:32
ubotuNew bug: #186005 in bzr "adding iso-8859-1 paths on a UTF8 file system gives a harsh errormessage" [Undecided,New] https://launchpad.net/bugs/18600519:36
lagai still get the same error message even after the update. i guess i'll file a bug in launchpad and try to get some work done afterwards19:36
beunolaga, can you paste the error message on pastebin?19:38
beunomaybe we can help you out19:38
lagahttp://www.pastebin.ca/87241719:38
lagait's there19:38
lagajust found a bug report on launchpad which might be related19:39
lagahttps://bugs.launchpad.net/bzr/+bug/10911419:39
ubotuLaunchpad bug 109114 in bzr "commit holds whole files in memory" [Medium,Confirmed]19:39
* laga has no clue what he's talking about, though :)19:39
lagabeuno: it happens whenever i commit or diff. i don't think i#ve changed anything in the brnach (except for changing a few files of course)19:39
beunolaga, does it have many files or big ones?19:40
laga1359 files, 7.5M size19:41
beunodoesn't make sense for bzr to run out of memory with that little19:41
lagayes19:41
lagaespecially since i have 615M free19:42
beunoat least for committing, diff's can vary I guess19:42
lagait happens almost immediately, too19:42
beunolaga, this seems like something different19:43
beunocould you file a bug in Launchpad?19:43
lagasure19:43
beunothanks  :D19:44
=== kiko-phone is now known as kiko
lagadone19:53
* laga gets a fresh checkout and ports missing changes ;)19:53
beunolaga, great, thanks for that. I'll try and catch another dev and see if he can take a look at it19:54
lagabeuno: great. thanks for the support :)19:54
lagayay. i have just accidentally reverted my changes using meld because i mixed up directory order. i must be having a metaphorical bad hair day19:59
beunolaga, ouch. And you hadn't committed?20:00
ubotuNew bug: #186014 in bzr "MemoryError on diff/commit" [Undecided,New] https://launchpad.net/bugs/18601420:00
lagano. i was using meld because i couldn't commit in the first place :)20:01
lagaoh well, that's what i get for not paying attention. not much was lost20:01
beunolaga, what about branching that repo locally and trying to work on a fresh branch?20:03
beuno(fully local branch)20:04
lagabeuno: i've got a fresh branch already20:04
beunolaga, but it's a checkout, no?20:04
beunocheckouts are bound to their parents20:04
lagawell, i was using "bzr branch" i think20:04
beunooh, then you do have a fully local branch20:04
lagahum20:04
lagai'm not sure actually. i created this branch locally, then pushed to launchpad..20:05
lagai need to polish my VCS skills. :) am i supposed to merge from launchpad or pull from there? or is there no difference at all?20:06
lagain case someone else modified the branch on launchpad20:06
beunolaga, if someone else modified, you'd have to merge20:08
beunoI tend to try and pull first though, or do  merge --pull20:08
lagaoh, it'll error if someone else has done any modifications?20:08
beunolaga, yeap, it will say you need to merge20:09
beunoif there aren't any conflicts, you just commit the merge20:09
beunoand you're up-to-date20:09
lagai was just curious because i'm working on this branch from my laptop and from my desktop and i usually just push on both20:09
lagayeah, right.20:09
lagaah, now i remember. i didn't see the merge in the commit message at first and that's what confused me. in the end, everything turned out to be alright :)20:10
beunolaga, things tend to work themselves out a lot with computers  :p20:10
lagayes20:10
lagathat's why i has hoping bzr 1.1 would solve my weird error message. ;)20:11
beunolaga, it's really odd that you would get that error, I have much larger branches in file sizes and quantity, even on some PCs with 512mb ram, and still don't hit the RAM hard enough to traceback20:12
=== kiko is now known as kiko-afk
lagabeuno: i'm just glad that bzr itself is still working on my box20:14
beunolaga, do you have a grumpy box?20:15
lagabeuno: it's usually working fine. including RAM :)20:15
lagaif that's what you meant20:16
beunoah, bzr usually works fine on all enviroments, that's why I asked if you had a particularly grumpy box20:17
lagai've just compiled mythtv three times in a row without errors while running virtualbox at the same time. it's fairly stable :)20:18
beunogood, then we'll see if we can nail down that traceback as soon as possible20:18
lagait's 100% reproducable as well. unless there's a bad block on the hard disk i don't see what could have broken it hardware-wise20:23
=== kiko-afk is now known as kiko
Lo-lan-doHi all22:11
Lo-lan-doIs there a way to inject missing revisions into a repository?22:12
Lo-lan-doI converted a baz archive to bzr, but some of the branches in there were based on branches in other baz archives, and apparently the baz-import didn't create the revisions in bzr22:12
Lo-lan-dobzr check says:22:13
Lo-lan-do    12 ghost revisions22:13
Lo-lan-do    11 revisions missing parents in ancestry22:13
Lo-lan-do    85 inconsistent parents22:13
Lo-lan-doIs that fixable (I have the other baz archives at hand), or should I redo the conversion?22:13
* Lo-lan-do tries cloning all these branches into a single repository, which should then have all revisions22:21
Lo-lan-doHm.  bzr reconcile seems to help22:32
batomsis there a way to set the ssh client in bazaar.conf23:29
batomssomething similar to export BZR_SSH=paramiko23:29

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