equal
deleted
inserted
replaced
591 branches = repo.branchmap() |
591 branches = repo.branchmap() |
592 for name in names: |
592 for name in names: |
593 repo.hook(b'pretag', throw=True, node=hex(node), tag=name, local=local) |
593 repo.hook(b'pretag', throw=True, node=hex(node), tag=name, local=local) |
594 if name in branches: |
594 if name in branches: |
595 repo.ui.warn( |
595 repo.ui.warn( |
596 _(b"warning: tag %s conflicts with existing" b" branch name\n") |
596 _(b"warning: tag %s conflicts with existing branch name\n") |
597 % name |
597 % name |
598 ) |
598 ) |
599 |
599 |
600 def writetags(fp, names, munge, prevtags): |
600 def writetags(fp, names, munge, prevtags): |
601 fp.seek(0, io.SEEK_END) |
601 fp.seek(0, io.SEEK_END) |