Mercurial > hg > mercurial-source
changeset 9791:1ee085511b89
subrepo: notice dirty subrepo states when merging
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sat, 07 Nov 2009 16:30:42 -0600 |
parents | 58a6f3f4d553 |
children | eccc8aacd6f9 |
files | mercurial/merge.py mercurial/subrepo.py |
diffstat | 2 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/merge.py +++ b/mercurial/merge.py @@ -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: