Skip to content

Instantly share code, notes, and snippets.

/stdin Secret

Created September 9, 2014 00:55
Show Gist options
  • Save anonymous/d484f5fadbe5c7c53561 to your computer and use it in GitHub Desktop.
Save anonymous/d484f5fadbe5c7c53561 to your computer and use it in GitHub Desktop.
diff --git a/Trac-1.0.1.orig/trac/versioncontrol/web_ui/changeset.py b/Trac-1.0.1/trac/versioncontrol/web_ui/changeset.py
index e33bd1f..5ef6f77 100644
--- a/Trac-1.0.1.orig/trac/versioncontrol/web_ui/changeset.py
+++ b/Trac-1.0.1/trac/versioncontrol/web_ui/changeset.py
@@ -1101,6 +1101,9 @@ class ChangesetModule(Component):
"on %(repos)s", rev=rev,
repos=reponame or _('(default)'))
elif reponame:
+ return tag.a(label, class_="changeset",
+ title="changeset",
+ href="http://git.videolan.org/?p=ffmpeg.git;a=commit;h=" + fragment)
errmsg = _("Repository '%(repo)s' not found", repo=reponame)
else:
errmsg = _("No default repository defined")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment