Feedback from evaluation in a corporate environment
Stefan Monnier
monnier at iro.umontreal.ca
Tue Jan 12 22:00:50 GMT 2010
> How about combining init, init-repo and init-workspace into a new init
> which supports different tree (workspace) organizations, e.g.
> bzr init --repo # mostly useful for advanced cases
> bzr init --plain-branch # ditto
> bzr init --shared-tree
> bzr init --feature-branches
> ... etc ...
Maybe a simpler approach is to relegate `init-repository' to a rare
command used by knwoledgeable people (like those who setup the
centralized CVS/Svn repositoryies).
And then change `bzr branch' in the following way:
- if working within a shared repo or across machines, just do it, as it
currently does.
- if branching on the same machine but not within a shared repo and
without any special arg: signal an error.
- otherwise, depending on the value of a new --repo argument:
--repo=new => do a slow and painful copy of the whole repository
--repo=../.. first move the repository to ../.. where it is then shared.
maybe some option could even be used to request that a new branch be
setup locally (e.g. inside the .bzr directory) and a lightweight
checkout be created at the destination instead of a branch.
-- Stefan
More information about the bazaar
mailing list