Converting standalone branch to inside-repo branch?
Andrew Cowie
andrew at operationaldynamics.com
Thu Sep 13 03:07:08 BST 2007
On Wed, 2007-09-12 at 18:15 +0200, Nicholas Allen wrote:
> Perhaps it would be nice if init-repo could detect there were existing
> branches under it and ask the user if they want to move the history into
> the shared repo.
I ran into this the other day. I agree it would be a cool feature.
You might run into the problem of it being too jealous
- if you accidentally do `bzr init-repository` in /, you're in for a
ride; and
- how many levels down do you go, in the case where people are nesting
branches in (empty) convenience directories [ie we have
repository/mainline and repository/hackers/person1/branches and
repository/hackers/person2/branches, both hackers and person{1,2} are
empty not branches not "repos"]
still, seems like it could just work, ie "if there are no .bzr
directories in directories immediately below this one, then don't worry
about looking for branches' revisions to pull up, just make the new repp
and get on with it.
> or it could just do it anyway as I can't think of a case where
> one would want to keep a branch inside a repo that didn't store its
> history in the repo.
Me neither. Sounds like a sensible default & no need for an option.
AfC
Sydney
--
Andrew Frederick Cowie
We are an operations engineering consultancy focusing on strategy,
organizational architecture, systems review, and change management
procedures: enabling successful use of open source in mission
critical enterprises, worldwide.
http://www.operationaldynamics.com/
Sydney New York Toronto London
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070913/3af5b88c/attachment.pgp
More information about the bazaar
mailing list