drmikehenry/svnwrap — pull request #9 by jszakmeister (2014-10-25 10:16:11+00:00)
Title: Some pager-related cleanups.

I think this fixes the issue you were seeing Mike. Also, I found a bug/typo when catching multiple errors and I added '-K' to the list of default less arguments, otherwise less will ignore the Ctrl-C. Finally, I also added the routing of stderr through the pager, taking a page from Mercurial's book.

FWIW, I basically nabbed the new pager setup bits from there, as I thought it made a lot of sense, and I liked how the cleanup was arranged. I had something similar, but with the restoring of stdout and stderr, and I didn't like the result as much.