Two questions about init and init-repo
Aaron Bentley
aaron.bentley at utoronto.ca
Sun Jul 2 21:11:00 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Adeodato Simó wrote:
> Hi.
>
> I have two simple issues with init and init-repo, and I'd like to know
> if they're addressable, or are the current way for a particular reason.
>
> 1. Is there a reason init-repo's "location" argument is not optional,
> defaulting to '.' like init does?
When I wrote it, it seemed very unlikely that people would want to turn
'.' into a repository. The idea was that you would keep your branches
in one place and your lightweight checkouts in another.
Since repositories would be just directories with branches in them, you
wouldn't want to init-repo an existing directory, including '.'.
> 2. Has there been talk about an option for init (maybe branch too?, hm)
> to prevent the shared (with --trees) repository from being used?
No, I don't think we've discussed that. Obviously, there are
workarounds to achieve that, but how do you see it being useful?
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEqChU0F+nu1YWqI0RAqf3AJwLXT2EgnE8m+xBcJQEkdBXXSwAiACeLj9f
JuIFItLJmlm/sJ7lPYxxxTg=
=wAnb
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list