/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/builtins.py

  • Committer: Jelmer Vernooij
  • Date: 2019-09-01 15:33:59 UTC
  • mto: This revision was merged to the branch mainline in revision 7404.
  • Revision ID: jelmer@jelmer.uk-20190901153359-9gl0ai0x5wuiv444
Rename init-repo to init-shared-repo.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2033
2033
        brz commit -m "imported project"
2034
2034
    """
2035
2035
 
2036
 
    _see_also = ['init-repository', 'branch', 'checkout']
 
2036
    _see_also = ['init-shared-repository', 'branch', 'checkout']
2037
2037
    takes_args = ['location?']
2038
2038
    takes_options = [
2039
2039
        Option('create-prefix',
2131
2131
                self.outf.write(gettext("Using shared repository: %s\n") % url)
2132
2132
 
2133
2133
 
2134
 
class cmd_init_repository(Command):
 
2134
class cmd_init_shared_repository(Command):
2135
2135
    __doc__ = """Create a shared repository for branches to share storage space.
2136
2136
 
2137
2137
    New branches created under the repository directory will store their
2149
2149
    :Examples:
2150
2150
        Create a shared repository holding just branches::
2151
2151
 
2152
 
            brz init-repo --no-trees repo
 
2152
            brz init-shared-repo --no-trees repo
2153
2153
            brz init repo/trunk
2154
2154
 
2155
2155
        Make a lightweight checkout elsewhere::
2173
2173
                            help='Branches in the repository will default to'
2174
2174
                            ' not having a working tree.'),
2175
2175
                     ]
2176
 
    aliases = ["init-repo"]
 
2176
    aliases = ["init-shared-repo", "init-repo"]
2177
2177
 
2178
2178
    def run(self, location, format=None, no_trees=False):
2179
2179
        if format is None: