[rfc] bzr --cd=/any/where rocks
Marius Kruger
amanic at gmail.com
Tue Jan 27 22:37:32 GMT 2009
2009/1/28 Jelmer Vernooij <jelmer at samba.org>
> I think it makes more sense to add a generic option to Bazaar that can
> be easily used and make use of that in more places than to add a global
> option.
>
> E.g. allowing "directory" in the takes_options array like we already
> allow "revision". What commands are there that you think could use -d
> but don't support it at the moment?
thats sort of my point: some commands take a "directory" option and others
take a -d option, and some does not implement something like this eg.
missing
I want something that works exactly the same no matter what the command.
I'm not suggesting that we remove there other options because they cater for
something slightly different (eg. branch urls).
I see --cd as a complementary thing.
I also don't think it is actually necessary to change the directory in a
> lot of situations and that it can actually be harmful since *all* paths
> would be interpreted relative to the option specified in --cd. For
> example, take "bzr push -d ../somedir subdir". This would behave
> differently when used with an option that does an actual chdir.
That is exactly what I want. --cd should behave exactly the same as if you
actually cd'd into that dir and then run she command.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20090128/1ff82010/attachment.htm
More information about the bazaar
mailing list