Mercurial > hg-git
comparison hggit/gitrepo.py @ 1129:5edabf9db748
gitrepo: implement commandexecutor for hg 4.6
For now, we just import when this method is called since only newer
versions of Mercurial will be calling it.
author | Sean Farley <sean@farley.io> |
---|---|
date | Thu, 24 May 2018 09:50:04 +0200 |
parents | 6141895a53c9 |
children |
comparison
equal
deleted
inserted
replaced
1128:6141895a53c9 | 1129:5edabf9db748 |
---|---|
94 raise NotImplementedError | 94 raise NotImplementedError |
95 | 95 |
96 def unbundle(self): | 96 def unbundle(self): |
97 raise NotImplementedError | 97 raise NotImplementedError |
98 | 98 |
99 def commandexecutor(self): | |
100 from mercurial.wireprotov1peer import peerexecutor | |
101 return peerexecutor(self) | |
99 | 102 |
100 instance = gitrepo | 103 instance = gitrepo |
101 | 104 |
102 | 105 |
103 def islocal(path): | 106 def islocal(path): |