changeset 4829:4aa02271dc13

hgcompat: workaround for not calling largefiles reposetup correctly after 94ac64bcf6fe (Mercurial 3.3)
author Mads Kiilerich <madski@unity3d.com>
date Thu, 19 Feb 2015 00:16:00 +0100
parents 98d235e28078
children 70f079f1a079
files kallithea/lib/vcs/utils/hgcompat.py kallithea/templates/summary/summary.html
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/lib/vcs/utils/hgcompat.py	Sun Nov 16 15:03:07 2014 -0800
+++ b/kallithea/lib/vcs/utils/hgcompat.py	Thu Feb 19 00:16:00 2015 +0100
@@ -41,3 +41,6 @@
     def _memfilectx__init__(self, repo, *a, **b):
         return _org__init__(self, *a, **b)
     memfilectx.__init__ = _memfilectx__init__
+
+# workaround for 3.3 94ac64bcf6fe and not calling largefiles reposetup correctly
+localrepository._lfstatuswriters = [lambda *msg, **opts: None]
--- a/kallithea/templates/summary/summary.html	Sun Nov 16 15:03:07 2014 -0800
+++ b/kallithea/templates/summary/summary.html	Thu Feb 19 00:16:00 2015 +0100
@@ -41,7 +41,7 @@
 <%block name="head_extra">
   <link href="${h.url('atom_feed_home',repo_name=c.db_repo.repo_name,api_key=c.authuser.api_key)}" rel="alternate" title="${_('%s ATOM feed') % c.repo_name}" type="application/atom+xml" />
   <link href="${h.url('rss_feed_home',repo_name=c.db_repo.repo_name,api_key=c.authuser.api_key)}" rel="alternate" title="${_('%s RSS feed') % c.repo_name}" type="application/rss+xml" />
-  
+
   <script>
   redirect_hash_branch = function(){
     var branch = window.location.hash.replace(/^#(.*)/, '$1');