equal
deleted
inserted
replaced
81 '''build content of .hg_archival.txt''' |
81 '''build content of .hg_archival.txt''' |
82 repo = ctx.repo() |
82 repo = ctx.repo() |
83 hex = ctx.hex() |
83 hex = ctx.hex() |
84 if ctx.rev() is None: |
84 if ctx.rev() is None: |
85 hex = ctx.p1().hex() |
85 hex = ctx.p1().hex() |
86 if ctx.dirty(): |
86 if ctx.dirty(missing=True): |
87 hex += '+' |
87 hex += '+' |
88 |
88 |
89 base = 'repo: %s\nnode: %s\nbranch: %s\n' % ( |
89 base = 'repo: %s\nnode: %s\nbranch: %s\n' % ( |
90 _rootctx(repo).hex(), hex, encoding.fromlocal(ctx.branch())) |
90 _rootctx(repo).hex(), hex, encoding.fromlocal(ctx.branch())) |
91 |
91 |