/srv/irclogs.ubuntu.com/2010/11/16/#bzr.txt

=== Adam|Lunch is now known as AdamDV
blueglassesI already have a branch called testingbzr. How do I create a new branch to put the real code?03:23
blueglassesI use launchpad btw03:24
blueglassesanyone?03:28
spivblueglasses: you have a branch locally already?03:32
spivblueglasses: if so, just push it to where you want it to be on launchpad, e.g. "bzr push lp:~username/projectname/new-branch"03:33
blueglassesi dont think so, let me check03:33
spivWell, perhaps I'm misunderstanding what you're asking.03:33
spivWhat do you mean by "create a new branch"?  You mean start a new branch from scratch, with no prior history?03:34
blueglasseslocally i have /home/user/python/projectname/files03:34
spivAnd is that directory already versioned in bzr?03:35
blueglassesi think so03:35
spiv"bzr info" or "bzr log" or whatever would confirm that if you like.03:35
blueglassesi'm not a native english speaker sorry for my delay03:35
spivThat's fine!03:35
spivI can only speak one language, so I'm already impressed :)03:36
blueglassesI'm trying to use bazaar explorer03:36
blueglasseshow do I create a new branch... I might have done something wrong03:37
blueglassesmy project name in lauchpad is "story"03:37
spivOk.  I don't know explorer well, but you should be able to do something like "bzr commit" to make a new commit, and then "bzr push" to publish those changes.03:37
blueglassesthat far i have done already03:37
blueglassesbut I'm commiting to a branch called bzrtesting03:38
spivI see, you have lp:~lapisdecor/story/testingbzr already.03:38
spivOh, when you commit the changes are automatically going to lp:~lapisdecor/story/testingbzr ?03:39
blueglassesyes03:39
blueglassesand I wanted a new branch to put the real code (when it will come done)03:40
spivOk, you have what we call a 'checkout' rather than a 'branch'.  It's really just a local branch configured to automatically update a remote branch at the same time.03:40
blueglassesI have to push after commit03:40
blueglassesto get the stuff there03:40
spivOh, then it's not a checkout, just a branch.03:40
spivWhich is fine.03:41
blueglassesactually I just dont like the name 'testingbzr'03:41
spivOk, you can rename that.03:41
blueglassesi would like to keep it to learn bzr but i would like a new branch to put the real code03:42
spivIf you go to https://code.launchpad.net/~lapisdecor/story/testingbzr/+edit you can change the name.03:42
spivOr you can ignore that old branch on Launchpad and tell bzr explorer to push to a new location with the name you want.03:43
blueglassesthat one sounded better03:43
spiv(To create a new branch on Launchpad you simply push to it.  There's no need to register it or initialise it first.)03:43
blueglassescool03:43
blueglassesso I can call it main03:44
blueglassesok I will try to make some code and then push it to a new branch03:45
blueglassesthank you so much for the help, still a noob here, but with good heart :-)03:46
blueglassestime to bed now03:46
spivblueglasses: good night03:46
blueglassesgood night03:47
pooliehi all05:50
GaryvdMHi all07:09
vilahi all !07:14
vilahi GaryvdM , poolie07:15
vilapoolie: feeling better ? Still here ?07:15
* GaryvdM _o/ @ vila07:15
vila:)07:15
vilaGaryvdM: I wonder whether you're creative in online glyphs or starting coding in perl :)07:15
GaryvdMHuh?07:16
vila_o/ @ sounds like noise, aka perl code from the pov of people unaware about perl conciseness ;)07:17
pooliehi vila, i am better now07:17
GaryvdMvila: ah :-)07:17
poolieit does look like perl, or haskell07:18
vilacool07:18
GaryvdMHi vila07:18
GaryvdMHi poolie07:18
pooliehi gary07:21
spivmgz: yep, landing something on trunk sorted out the merge proposals that lp hadn't yet noticed were merged.08:56
=== Guest86531 is now known as jelmer
jelmerhey GaryvdM, poolie, vila, spiv09:13
vilajelmer: hi !09:13
vilaspiv: wanna talk about https://code.edge.launchpad.net/~spiv/bzr/checkout-tags-propagation-603395-2.2/+merge/40406 ? Or should we do that earlier tomorrow ?09:14
vilajelmer: any feedback about the above ?09:15
jelmervila: you mean the checkout tags propagation?09:19
jelmerAh, I guess so.09:20
vilajelmer: yup, the impact of bzr-svn or other foreign plugins in particular, the mp is targeted at lp:bzr/2.209:20
* jelmer has a quick look09:20
vilas/impact of/impact on/09:20
jelmervila: The way backwards compatibility is handled looks reasonable to me; I can do some testing later today if that would be useful.09:23
vilajelmer: yes it would and would be appreciated ;)09:23
mandelHello, quick question, what does bzr do with illegal chars in filenames on windows, example, on linux I use 'stupid: name' what would happen on windows?10:54
rjekExcitement!11:02
beunohello hello13:14
beunoany bzr devs around?13:14
* beuno stares at vila 13:14
vilahooo  beuno !13:19
vilaforgive me I was having a small lunch, just back :)13:19
beunohai vila!13:20
beunohow's it going?13:20
vilabetter :)13:20
beunoI have this horrible bzr traceback: https://pastebin.canonical.com/39793/13:20
beunobut other than that, good13:20
beunobetter than who?  :)13:20
vilathat, my friend, is very bad (the traceback)13:21
vilabetter than me yesterday :)13:21
vilaI was already good yesterday :)13:21
beunoyou been sick?13:22
vilabeuno: what bzr version are you using (packaged ? from sources ?)13:22
vilabeuno: no no, just getting better every day :)13:22
beunovila, stock maverick13:22
beunono funny business13:22
vilaok13:22
vilahmm13:22
vilabzr info -v13:23
vilatrying to find progressive checks13:23
vilabzr check (this one could take time)13:23
vilabranching from the revision just before the commit13:23
GaryvdMHi beuno - How come not a public traceback pastebin?13:24
lifelessbeuno: fs fail?13:24
lifelessbzr: ERROR: zlib.error: Error -3 while decompressing data: invalid distance too far back13:24
=== Ursinha-afk is now known as Ursinha
beunolifeless, no visible fs failures that I know of13:24
GaryvdMThanks lifeless13:24
beunohi GaryvdM, it's a private branch, so was lazy and pasted it in private instead of making sure I wasn't leaking anything  :)13:24
beunosorry about that13:24
GaryvdMbeuno: np13:25
vilabeuno: number and size of pack files13:25
beunovila, http://paste.ubuntu.com/532994/13:25
vilabeuno: I should have started with: this is gzip telling us that the data is corrupted which is unseen so far except when related to fs failue13:26
vilafailure13:26
beunovila, http://paste.ubuntu.com/532995/13:26
beunoah13:26
beunoI have plenty of space13:27
vilabeuno: then start with a backup13:27
beuno467 Nov 16 09:25:17 beuno-laptop kernel: [1497398.983861] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro,commit=60013:28
vilabeuno: at least the repo (which should be enough)13:28
beuno468 Nov 16 09:25:31 beuno-laptop kernel: [1497412.578739] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro,commit=013:28
beunothat's the only thing I see13:28
lifelessbeuno: it might not be this boot13:28
lifelessbeuno: there are a few options :13:29
lifeless - corrupt disk13:29
lifeless - memory bit error13:29
lifelessbeuno: md5sum your packs13:29
lifelessand check the sums match the pack names13:29
vilawe really should have that in core13:29
* beuno checks13:29
beunolifeless, they all match13:32
lifelessoh, my bad13:32
lifelessits in an index.13:32
beunohttp://paste.ubuntu.com/532998/13:32
lifelessone of your indices is naffed13:32
beunoso, these *.six/tix/rix?13:33
lifelessvoidspace: yes13:41
lifelessbah13:41
lifelessbeuno: yes13:41
vilalifeless: so 'bzr pack' time ? Or do we use the indices for that ?13:47
beunovila, lifeless, so, do I have a way out of this?13:58
vilabeuno: if you did a backup, try 'bzr pack;13:59
vilabeuno: if you did a backup, try 'bzr pack'13:59
beunoI'll backup now13:59
beunovila, packing!14:04
beunovila, same tb14:06
vilawow14:07
beunovila, http://paste.ubuntu.com/533014/14:07
vilaah, during the pack14:08
lifelessto be expected14:08
lifelesspack has to read data :)14:08
lifelessbzr dump-btree can help you find the damaged index14:08
vilayeah, I expected he could rebould the indices from the packs :-/14:09
vilas/expected/hoped/14:09
vilawhich is what we need14:09
lifelessno14:10
vilaoh good14:13
beunoso, run bzr dump-btree?14:13
vilabeuno: yes, starting with the .cix indices as they seem to be the ones causing problem (from the tb)14:19
vilalifeless: you still haven't elaborate on this 'no'14:20
lifelessvila: the indices have unique data14:20
vilaurgh, still ?14:21
lifelessvila: until we fix it14:21
beunovila, so run that command against each .cix?14:22
vilayes14:22
vilabeuno: quick check: you don't have *empty* indices right ?14:23
beunovila, let me look14:24
vilalifeless: but then there is probably no escape for beuno other than recreating its repo from scratch (or almost) ?14:24
lifelessindeed14:24
beunovila, all of them ahve more than zero bytes14:24
beunoah14:24
beunook14:24
beunothat sounds fun14:24
vila:-/14:24
beunoI guess I can re-branch from launchpad14:24
lifelessrestore from backup :)14:25
beunodo you want this bug reported?14:25
beunoit's a few hundred mb, so not terrible14:25
lifelessyou've had a fs glitch, for sure.14:25
lifelessits not a sync-crash, or you'd have an empty index.14:25
beunookk14:25
lifelessyou've either got a bad memory dimm - in which case rebooting may fix this.14:25
vilabeuno: let see if we can isolate which index is the culprit14:25
beunoso maybe I need to run fsck14:25
beunovila, sure14:25
lifelessor you've got a bad block which lost data14:26
* beuno nods14:26
beunoI can try rebooting14:26
beunoI haven't done that in a few weeks14:26
lifelessnote that if reboot does not fix it, it doesn't mean that the block is bad - a bad dimm that results in a bad write is indistinguishable (except via disk read stats)14:26
beunook, I'll let you know in 2 minutes14:27
beunore-packing...14:30
beuno3/714:30
=== Ursinha is now known as Ursinha-lunch
vilabeuno: you've connected from another pc ?14:31
vilas/'ve/'re/14:32
maxbIRC proxies ftw :-)14:32
beunovila, no, irss + ssd disk14:33
beunoreboot in 12 seconds14:33
beuno4/714:33
beunoI think ti's fixed14:33
beunobecause it's way further than before14:33
vilalet's wait14:33
beuno6/714:40
beunovila, lifeless, reboot made pack work14:41
beunoso thank you  :)14:42
vilabeuno: retry commit now14:42
lifelessbeuno: replace your memory.14:42
beunovila, commit worked14:42
vilabeuno: I won't feel secure *at all* if I were you :-/14:42
beunolifeless, remote hardware diagnosing, this is a new one for me!14:43
beunovila, I should be able to replace the ram fairly quickly14:43
beuno99% of what I care about is on the interwebs14:43
beunoso i'll backup the remaining 1% and turn on paranoid mode14:43
vilaha, I feel better then :)14:43
beunothank you much!14:43
jam1morning all14:49
=== jam1 is now known as jam
GaryvdMHi jam!14:49
jamhi GaryvdM14:49
=== Ursinha-lunch is now known as Ursinha
=== zyga is now known as zyga-afk
txdvis there to way to merge 2 commits seperated by other commits?15:43
txdvi got c1,c2,c3,c4/head, where cX stands for commit with number X and head for the tip or whatever you bzr guys calls15:43
txdvcall*15:43
txdvi want to somehow put the changes from  c4 into c115:43
Odd_Bloketxdv: It doesn't make sense to talk about putting changes from one commit "into" another commit.  What would you expect it to look like?15:45
txdvwell i got a fucking commit nazi in my work force15:46
txdvand whenever there is an additional empty line added by accident15:46
txdvhe forces me to rewrite the complete history15:46
txdvSo let's just pick a scenario like, i need to remove a simple line in a past commit15:47
txdvadding just another commit fixing exactly that issue won't help15:47
Odd_Bloketxdv: Sounds like you want rebase...15:51
dashor a tire iron15:52
txdvOdd_Bloke: this scenario doesn't include diverged trees at all15:52
txdvOr can you explain how to incorporate the changes from c4 into c1 with rebase?15:53
vilatxdv: wow, I feel your pain (I do a a lot of typos and my histories are nothing close to linear)15:54
vilatxdv: so roughly you wan to cherry-pick and may be with luck use a bit of rebase15:54
vilatxdv: so you start with a "clean" branch15:54
vilatxdv: then you cherry-pick 'bzr merge ../dirty -c<1>' 'bzr merge -c<4>'15:55
vilatxdv: -c<4> is a shortcut for -r3..415:56
vilatxdv: and rebase should do for 2 and 315:56
vilatxdv: 'bzr revert --forget-merges' if for whatever reason you need to commit changes without tracking where they come from15:57
txdvawesome15:58
vilatxdv: ... or may be you just do a single big commit with the --forget-merges trick above, after all if "he" doesn't care about history "he" may even prefer that :-/16:00
txdvthat motherfucker is uncommiting shit from trunk all the time because of the history16:01
txdveven his own commits16:01
vilaright, but let's just try to watch our language here :-D You're welcome to express your pain otherwise ;)16:01
vilatxdv: may be 'bzr merge --interactive' can help you too ?16:02
txdvill look into it16:04
txdvthe checkout the cherry picking first16:04
txdvthanks again16:07
vilaanytime ;)16:11
txdvthis dude is ridicolous16:12
txdvhe forces me to rewrite the history on my branch16:12
txdvyet he puses right away to the trunk and uncommits it after a while16:12
vilathe uncommit is very damaging if the branch is shared :-/16:16
GaryvdMtxdv: You can turn on append-revisions-only so that he can't uncommit.16:17
txdvO i already spent 2 hours of debugging stuff because i thought my merge messed up, while he uncomited his bad commit meanwhile16:18
vilatxdv: may be you should start using qlog and its ability to hide lower level commits (have a look at the bzr history)16:18
txdvGaryvdM: on launchpad too?16:18
GaryvdMtxdv: Yes - easy with the new bzr config command, with out, you need to modify the branch config with sftp16:19
vilaGaryvdM: wow, I didn't thought about using 'bzr config' for that ! Did you try it ? (/me frantically notes to add tests for remote branches)16:20
GaryvdMvila: no - I just assumed. Will test now.16:21
vilaGaryvdM: I'm just silly, I made sure you can *read* remote configs and then totally forget you can update them too :)16:21
txdvwhere can i get this qlog?16:21
vilatxdv: it's part of the qbzr plugin16:21
GaryvdMtxdv: it's part of the qbzr plugin. What os are you using?16:21
vilatxdv: what OS/distro version are you...16:21
viladamn GaryvdM16:21
vila:)16:22
txdvy i already got it installed16:22
txdvdebian i am using: apt-get install qbzr16:22
=== You're now known as ubuntulog
vilatxdv: less than one minute between 'where can i get' and 'got it installed'...16:28
txdvi did a 'aptitude search qlog' after you mentioned qlog16:31
txdvcouldn't find it, therefore i thought it was not in the deb repos16:31
vilastill, I'm always amazed by how easy it can be to get the right tools...16:32
txdvnot with windows16:32
txdvwindows is a timewaste16:32
txdv2hours in order to install visual studio on a brand new machine16:33
vilaright, you need a good packaging community, that was my point ;)16:33
txdvactually im not too happy with the unix way of directory structure16:33
txdvthe only thing that you should do in order to install a programm is to unzip it in a directory16:33
txdvor untar16:33
vilabut they tried that with SunOS and you end up with nightmearish PATH MANPATH LD_LIBRARY_PATH and so on16:34
vilaand that doesn't even start addressing compatibility and dependencies...16:34
dashOSX did it16:35
dashsort of kind of.16:35
vilaright, but user-facing apps only16:35
txdvthe problem with linux is the compatibility16:35
vilayeah, agree, sort of kind of, the .app is very nice, don't get me wrong though16:35
txdveverything changesi n the system16:35
dashvila: can't say i'm a fan, really16:35
GaryvdMYhea - That's one of the things that bugs me with windows, is adding to PATH, and adding to PATH, and adding to PATH....16:36
txdvthey should automatically check programm\*\bin16:36
txdvwhy path?16:36
viladash: it's pretty cool to be able to test an app and throw it away without worrying about hidden dependencies though (I know, I know there are exceptions)16:36
txdvvila: CDE enables one to build and run standalone apps with all dependencies16:37
vilaCDE, you mean the CDE in Solaris or something else ?16:37
vilabut anyway, the problem starts when you want to share libraries16:38
vilaor any other kind of resources16:38
txdvhttp://goo.gl/h6IP316:38
Odd_BlokeSounds like a guaranteed way to mean you don't have to write portable code, and a huge resource waste.16:40
Odd_BlokeN.B. Not portable code is probably bad code.16:40
txdvif you just want to get shit running on an old machine it is good enough16:41
vilahehe, right, but I like my machines to be lean and clean ;)16:41
Odd_BlokeSo's Debian. :p16:41
=== You're now known as ubuntulog_
vilanote the 'S' here, I think I'm currently maintaining ~5 physical and ~15 virtual machines and I don't want to *debug* them :)16:44
=== You're now known as ubuntulog
fullermdOf course not.  When you need to, you just bug me   :p16:50
vilahehe, I wish I can do that for all of them ;)16:50
fullermdOh, you totally can.  "I found the problem with this one, it's running a weird OS..."16:51
vilalol, yeah *that* will apply to *all* of them :)16:51
* fullermd wonders if you have the test suite running on Plan 9...16:52
* vila searches for a Plan9.iso16:52
vilathere is one ! :D16:53
fullermdI wonder if anybody's ever tried using bzr on it.16:53
vilais there a python there to start with ?16:53
fullermdNo idea.16:54
fullermdI'd assume it's popular enough (and near enough to POSIX in various ways) that perl and python both exist on it.16:54
fullermdBut I've been wrong before.  Occasionally.  And after I killed all the witnesses, it never REALLY happened...16:55
=== zyga-afk is now known as zyga
SimonK?18:13
jelmerhi SimonK18:16
GaryvdMHi SimonK18:17
jelmerhey Gary18:18
GaryvdMHi jelmer18:21
GaryvdMubot: tell me about bug #64720418:21
ubot5Launchpad bug 647204 in QBzr "qbrowse show log crashes: AttributeError: 'BzrBranch7' object has no attribute 'startswith' (affected: 3, heat: 26)" [High,Confirmed] https://launchpad.net/bugs/64720418:21
GaryvdMSimonK: Ok - I don'18:23
LeoNerdbzr: ERROR: Unsupported protocol for url "git://perl5.git.perl.org/perl.git    <==  Did I do something wrong, or is it not supported?18:23
GaryvdMSimonK: Ok - I don't like it when the bug just goes away, so I'll try reproduce it in older revisions.18:24
GaryvdMSimonK: Thanks for testing.18:24
maxbLeoNerd: no, that works18:25
maxbLeoNerd: oh, and we're thinking thursday in the office here18:26
LeoNerdRighty.. I'm busy this end Thursday I think.. :/ but never mind...18:26
LeoNerdmaxb: Well, it doesn't work for me.. ;)18:26
maxbI assume you just don't have bzr-git and/or dulwich installed18:26
LeoNerdOh. Duh! I was sure I had installed it :p18:26
LeoNerdEWRONGMACHINE18:26
maxbHmm, what's Wednesday like for you, we are vacillating as usual18:27
* LeoNerd admits user error, returns to lurking in the shadows18:27
LeoNerdOh... OK... now dulwich won't install... massive "SyntaxError" complaints18:27
maxb!18:27
maxbpastebin?18:27
LeoNerdhttp://paste.leonerd.org.uk/?show=113518:27
maxberm, eek18:28
* maxb reads in detail18:28
jelmerwe don't support python 2.318:28
LeoNerdOK... So... Why's it trying to run it?18:28
jelmerI guess we don't have that declared in debian/control18:28
LeoNerdAnything I can do to fix it?18:28
maxbWhy on earth do you even have python 2.1, 2.2, 2.3 installed on a squeeze machine? :-)18:28
LeoNerdNo idea18:28
LeoNerdProbably never removed them18:29
jelmeruninstall python2.3 ?18:29
LeoNerdOK..18:29
jelmerI'll fix the package to add >= 2.418:29
LeoNerdRiiiighty... Having done that, it's now running nicely smooth.. thanks.18:30
maxbLeoNerd: :-) ... and Wednesday?18:31
LeoNerdProbably busy then also...18:31
maxbk18:31
LeoNerdDon't worry this week18:31
LeoNerdHah... ENOSPC18:32
LeoNerdguess I'd better grow my home then.. :/18:32
SimonKGaryvdM: I've got a pending update for BzrExplorer that populates %%selected in tool definitions with what is selected in the working tree browser.  How do you completely cancel a selection in the qbzr working tree browser?18:35
GaryvdMUm..18:36
GaryvdMI'm sure it's fine to just do treewidget.selectionModel().clear() -http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qitemselectionmodel.html#clear18:41
SimonKGaryvdM: Ah but how does the user do it?18:41
GaryvdMOh18:42
* GaryvdM goes to look at the mp18:42
GaryvdMSimonK: If you have 1 item selected, and you ctrl+click on it, then you have no selection.18:45
GaryvdMSimonK: then you need to use the context menu key on your keyboard, cause when you right click, you get a selected item.18:47
SimonKGaryvdM: Thanks18:50
SimonKGaryvdM: While on the subject, should I update it to support %selected in 'shell' tools?18:52
GaryvdMSimonK: I'm not sure what that is. I've never used the tools utility in bzr-exporer. If it would be usefull to you, then yes I guess.18:54
SimonKGaryvdM: It's not particularly useful - I just thought it would be more consistent18:55
mtayloryou know what would be great? if there were a url shortcut which expanded to my username...20:22
mtaylorso that instead of doing bzr push lp:~my-long-ass-username/drizzle/branchname, I could do: bzr push lp:~/drizzle/branchname or something20:22
GaryvdMmtaylor: I think jam recently fixed that for lp.20:27
GaryvdMmtaylor: It previously work for other urls, e.g. sftp://server/~/mybranch20:27
mtaylorGaryvdM: wow. I llove it when I request something and it just happens :)20:32
pooliehello20:34
GaryvdMHi poolie20:39
GaryvdMmtaylor: I just checked, it was added in 2.3b120:40
mtaylorGaryvdM: excellent. I'm excited to use that when 2.3 lands!20:40
pooliehi monty20:43
pooliejam, hi?20:48
pooliemtaylor: i think you only need 2.3b1 (or now b2?) on the client to use it20:49
poolieso you're waiting for that in... maverick-updates?20:49
maxbNo, maverick is in 2.2.x20:50
maxbs/in/on/20:51
poolieoh of course20:54
poolieso you'd need to use the ppa, or wait for natty20:54
poolieit's early :)20:54
poolieGaryvdM: i think it's quite likely that fixing 483388 would fix 58869820:59
pooliewhich i guess is the real test for whether they are a dupe20:59
poolieand of course it has a good simple reproduction case21:04
pooliehullo?21:07
fullermdShhh.  I'm hunting wabbits.21:08
SimonKexit21:08
GaryvdMpoolie: I agree (sorry - did not think it was a question.)21:09
txdvi am the ruler of the worlds21:09
poolieanyhow, if you want to talk about it more, i'll be around, otherwise just go for it21:09
GaryvdMOk21:09
jamhi poolie21:13
pooliehi there, shall we have a talk?21:16
jampoolie: sure21:16
poolieskype or pots?21:17
jampoolie: skype is easy21:18
homeasvsHi.  I have a local branch that I want to now merge onto an lp branch.  BOth are the same up to revision 2321:44
homeasvshowever, the public branch has a revision 24, while the local branch has 24-3021:44
homeasvsI am trying to merge all of 24-30 onto 23, but keep the separate commits21:45
homeasvsI started by doing merge -r 24 my/local/branch21:45
homeasvsthat applies revision 24 of the local branch21:45
homeasvswhen I do commit, it says that I have a pending merge, the same as the one I just tried to merge21:45
dashhomeasvs: you shouldn't have to specify the revision at all21:46
homeasvsis that normal? How can I commit exactly revision 24 of the local branch onto my public checkout, keeping the commit message?21:46
homeasvsdash, if I don't specify anything, it just merges all changes at once it seems21:46
homeasvsdash, 'squashing' the 6 commits into one as it were21:46
homeasvsunless I'm missing something?21:46
dashhomeasvs: it doesn't squash them, it nests them. :)21:46
homeasvshow can I convince myself it nests them ?21:46
homeasvsand how can I mark the one commit that had a conflict as 'this one goes separate, but let all others pass through as separate commits' ?21:47
dashhomeasvs: so 'bzr log' shows the merge commit as a single commit - but 'bzr log -n0' shows the nested subcommits21:47
homeasvsdash, my local branch is a mistake and I don't want a record of it later21:47
homeasvsie i'd prefer to cherrypick all but one revision and commit them as unnested.  is that possible?21:47
dashanything's possible, i'm sure21:48
homeasvsheh21:48
=== Ursinha is now known as Ursinha-dinner
maxbhomeasvs: OK, so it sounds like bzr merge -c is what you want22:01
maxbSo, you'd freshly branch the public branch to a new local work area, then you would 'bzr merge -c 24 ../mistake-branch', 'bzr commit'22:02
maxband then you would repeat for each revision of mistake you actually wanted to keep22:02
homeasvsmaxb, yeah, tried that, but it still records the fact that it's a merge from some other branch22:07
homeasvsI bruteforced it by creating 6 diffs, one for each rev, and applying them manually22:07
maxboh, I see22:07
maxbbzr merge -c will only record the merge if you are actually merging the 'next' revision, without skipping any22:08
dashhomeasvs: i believe the 'rewrite' plugin is for these situations22:08
maxbif you really really do want to throw away that info, 'bzr revert --forget-merges' before committing22:08
maxbrewrite could have partially applied here, but I don't believe it allows you to drop a revision22:09
mgzthat's not the right answer to the question posed by homeasvs22:16
seiflotfyis poolie around22:17
poolieseiflotfy: hi, i am, but i'm on the phone right now22:17
mgzthe right answer is "it's okay branches have different revision 24s, and it's okay that when you merge your revisions 24-30 become part of a new revision 25"22:17
mgzthe log doesn't need to be a line with dvcs, it can have branchy bits.22:18
mgzgoing straight to bzr-rewrite with that kind on query is leading people down the wrong path.22:18
homeasvsmgz, in this particular case I specifically do not want this to show up as a merge from a branch22:18
maxbThat's true, but homeasvs also mentioned omitting one of the revisions from the existing branch22:18
homeasvsmgz, so I do think that a rewrite would have been the right case here22:18
maxbhomeasvs: Of course, another very relevant question is: Why do you care about it not showing as a merge?22:19
mgzyou need to justify why you need that to be the case22:19
homeasvsbecause the branch was wrong ? it was a cleanup of some work I did a long time ago and part of that work I already did publically apparently22:19
homeasvsnot sure why I need to 'justify'  though :)22:20
mgzif you want to revert a wrong revision that's publicly available, you merge -rN..N-122:20
mgzs/justify/explain/ if you like.22:20
mgzif it's a revision you've not shared yet, uncommit.22:21
homeasvsuncommit seems to completely lose the work that was in the commit though22:22
GaryvdMhomeasvs: uncommit dose not revert. It goes back to were you were before the commit.22:24
mgzgenerally just reverting bad revisons in a seperate commit with a "I screwed up" commit message is what you want when there's enough history to be worth preserving22:26
mgzeither you care about the history, of which your screwup was a possibly-significant-later part, or you don't and may as well just commit the diff as one revision22:26
mgzam interested what you actually ended up doing homeasvs22:42
homeasvsmgz, like I said above, just generate a patch for each revision, then apply the ones I wanted by hand22:43
GaryvdMpoolie: ah - ok - after further investigating I see that 588698 and the initial example given in 483388 are in fact different.22:44
pooliek22:47
mgzhomeasvs: can use uncommit and shelve to do similar thing with marginally less labour for future note.22:49
homeasvsmgz, will keep that in mind, thanks for the tip22:49
pooliemgz, hello23:33
pooliespiv, good morning?23:33
StuartPBHow do I make a new version of a branch where one file doesn't exist in the history?23:34
poolieStuartPB: you want to pretend it never happened?23:34
pooliei think bzr-rewrite can do that23:35
StuartPBhow do I use it23:39
StuartPBis it in the default bzr windows install23:39
spivpoolie: good morning23:40
mgz33 failures... 5 failures...23:51

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