equal
deleted
inserted
replaced
3504 if not rev: |
3504 if not rev: |
3505 ctx = repo[None] |
3505 ctx = repo[None] |
3506 parents = ctx.parents() |
3506 parents = ctx.parents() |
3507 changed = "" |
3507 changed = "" |
3508 if default or id or num: |
3508 if default or id or num: |
3509 changed = util.any(repo.status()) and "+" or "" |
3509 if (util.any(repo.status()) |
|
3510 or util.any(ctx.sub(s).dirty() for s in ctx.substate)): |
|
3511 changed = '+' |
3510 if default or id: |
3512 if default or id: |
3511 output = ["%s%s" % |
3513 output = ["%s%s" % |
3512 ('+'.join([hexfunc(p.node()) for p in parents]), changed)] |
3514 ('+'.join([hexfunc(p.node()) for p in parents]), changed)] |
3513 if num: |
3515 if num: |
3514 output.append("%s%s" % |
3516 output.append("%s%s" % |