Merge lp:~mbp/bzr/506265-command-deprecation into lp:bzr
Proposed by
Martin Pool
Status: | Merged |
---|---|
Approved by: | Andrew Bennetts |
Approved revision: | no longer in the source branch. |
Merged at revision: | 5802 |
Proposed branch: | lp:~mbp/bzr/506265-command-deprecation |
Merge into: | lp:bzr |
Diff against target: |
198 lines (+68/-2) 7 files modified
bzrlib/builtins.py (+8/-0) bzrlib/commands.py (+13/-0) bzrlib/tests/blackbox/test_branch.py (+15/-0) bzrlib/tests/test_commands.py (+12/-0) bzrlib/ui/__init__.py (+4/-0) doc/en/release-notes/bzr-2.4.txt (+8/-0) doc/en/whats-new/whats-new-in-2.4.txt (+8/-2) |
To merge this branch: | bzr merge lp:~mbp/bzr/506265-command-deprecation |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andrew Bennetts | Approve | ||
John A Meinel | Needs Fixing | ||
Review via email: mp+55030@code.launchpad.net |
This proposal supersedes a proposal from 2011-03-25.
Commit message
Deprecate 'bzr clone' and 'bzr get' (bug 506265)
Description of the change
This makes cmd_branch give a warning if it's invoked as 'bzr get' or 'bzr clone'. See bug 506265.
This can't be suppressed by defining a user alias, but it also is not fatal.
To post a comment you must log in.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 03/25/2011 10:45 AM, Martin Pool wrote: /code.launchpad .net/~mbp/ bzr/506265- command- deprecation/ +merge/ 54828
> Martin Pool has proposed merging lp:~mbp/bzr/506265-command-deprecation into lp:bzr.
>
> Requested reviews:
> bzr-core (bzr-core)
>
> For more details, see:
> https:/
>
> This doesn't fix bug 506265, but it adds a new Command.invoked_as member, which gets the original name before alias expansion.
Does this distinguish between user aliases and built-in aliases?
I'm certainly fine with the addition. I think I see how you want to use
this, so I'm happy to bring it in, even though it isn't directly used now.
John enigmail. mozdev. org/
=:->
merge: approve
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAk2 MZZ8ACgkQJdeBCY SNAANKEACfdTxJA 44Pwnmn+ mT8XFO0s8mt GVuakK2qPUvht/ ROUllozW
xOUAoMlIE+
=wEc1
-----END PGP SIGNATURE-----