~ubuntu-branches/ubuntu/precise/trac/precise

« back to all changes in this revision

Viewing changes to trac/versioncontrol/cache.py

  • Committer: Bazaar Package Importer
  • Author(s): Jesus Climent
  • Date: 2006-11-13 22:46:59 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20061113224659-69tpj4wxidtx2y9t
Tags: 0.10.2-1
* New upstream release, fixing 3 RC bugs introduced at 0.10.1, which were
  not triggered in normal conditions.
  - Fixes deadlock when using authz_file config option
  - Makes the CSRF code play nice with the XmlRpcPlugin
  - Fixes Timeline breakage after svn commit when using sqlite

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
                                   (str(current_rev), path, kind, action,
108
108
                                   base_path, base_rev))
109
109
                current_rev = self.repos.next_rev(current_rev)
110
 
            self.db.commit()
 
110
            try:
 
111
                self.db.commit()
 
112
            except:
 
113
                # See <http://trac.edgewall.org/ticket/4120>: this breaks badly
 
114
                # while rendering the timeline, because the commit happens
 
115
                # while iterating over a recordset
 
116
                pass
111
117
            self.repos.authz = authz # restore permission checking
112
118
 
113
119
    def get_node(self, path, rev=None):