Suggestions

Matt Mackall mpm at selenic.com
Mon Aug 8 23:11:53 CDT 2005


On Tue, Aug 09, 2005 at 06:08:56AM +0200, Thomas Arendsen Hein wrote:
> * TK Soh <teekaysoh at yahoo.com> [20050809 05:51]:
> > > Second suggestion:
> > > 
> > >     I've always been frustrated by the behavior of "remove" in cvs
> > >     that forces you to first remove the file before you can actually
> > >     call cvs remove on it. It turns out that hg seems to be behaving
> > >     the same. Is there any chance of having hg being less anal about
> > >    this and letting the user do an hg remove on a file even though it still
> > >     exists in the directory ?
> > 
> > I was griping about this awhile ago. It turns out there's really no need of hg
> > remove, simply deleting the files seemed to be enough:
> > 
> >     % rm sub/sub2.c
> >     % hg status
> >     R sub/sub2.c
> 
> This is a bug and will be fixed soon :)
> 
> Of course a --force flag to 'hg remove' would be good here.

We want something other than force, otherwise people will expect it to
behave like 'rm -f'. Perhaps -D/--delete?

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial mailing list