[issue1469] `hg update` leaves modified file at M when should turn to A

Peter Arrenbrecht mercurial-bugs at selenic.com
Thu Jan 15 00:27:39 CST 2009


New submission from Peter Arrenbrecht <peter.arrenbrecht at gmail.com>:

Do the following:

hg init
echo 1 >foo
hg ci -Am1
echo 2 >>foo
hg st
> M foo
hg up null
hg st
> M foo

but foo does not exist in rev null, so this should be

hg st
> A foo

committing this works fine, though, as does diff.

----------
messages: 8400
nosy: parren
priority: bug
status: unread
title: `hg update` leaves modified file at M when should turn to A

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



More information about the Mercurial-devel mailing list