remove vs rm vs forget (was [MERGE] remove --new)
John Arbash Meinel
john at arbash-meinel.com
Fri Jun 16 17:47:24 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Matthew D. Fuller wrote:
> On Fri, Jun 16, 2006 at 11:33:34AM -0500 I heard the voice of
> John Arbash Meinel, and lo! it spake thus:
>> bzr rm --no-delete # Doesn't touch the working file
>> bzr rm --delete # Does the same as plain bzr rm, but exists for
>> # consistency.
>
> We've covered this bit once or twice before in other contexts, but we
> should have both options, whichever the default is. If the default
> moved to --delete, I'll add a --no-delete alias, but I may want to
> --delete at some point and override my override.
Which is another discussion, since right now our option parsing doesn't
just take the last valid entry. So in the mean-time I would have the
most conservative option win (and rm --no-delete would win for
bzr rm --no-delete --delete).
In the short term there is
bzr --no-aliases rm --delete
Yes, it is ugly. We have wanted to update our option parsing for a while
(for cases just like this).
It is just a fairly large overhaul, with only a limited obvious benefit.
So we have put it on the back-burner.
I suppose because of this we can make --no-delete the default.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEkuCbJdeBCYSNAAMRAoklAKCJO/ERjPrxpIimRiw152xZlDToGACfX2wJ
09zAkROv6s9gTPuZl40MPnQ=
=lMQ9
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list