equal
deleted
inserted
replaced
7470 b'(use -f to force)' |
7470 b'(use -f to force)' |
7471 ) |
7471 ) |
7472 ) |
7472 ) |
7473 node = logcmdutil.revsingle(repo, rev_).node() |
7473 node = logcmdutil.revsingle(repo, rev_).node() |
7474 |
7474 |
|
7475 if node is None: |
|
7476 raise error.InputError(_(b"cannot tag working directory")) |
|
7477 |
7475 if not message: |
7478 if not message: |
7476 # we don't translate commit messages |
7479 # we don't translate commit messages |
7477 message = b'Added tag %s for changeset %s' % ( |
7480 message = b'Added tag %s for changeset %s' % ( |
7478 b', '.join(names), |
7481 b', '.join(names), |
7479 short(node), |
7482 short(node), |