/srv/irclogs.ubuntu.com/2015/03/28/#bzr.txt

=== Spads_ is now known as Spads
LeoNerdGAHHH12:35
LeoNerdONCE AGAIN  bzr up  did not abort on diverged history but instead made a merge12:36
LeoNerdHow do I a) unfuck this, and b) stop it EVER doing it again?12:36
LeoNerdI do not *EVER* want  bzr up  to merge. if there's divergant history I want it to complain, so that I can rebase12:36
SpadsLeoNerd: so bzr up kind of *is* merge12:58
LeoNerdYes. I don't want one12:59
Spadsso why did you run bzr up, exactly?12:59
LeoNerdI want it to bring me in new non-divergent history, or abort if there is12:59
Spadsare you doing a bzr checkout?12:59
LeoNerdIt's a checkout yes12:59
Spadsis there a reason you're doing that instead of bzr branch?13:00
LeoNerdBecause most of the time I'm online and therefore I want to use the central server13:00
Spadsthe semantics of bzr checkout are there to support people who are uncomfortable with anything but SVN, near as I can tell13:00
Spadseveryone else just uses bzr branch13:00
Spadsand does pull/merge/push13:00
Spadsa pull will abort on divergent history13:00
Spadsup is basically "merge from where I checked out to" and that is basically all it is13:01
Spadss/ to//13:02
LeoNerdAh; maybe I should just use pull then..?13:02
SpadsI think so13:03
Spadsyou'll need to branch first13:03
LeoNerdNah13:03
Spadsyour checkout has no repo basically13:03
LeoNerdpull :bound == up, give or take13:03
Spadsyeah13:03
Spadssee this conflict detection is a repo opration13:03
Spadsmostly13:03
Spadsso it's about two repos communicating13:03
Spads(I think)13:03
Spadsso a branch will have a local repo13:03
Spadsand can thus negotiate the conflicts correctly13:04
Spadsbut if pull :bound works, then do use it!13:04
Spadsbut divergent history vs :bound doesn't make sense to my mind13:04
Spadshistory only exists in branches13:04
Spadsnot checkouts13:04
Spadscheckouts defer history to the bound branch13:04
LeoNerdI only really get divergent history if I was offline on my laptop, like on a train13:04
LeoNerdAs happened here13:04
Spadsif you're doing work offline on your laptop, you want to branch locally13:04
Spadsunless this is something pathological like a repo with 44G of history or something13:05
LeoNerdHrm? A checkout is a branch13:05
Spadsnot really13:05
LeoNerdbzr co == bzr branch + bzr bind13:05
Spadshm13:06
LeoNerdIt's not a _lightweight_ checkout.. it still has a local branch13:06
Spadsahhhh13:06
Spadsokay sorry13:06
Spadsyes, I was thinking lightweight13:06
LeoNerd:)13:06
Spadsso yeah, see if pull :bound has the right semantics for you13:06
LeoNerdOh, Ialready know it does. I just keep forgetting to do that13:06
Spadsheh13:06
LeoNerd((You only need :bound the first time; it'll remember afterwards)13:06
Spadsbzr pull --remember is handy when you get those wrong13:06
Spadsmaybe bzr alias up="pull :bound" would help :)13:08
* Spads does that on his one heavyweight checkout13:08
* Spads has been using bzr since 2006 or so, and could swear that bzr co used to do lightweight checkouts13:11
LeoNerdMm... I don't think it ever has done13:12
LeoNerdThough that might be a configurable option13:12
Spadsiinteresting13:14
SpadsTIL13:14
fullermdYour problem isn't using 'up', it's using 'ci --local'.  I still maintain that its existence is a bug   :p17:51

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