[MERGE] bzr rm should delete the working file (Bug #82602)
Marius Kruger
amanic at gmail.com
Fri Feb 16 08:01:08 GMT 2007
Hi guys,
in this today's the bundle:
``bzr remove`` and ``bzr rm`` will now remove the working file.
This has been done for consistency with svn and the unix rm command.
The old ``remove`` behaviour has been retained in the new command
``bzr unversion``, which will just stop versioning the file,
but not delete it.
Note, I do not support recursive delete, I think it should only be done if a
--recurse option is given.
Let me know if I need to support recursion for this bundle to be merged.
please be careful!
I will not be held responsible for lost data!!
do not do the following:
$vi a
<hack hack hack>
$bzr add a
<realise you don't want to add it now>
$bzr remove a
<WHOOPS, data gone!>
don't say I did not warn you. (we probably need to warn the bzr.dev and
release(candidate) users explicitly)
bye
MariusKruger
On 2/1/07, Martin Pool <mbp at canonical.com> wrote:
> If you like, you could also do
>
> https://bugs.launchpad.net/bzr/+bug/82602
>
> which is to change bzr rm to actually remove the working files too.
> That should be straightforward and would be less surprising. A patch
> would need a blackbox test.
>
--
I code therefore I am.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20070216/168c18fb/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rm_delete_working_file.patch
Type: application/octet-stream
Size: 61755 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070216/168c18fb/attachment-0001.obj
More information about the bazaar
mailing list