# HG changeset patch # User mpm@selenic.com # Date 2005-06-03 20:56:50 # Node ID 15e7c6cee92946ffef5825b402752fb5a241ad09 # Parent 00ea3613f82c216b5f145087c344ff08d3f2675f add 'm' state to dirstates -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 add 'm' state to dirstates This state indicates that a file has been merged with resolve and must be in the next commit. manifest hash: dc90629b73056b671f7be3de0283039c96c9ca0f -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCoMQSywK+sNU5EO8RAuxHAKCHckvSiLwegl5hbF5x5EeQg0MA2gCcCYD+ 78Ol99Y9nk5ZA2bbYgM+AQw= =vMOg -----END PGP SIGNATURE----- diff --git a/mercurial/hg.py b/mercurial/hg.py --- a/mercurial/hg.py +++ b/mercurial/hg.py @@ -210,6 +210,7 @@ class dirstate: def update(self, files, state): ''' current states: n normal + m needs merging i invalid r marked for removal a marked for addition''' @@ -541,6 +542,8 @@ class localrepository: added.append(fn) elif fcmp(fn): changed.append(fn) + elif c[0] == 'm': + changed.append(fn) elif c[0] == 'a': added.append(fn) elif c[0] == 'r':