Files
@ 4bf9d7f18253
Branch filter:
Location: kallithea/scripts/shortlog.py
4bf9d7f18253
1.0 KiB
text/x-python
diff: fix ignorews/context link to use the right target as anchor
The value in url_fid might not be a valid anchor.
For changesets, url_fid would be like 'C--9c390eb52cd6' even though the actual
target included the changeset hash and were like 'C-1536d03b4869-9c390eb52cd6'.
For pullrequests and compare, it wouldn't link to anything at all, even though
there was a target like 'C--56535da5df40'.
Instead, pass id_fid as anchor value as a separate argument. That one is a
valid anchor.
The value in url_fid might not be a valid anchor.
For changesets, url_fid would be like 'C--9c390eb52cd6' even though the actual
target included the changeset hash and were like 'C-1536d03b4869-9c390eb52cd6'.
For pullrequests and compare, it wouldn't link to anything at all, even though
there was a target like 'C--56535da5df40'.
Instead, pass id_fid as anchor value as a separate argument. That one is a
valid anchor.