tag:blogger.com,1999:blog-3822757291061444396.post6229043005361725801..comments2024-02-27T03:14:00.412-06:00Comments on From the Canyon Edge: Bikeshed: bzrp (bzr with a sensible-pager)Dustin Kirklandhttp://www.blogger.com/profile/12464590128908584782noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-3822757291061444396.post-34259611980653070162010-10-20T14:58:37.628-05:002010-10-20T14:58:37.628-05:00Thanks Marius. I just committed a fix.Thanks Marius. I just committed a fix.Dustin Kirklandhttps://www.blogger.com/profile/12464590128908584782noreply@blogger.comtag:blogger.com,1999:blog-3822757291061444396.post-32484891728232139462010-10-20T14:52:00.602-05:002010-10-20T14:52:00.602-05:00I looks like bzrp doesn't handle arguments wit...I looks like bzrp doesn't handle arguments with spaces in them. You may need to quote "$@".<br /><br />I'be been using a script for bzr diff and bzr log to add pagination/colourizing, e.g. my ~/bin/bzrdiff is (going to be horrendously mangled on this blog, I bet)<br /><br /><br />#!/bin/bash<br /># bzr diff with nice colours<br />args="--diff-options=-p $@"<br />if test -t 1 && test -x /usr/bin/colordiff; then<br /> # stdout is a tty<br /> exec bzr diff $args|colordiff|less -R<br />else<br /> exec bzr diff $args<br />fiAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3822757291061444396.post-52811078159793094972010-10-20T07:31:02.676-05:002010-10-20T07:31:02.676-05:00sladen,
Ah, yes, thanks:
https://bugs.edge.launch...sladen,<br /><br />Ah, yes, thanks:<br />https://bugs.edge.launchpad.net/bzr/+bug/213718/comments/11<br /><br />:-DustinDustin Kirklandhttps://www.blogger.com/profile/12464590128908584782noreply@blogger.comtag:blogger.com,1999:blog-3822757291061444396.post-33261696837577189742010-10-20T05:58:53.813-05:002010-10-20T05:58:53.813-05:00Please add grievances to bug #213718 (or one of it...Please add grievances to <a href="https://bugs.launchpad.net/debian/+source/bzr/+bug/213718" rel="nofollow">bug #213718</a> (or one of its dups)! It's one of those things that <em>really</em> should have been fixed for everyone by now.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3822757291061444396.post-36540612678110879562010-10-20T01:37:02.678-05:002010-10-20T01:37:02.678-05:00Ah, interesting. Thanks everyone for the pointer ...Ah, interesting. Thanks everyone for the pointer to bzr-pager.<br /><br />I did apt-cache search for something like this, but turned up no hits.<br /><br />Doesn't look like bzr-pager is packaged yet?<br /><br />:-DustinDustin Kirklandhttps://www.blogger.com/profile/12464590128908584782noreply@blogger.comtag:blogger.com,1999:blog-3822757291061444396.post-19620601577853885002010-10-19T18:03:55.768-05:002010-10-19T18:03:55.768-05:00Is this different to the bzr-pager plugin? One of...Is this different to the <i>bzr-pager</i> plugin? One of my new-install tasks is to run “bzr branch lp:bzr-pager pager” in ~/.bazaar/plugins.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3822757291061444396.post-22202987733954325342010-10-19T15:12:19.306-05:002010-10-19T15:12:19.306-05:00Dustin: fyi there was a bzr-pager plugin previousl...Dustin: fyi there was a bzr-pager plugin previously that auto-pipes all commands to sensible-pager. Though I quite like your version, using a different prefix cmd :)<br /><br />https://launchpad.net/bzr-pagerAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3822757291061444396.post-9604720711328239292010-10-19T14:02:57.148-05:002010-10-19T14:02:57.148-05:00I've been using https://launchpad.net/bzr-page...I've been using https://launchpad.net/bzr-pagerAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3822757291061444396.post-91466095532046814522010-10-19T11:53:42.591-05:002010-10-19T11:53:42.591-05:00Hi Dustin,
there is also a plugin for bzr which di...Hi Dustin,<br />there is also a plugin for bzr which directs output of various commands to $PAGER, I'm using it since ages, and I'm very happy with it ;)<br /> bzr get http://bzr.oxygene.sk/bzr-plugins/pager/Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3822757291061444396.post-40507668033458860342010-10-19T11:46:52.318-05:002010-10-19T11:46:52.318-05:00You can also do this:
mkdir -p ~/.bazaar/plugins
...You can also do this:<br /><br />mkdir -p ~/.bazaar/plugins<br />bzr branch lp:bzr-pager ~/.bazaar/plugins/bzr-pager<br /><br />And all bzr commands will be paged.Michael Terrynoreply@blogger.com