##// END OF EJS Templates
identify: don't include unknown in status
Dirkjan Ochtman -
r10515:98bc3e19 stable
parent child Browse files
Show More
@@ -1768,7 +1768,7 b' def identify(ui, repo, source=None,'
1768 parents = ctx.parents()
1768 parents = ctx.parents()
1769 changed = False
1769 changed = False
1770 if default or id or num:
1770 if default or id or num:
1771 changed = ctx.files() + ctx.deleted()
1771 changed = util.any(repo.status())
1772 if default or id:
1772 if default or id:
1773 output = ["%s%s" % ('+'.join([hexfunc(p.node()) for p in parents]),
1773 output = ["%s%s" % ('+'.join([hexfunc(p.node()) for p in parents]),
1774 (changed) and "+" or "")]
1774 (changed) and "+" or "")]
General Comments 0
You need to be logged in to leave comments. Login now