diff -r 417f3c27983b -r ea68947ad0ce mercurial/httprepo.py --- a/mercurial/httprepo.py Mon Nov 15 17:04:55 2010 -0600 +++ b/mercurial/httprepo.py Tue Nov 16 21:35:58 2010 +0100 @@ -68,7 +68,7 @@ raise util.Abort(_('operation not supported over http')) def _callstream(self, cmd, **args): - if cmd is 'pushkey': + if cmd == 'pushkey': args['data'] = '' data = args.pop('data', None) headers = args.pop('headers', {})