##// END OF EJS Templates
inotify: return version to client even when not matching...
Simon Heimberg -
r8952:7c7a672e default
parent child Browse files
Show More
@@ -717,6 +717,12 b' class server(pollable):'
717 if version != common.version:
717 if version != common.version:
718 self.ui.warn(_('received query from incompatible client '
718 self.ui.warn(_('received query from incompatible client '
719 'version %d\n') % version)
719 'version %d\n') % version)
720 try:
721 # try to send back our version to the client
722 # this way, the client too is informed of the mismatch
723 sock.sendall(chr(common.version))
724 except:
725 pass
720 return
726 return
721
727
722 type = cs.read(4)
728 type = cs.read(4)
General Comments 0
You need to be logged in to leave comments. Login now