Mercurial > hg
changeset 10515:98bc3e195720 stable
identify: don't include unknown in status
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Fri, 19 Feb 2010 20:34:23 -0500 |
parents | 1426b4807fc8 |
children | 80a1161bc3b5 |
files | mercurial/commands.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Fri Feb 19 16:50:47 2010 -0800 +++ b/mercurial/commands.py Fri Feb 19 20:34:23 2010 -0500 @@ -1768,7 +1768,7 @@ parents = ctx.parents() changed = False if default or id or num: - changed = ctx.files() + ctx.deleted() + changed = util.any(repo.status()) if default or id: output = ["%s%s" % ('+'.join([hexfunc(p.node()) for p in parents]), (changed) and "+" or "")]