Modify ↓
#2854 closed defect (fixed)
GitPlugin doesn't like file mode changes denoted by 'T'
Reported by: | anonymous | Owned by: | Herbert Valerio Riedel |
---|---|---|---|
Priority: | normal | Component: | GitPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
Every time I try enabling cached_repository on my git repo trac environment, I get the below error and the trac pages all have errors. The plugin works great (though annoyingly slow when we hit the timeline or browse pages) as long as cached repo is off (persistant cache setting seems to be ok either way, though I don't really notice any speedup with it).
Any ideas?
Apr 3 17:17:15 engineering Trac[git_fs] INFO: detected GIT version 1.5.4.1 Apr 3 17:17:15 engineering Trac[git_fs] INFO: enabled CachedRepository for '/usr/local/share/tnxi/tnxius.git' Apr 3 17:17:15 engineering Trac[cache] INFO: repos rev [5059dfb4e4fe04c274cba871bc4a37a38c89f5e4] != cached rev [3fdc098d0094714a379f5ef2c126b6b76f133947] Apr 3 17:17:15 engineering Trac[cache] INFO: Trying to sync revision [f53dedf7792a8f74a41e337427e3cb890f96049a] Apr 3 17:17:15 engineering Trac[main] ERROR: 'T'#012Traceback (most recent call last):#012 File "/usr/lib/python2.5/site-packages/Trac-0.11dev_r6787-py2.5.egg/trac/web/main.py", line 417, in _dispatc h_request#012 dispatcher.dispatch(req)#012 File "/usr/lib/python2.5/site-packages/Trac-0.11dev_r6787-py2.5.egg/trac/web/main.py", line 173, in dispatch#012 chosen_handler)#012 File "/usr/lib/py thon2.5/site-packages/Trac-0.11dev_r6787-py2.5.egg/trac/web/main.py", line 286, in _pre_process_request#012 chosen_handler = filter_.pre_process_request(req, chosen_handler)#012 File "/usr/lib/pyth on2.5/site-packages/Trac-0.11dev_r6787-py2.5.egg/trac/versioncontrol/api.py", line 79, in pre_process_request#012 self.get_repository(req.authname).sync()#012 File "/usr/lib/python2.5/site-packages /Trac-0.11dev_r6787-py2.5.egg/trac/versioncontrol/cache.py", line 192, in sync#012 for path,kind,action,bpath,brev in cset.get_changes():#012 File "build/bdist.linux-i686/egg/tracext/git/git_fs.py" , line 432, in get_changes#012 action = GitChangeset.action_map[action[0]]#012KeyError: 'T'
Attachments (0)
Change History (2)
comment:1 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 16 years ago by
Summary: | Traceback after enabling CachedRepository → GitPlugin doesn't like file mode changes denoted by 'T' |
---|
Note: See
TracTickets for help on using
tickets.
Should be fixed by [4174], you have a 'T' file mode change in there.