[PATCH]

Augie Fackler lists at durin42.com
Mon Jun 23 17:01:18 UTC 2008


# HG changeset patch
# User Augie Fackler <durin42 at gmail.com>
# Date 1214240000 18000
# Node ID 7af668d7905db5e4ca208db0e3e1498eb89f02e1
# Parent  1fe6f365df2e0ed6dd56b5bd9993812378506174
Fix gitweb to not say shortlog instead of graph.

diff --git a/contrib/hgwebdir.fcgi b/contrib/hgwebdir.fcgi
--- a/contrib/hgwebdir.fcgi
+++ b/contrib/hgwebdir.fcgi
@@ -3,8 +3,8 @@
  # An example CGI script to export multiple hgweb repos, edit as  
necessary

  # adjust python path if not a system-wide install:
-#import sys
-#sys.path.insert(0, "/path/to/python/lib")
+import sys
+sys.path.insert(0, "/home/afackler/unixSoft/lib/python")

  # enable demandloading to reduce startup time
  from mercurial import demandimport; demandimport.enable()
diff --git a/templates/gitweb/graph.tmpl b/templates/gitweb/graph.tmpl
--- a/templates/gitweb/graph.tmpl
+++ b/templates/gitweb/graph.tmpl
@@ -1,5 +1,5 @@
  #header#
-<title>#repo|escape#: Shortlog</title>
+<title>#repo|escape#: Graph</title>
  <link rel="alternate" type="application/atom+xml"
     href="{url}atom-log" title="Atom feed for #repo|escape#"/>
  <link rel="alternate" type="application/rss+xml"
@@ -8,7 +8,7 @@
  <body>

  <div class="page_header">
-<a href="http://www.selenic.com/mercurial/" title="Mercurial"  
style="float: right;">Mercurial</a><a href="{url}summary{sessionvars 
%urlparameter}">#repo|escape#</a> / shortlog
+<a href="http://www.selenic.com/mercurial/" title="Mercurial"  
style="float: right;">Mercurial</a><a href="{url}summary{sessionvars 
%urlparameter}">#repo|escape#</a> / graph
  </div>

  <form action="{url}log">



More information about the Mercurial-devel mailing list