Mercurial > public > mercurial-scm > hg-stable
diff mercurial/merge.py @ 9780:1ee085511b89
subrepo: notice dirty subrepo states when merging
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sat, 07 Nov 2009 16:30:42 -0600 |
parents | 68a1b9d0663e |
children | ee00ef6f9be7 |
line wrap: on
line diff
--- a/mercurial/merge.py Sat Nov 07 16:29:49 2009 -0600 +++ b/mercurial/merge.py Sat Nov 07 16:30:42 2009 -0600 @@ -169,6 +169,12 @@ # Compare manifests for f, n in m1.iteritems(): + if f == '.hgsubstate': + # check whether sub state is modified + for s in p1.substate: + if p1.sub(s).dirty(): + n += "+" + break if partial and not partial(f): continue if f in m2: