mercurial/localrepo.py
changeset 27165 70884715725e
parent 27071 dfb31eebd949
child 27166 263db31329a6
--- a/mercurial/localrepo.py	Tue Dec 01 09:48:38 2015 -0800
+++ b/mercurial/localrepo.py	Wed Nov 11 19:47:49 2015 -0500
@@ -1856,22 +1856,6 @@
         """
         return util.hooks()
 
-    def clone(self, remote, heads=[], stream=None):
-        '''clone remote repository.
-
-        keyword arguments:
-        heads: list of revs to clone (forces use of pull)
-        stream: use streaming clone if possible'''
-        # internal config: ui.quietbookmarkmove
-        quiet = self.ui.backupconfig('ui', 'quietbookmarkmove')
-        try:
-            self.ui.setconfig('ui', 'quietbookmarkmove', True, 'clone')
-            pullop = exchange.pull(self, remote, heads,
-                                   streamclonerequested=stream)
-            return pullop.cgresult
-        finally:
-            self.ui.restoreconfig(quiet)
-
     def pushkey(self, namespace, key, old, new):
         try:
             tr = self.currenttransaction()