comparison mercurial/debugcommands.py @ 50673:89556caf3c66

stream-clone: update debugcreatestreamclonebundle helps People to stop using streamv1, so we should point them to alternative in the place where people might find it.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 31 May 2023 16:04:16 +0100
parents 2704dc40cf10
children 0ab3956540a6
comparison
equal deleted inserted replaced
50672:cbcbf63b6dbf 50673: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(