Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/commands.py @ 50143:a3c856e2ea2f
branching: merge with default
the first part of the fix is there
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 17 Feb 2023 17:04:41 +0100 |
parents | 4fc6b423fa97 |
children | a8d71a6ba205 |
comparison
equal
deleted
inserted
replaced
50142:2d0daf9c9d5d | 50143:a3c856e2ea2f |
---|---|
7498 b'(use -f to force)' | 7498 b'(use -f to force)' |
7499 ) | 7499 ) |
7500 ) | 7500 ) |
7501 node = logcmdutil.revsingle(repo, rev_).node() | 7501 node = logcmdutil.revsingle(repo, rev_).node() |
7502 | 7502 |
7503 if node is None: | |
7504 raise error.InputError(_(b"cannot tag working directory")) | |
7505 | |
7503 if not message: | 7506 if not message: |
7504 # we don't translate commit messages | 7507 # we don't translate commit messages |
7505 message = b'Added tag %s for changeset %s' % ( | 7508 message = b'Added tag %s for changeset %s' % ( |
7506 b', '.join(names), | 7509 b', '.join(names), |
7507 short(node), | 7510 short(node), |