[issue2212] 'hg forget' erroneously removes files

Steve King bugs at mercurial.selenic.com
Tue May 25 18:08:47 UTC 2010


New submission from Steve King <steven.r.king at intel.com>:

Problem observed on Mercurial 1.4.1

"hg forget" followed by commit and push behaves as expected on the
committing machine.  The forgotten files are not deleted.  However, on
another machine, after "hg pull -u" the forgotten files are deleted.  This
is not desired.  
Case in question was to forget eclipse .project files.  Deleting the
.project files after 'hg pull -u' destroys the eclipse configuration on all
collaborating machines.

Correct behavior is to not remove forgotten files after 'hg pull -u'

----------
messages: 12674
nosy: srking
priority: bug
status: unread
title: 'hg forget' erroneously removes files

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2212>
____________________________________________________


More information about the Mercurial-devel mailing list