/srv/irclogs.ubuntu.com/2012/05/02/#bzr.txt

lduroshello: is there a way when running bzr log to have a less-like pager00:51
ldurosakin to git log?00:51
ldurosit's dumping the whole revision log00:51
lduroscurrently00:51
ldurosi'm using bzr qlog00:54
ldurosbut it would be nice to be able to do something like that from the terminal :-)00:54
bob2you can pipe to less01:01
bob2or there's a plugin01:01
ldurosbob2: ok01:24
ldurosbzr log | less01:24
lduros:-P01:24
ldurosobviously... thanks01:24
fullermdHeh.  Just found a dirstate branch/repo lying around.05:12
mgrandioh?05:18
fullermdIt's probably not the only one.  But it's been some years since the last one I found.05:20
mgrandiwhat is a dirstate branch/repo05:20
lifelessfullermd: a branch to hack on dirstate, or a dirstate one ? and by dirstate do you mean packs ?05:20
fullermdlifeless: The latter.  And no, straight-up knits.05:21
lifelessmgrandi: dirstate is the codename for the working tree metadata file format.05:21
lifelessfullermd: wwwwin05:21
fullermdI sure hope I don't have any weaves still around.05:21
mgrandiah05:21
fullermdmgrandi: Basically, a really old format.05:22
fullermdI think it basically proves that my $HOME is a dangerous neighborhood that it's best not to wander around in...05:23
vilahi all06:33
mgzmorning!07:01
jelmerhey mgz07:12
=== mgorny_ is now known as mgorny
* mgz wombles around07:14
vilahey jelmer, mgz !07:21
=== mthaddon` is now known as mthaddon
=== Guest77193 is now known as yofel
=== yofel is now known as Guest53016
=== Guest53016 is now known as yofel_
=== nopf_ is now known as nopf
=== lool- is now known as lool
jmlehy10:54
jmlis there an easy way to get the diff between a merged revision and the tip of the branch that it merges in?10:54
jmlI mean, bzr log -n0 -r $MERGE_REV will get me the tip of the branch's revno10:55
jmland then I can do a diff10:55
mgzdo you mean like `bzr diff -r mainline:2.1.1` for instance?10:57
mgzI'm not quite sure which two revisions you want the diff between10:58
mgzjml: in your example, what is $MERGE_REV and what is the final diff command you run?10:59
jmlumm...10:59
jmllp:subunit r165 is where lifeless merged a branch of mine in, making changes first11:00
mgzah, that's the painful case then11:00
mgzyou want to see what lifeless did right?11:00
jmlbzr log -n0 -r165 |head to get the tip revision of my branchh11:00
jmlmgz: yeah11:00
jmlwhich turns out to be 162.2.2611:01
mgzthere's no general case that works for that.11:01
jmland then bzr di -r 162.2.26..16511:01
jmlmgz: because bzr allows arbitrary numbers of revision parents?11:01
mgzbecause you get the 163..164 changes mixed in as well11:01
jmlah11:01
mgzthat's okay when the branch merged is pretty fresh11:01
mgz(or when you merge trunk like you did there)11:08
mgzI'm not seeing any way of getting to r162.2.26 from r165 either though.11:09
mgzgiven there may be more than one (left hand? I forget the term) parent, I'm not sure there is a command line way11:12
lifelessjml: difftastic11:35
lifelessmgz: ^11:35
lifelessabently wrote the general case as a plugin11:35
mgzlifeless: where is this to be found? <https://launchpad.net/+search?field.text=difftastic> doesn't help.11:38
lifelesshttps://launchpad.net/difftacular/trunk11:38
mgzah, difftactular11:38
lifelesswrong name11:38
lifelessdoesn't stick in my head for sime reason11:39
mgzleonardr happened to make the same slip in that review11:39
jmlheh11:41
lifelessit might be nice to put that in the bzr plugin register, add to the bazaar project etc, but talk to abentley11:43
lifeless(it may be already, I dunno)11:44
ldurosevery time I commit using VC in emacs (C-x v v) or do bzr commit, it pushes in the same time to the remote branch13:26
lduroshow can I prevent that? :-)13:26
mgzunbind your local branch13:28
jmlhow do I set the public location of a branch?13:29
ldurosmgz: ok13:30
ldurosbzr unbind ... so easy :-)13:30
mgzlduros: you might instead want to work in feature branches, then merge them in to the bound trunk and commit when done13:30
ldurosI don't see why ppl love git so much13:30
ldurosmgz: hmm, that might make sense13:30
mgzjml: there's a config command that works I think, sec13:31
mgzpeople love git because dvcses are great13:31
mgzjml: `bzr config public_branch=lp:foo`13:33
ldurosmgz: it's like saying people only like apples, but in fact what they like in the apple is the concept of fruit?13:33
mgzwith the caveat I'm not sure lp: actually works depending on when it gets resolved to bzr+ssh: exactly13:34
mgzlduros: yup, but apples are all they have growing in the garden13:34
lduros:-P13:34
ldurosand it's one of the fruits with the most pesticides13:34
ldurosbzr is more like organic strawberries13:35
jmlmgz: ta13:37
jmlmgz: I always forget which has _branch and which has _location13:37
vilajml: just use 'bzr config' and you get them all13:38
mgzvila: only if it's already set...13:38
vilarhaaa, public, sry13:38
LarstiQjml: yeah, it would be nice to clean _branch vs _location up13:54
=== deryck is now known as deryck[lunch]
pikkachuwhen you're about to merge an old branch, do you merge upstream changes into the old branch first, or do you just merge the old branch directly?16:59
mgzpikkachu: generally just merge the old branch directly and resolve any conflicts17:04
mgzfor some landing systems (like pqm which lp:bzr uses) you want to merge trunk first because the landing robot isn't smart enough to handle conflicts17:04
pikkachuok thanks17:20
=== deryck[lunch] is now known as deryck
=== iBasic is now known as BasicOSX
=== yofel_ is now known as yofel

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