cli clone-tag - get srctag info with event
So that tag config and extra honor `event` for clone-tag cmd fixes: #2101
This commit is contained in:
parent
d3146d77b0
commit
45a4867e67
2 changed files with 3 additions and 3 deletions
|
|
@ -3406,7 +3406,7 @@ def handle_clone_tag(goptions, session, args):
|
|||
print(_("Cloning at event %(id)i (%(timestr)s)") % event)
|
||||
|
||||
# store tags.
|
||||
srctag = session.getTag(args[0])
|
||||
srctag = session.getTag(args[0], event=event.get('id'))
|
||||
dsttag = session.getTag(args[1])
|
||||
if not srctag:
|
||||
parser.error(_("Unknown src-tag: %s" % args[0]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue