comparison mercurial/sshserver.py @ 24058:d1fcff9400c9

trydiff: call util.binary in only one place It's practically free to call util.binary on empty or None content. By relying on that, we can replace the current four call sites by one.
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 22 Jan 2015 22:22:09 -0800
parents e2806b8613ca
children 9f6e0e7ef828
comparison
equal deleted inserted replaced
24057:696d0fd77d94 24058:d1fcff9400c9