diff mercurial/peer.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 4ed6b3a24661
children cbbdd085c991
line wrap: on
line diff