warning message when adding large files

Martin Geisler mg at aragost.com
Fri Apr 1 05:37:54 CDT 2011


timeless <timeless at gmail.com> writes:

> On Thu, Mar 31, 2011 at 9:08 PM, Matt Mackall <mpm at selenic.com> wrote:
>>> I don't understand why it suggests using "revert".  Shouldn't that
>>> be "forget"?
>>
>> They'll both give the same result, moving the file from added to
>> unknown.
>
> Offhand, I think i'd like to see us use 'forget' in this message.

I like revert since it might remind people that 'hg revert' is how you
remove lines from the output of 'hg status':

  $ hg status
  M a
  ! b
  R c
  $ hg revert a b c
  $ hg status

That is not true for 'hg forget' which wont restore deleted files or
revert modified files.

-- 
Martin Geisler

aragost Trifork
Professional Mercurial support
http://aragost.com/en/services/mercurial/blog/


More information about the Mercurial-devel mailing list