removing files deleted from the working tree
Martin Pool
mbp at canonical.com
Wed Aug 18 00:21:24 BST 2010
On 18 August 2010 08:52, Joey Morris <rjmorris12 at gmail.com> wrote:
> From the Bazaar tutorial: "You can delete files or directories by just
> deleting them from the working directory. This is a bit different to CVS,
> which requires that you also do cvs remove." I'm fairly new to version
> control and Bazaar. What is the rationale behind this behavior? Is it solely
> for the convenience of not needing a bzr remove?
>
> It seems a little dangerous to delete files without an explicit bzr remove.
> To be fair, I guess it's dangerous only if you aren't paying close attention
> to the output of bzr status before you commit, which is bad practice anyway.
> Even so, I think I like Mercurial's behavior better, where the status
> command identifies deleted files as "missing" instead of "removed", and a
> commit doesn't remove missing files from the branch.
Does commit fail if there are un-removed missing files, or does it
leave them unchanged?
> Can I configure Bazaar
> so that bzr remove is required to remove a file?
There's a bug <http://pad.lv/5158> asking for an option to get that
behaviour. I think it would be useful in at least some cases and
reasonable to add. If anyone wants to try this we'll help them get it
in.
--
Martin
More information about the bazaar
mailing list