equal
deleted
inserted
replaced
234 archiver = archivers[kind](dest, mtime or ctx.date()[0]) |
234 archiver = archivers[kind](dest, mtime or ctx.date()[0]) |
235 |
235 |
236 if repo.ui.configbool("ui", "archivemeta", True): |
236 if repo.ui.configbool("ui", "archivemeta", True): |
237 def metadata(): |
237 def metadata(): |
238 base = 'repo: %s\nnode: %s\nbranch: %s\n' % ( |
238 base = 'repo: %s\nnode: %s\nbranch: %s\n' % ( |
239 hex(repo.changelog.node(0)), hex(node), ctx.branch()) |
239 repo[0].hex(), hex(node), ctx.branch()) |
240 |
240 |
241 tags = ''.join('tag: %s\n' % t for t in ctx.tags() |
241 tags = ''.join('tag: %s\n' % t for t in ctx.tags() |
242 if repo.tagtype(t) == 'global') |
242 if repo.tagtype(t) == 'global') |
243 if not tags: |
243 if not tags: |
244 repo.ui.pushbuffer() |
244 repo.ui.pushbuffer() |