[RFC] remove/copy enhancements

Bryan O'Sullivan bos at serpentine.com
Thu Sep 15 12:14:18 CDT 2005

On Thu, 2005-09-15 at 12:00 -0500, Jordan Breeding wrote:
> Hello for the rest of the email I will reference this output

Sorry, but that's way too long to read, especially without a description
of the problems first.

> 1) If, during a remove, a directory tree becomes empty and the remove
> command was issued using that directory (eg. `hg remove three` above),
> I think that we should prune the empty directory tree as we do for
> updates.

I wrote code to do that, but ended up yanking it before the commit.  If
other people would like that behaviour, it's easy to put back in.
Opinions, anyone?

> 2) It seemed to me that `hg cp -p` would work like `cp -R` and that it
> would create the new directory structure for me.

That's what it does.


More information about the Mercurial mailing list