diff mercurial/statichttprepo.py @ 12037:aaf9968bd8b7

statichttprepo: disable pushkey
author Matt Mackall <mpm@selenic.com>
date Tue, 24 Aug 2010 13:13:35 -0500
parents 245a67fe2574
children 61c9bc3da402
line wrap: on
line diff
--- a/mercurial/statichttprepo.py	Fri Aug 13 16:05:08 2010 +0200
+++ b/mercurial/statichttprepo.py	Tue Aug 24 13:13:35 2010 -0500
@@ -129,6 +129,7 @@
         self._branchcachetip = None
         self.encodepats = None
         self.decodepats = None
+        self.capabilities.remove("pushkey")
 
     def url(self):
         return self._url