mercurial/debugcommands.py
changeset 50641 89556caf3c66
parent 50616 2704dc40cf10
child 50715 0ab3956540a6
equal deleted inserted replaced
50640:cbcbf63b6dbf 50641:89556caf3c66
   615 def debugcreatestreamclonebundle(ui, repo, fname):
   615 def debugcreatestreamclonebundle(ui, repo, fname):
   616     """create a stream clone bundle file
   616     """create a stream clone bundle file
   617 
   617 
   618     Stream bundles are special bundles that are essentially archives of
   618     Stream bundles are special bundles that are essentially archives of
   619     revlog files. They are commonly used for cloning very quickly.
   619     revlog files. They are commonly used for cloning very quickly.
       
   620 
       
   621     This command creates a "version 1" stream clone, which is deprecated in
       
   622     favor of newer versions of the stream protocol. Bundles using such newer
       
   623      versions can be generated using the `hg bundle` command.
   620     """
   624     """
   621     # TODO we may want to turn this into an abort when this functionality
   625     # TODO we may want to turn this into an abort when this functionality
   622     # is moved into `hg bundle`.
   626     # is moved into `hg bundle`.
   623     if phases.hassecret(repo):
   627     if phases.hassecret(repo):
   624         ui.warn(
   628         ui.warn(