hg remove implicit for whole tree commits?

Robin Farine robin.farine at terminus.org
Sun Aug 7 09:03:54 CDT 2005


On Sunday 07 August 2005 08.58, Thomas Arendsen Hein wrote:
> * Robin Farine <robin.farine at terminus.org> [20050807 02:56]:
> >   - commit without -A or --force fails in presence of files
> >     'hg status' flags with 'D' (as per above) or '?'
>
> Having ?-files shouldn't cause the commit to fail, but missing
> files should.

This clears my doubts about actual vs. expected behavior, thanks.

> >   - commit -A fails when there are no changes on the working
> >     directory but otherwise handles 'D' or '?' files
> > appropriately
> >
> >   - commit --force accepts empty changesets and succeeds in
> > presence of 'D' or '?' files but ignores them
> >
> >   - commit -A --force accepts empty changesets and takes care
> > of 'D' or '?' files
>
> These three are fine, and I think it already works this way.

Well, Mercurial 9c918287d10b from http://www.selenic.com/hg does not 
yet include 'commit --force' and commits deleted files as removed 
files but if these three points correspond to the expected 
behavior, then that's fine.

Robin


More information about the Mercurial mailing list