Mercurial > hgsubversion
comparison hgsubversion/svnrepo.py @ 1571:f8ca09a97492
svnrepo: implement commandexecutor for hg 4.6
author | Paul Morelle <paul.morelle@octobus.net> |
---|---|
date | Fri, 25 May 2018 15:25:53 +0200 |
parents | c28c757ffe16 |
children | 0d18108ec153 |
comparison
equal
deleted
inserted
replaced
1570:d55c9d0ba350 | 1571:f8ca09a97492 |
---|---|
203 def pushkey(self, namespace, key, old, new): | 203 def pushkey(self, namespace, key, old, new): |
204 return False | 204 return False |
205 | 205 |
206 def listkeys(self, namespace): | 206 def listkeys(self, namespace): |
207 return {} | 207 return {} |
208 | |
209 def commandexecutor(self): | |
210 from mercurial.wireprotov1peer import peerexecutor | |
211 return peerexecutor(self) | |
208 | 212 |
209 if peerapi == 1: | 213 if peerapi == 1: |
210 def canpush(self): | 214 def canpush(self): |
211 return True | 215 return True |
212 | 216 |