Skip to content
Snippets Groups Projects
Commit 4d40f4d3 authored by vlorentz's avatar vlorentz
Browse files

Make snapshot_identifier add the cycle to the exception's arguments when it detects one.

parent b8fadd11
No related branches found
No related tags found
No related merge requests found
......@@ -591,8 +591,8 @@ def snapshot_identifier(snapshot, *, ignore_unresolved=False):
if unresolved and not ignore_unresolved:
raise ValueError('Branch aliases unresolved: %s' %
', '.join('%s -> %s' % (name, target)
for name, target in unresolved))
', '.join('%s -> %s' % x for x in unresolved),
unresolved)
return identifier_to_str(hash_git_data(b''.join(lines), 'snapshot'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment