Status: New Owner: ---- Labels: Type-Defect Priority-Medium New issue 1160 by eallik: Unable to view diff for a git repository http://code.google.com/p/reviewboard/issues/detail?id=1160
I've set up a git repository, uploaded a diff that I'd like to review, but getting: Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/ReviewBoard-1.0rc2.1- py2.5.egg/reviewboard/diffviewer/views.py", line 152, in view_diff interdiffset, highlighting, True) File "/usr/lib/python2.5/site-packages/ReviewBoard-1.0rc2.1- py2.5.egg/reviewboard/diffviewer/diffutils.py", line 620, in get_diff_files large_data=True) File "/usr/lib/python2.5/site-packages/Djblets-0.5rc1.1-py2.5.egg/djblets/util/misc.py", line 143, in cache_memoize data = lookup_callable() File "/usr/lib/python2.5/site-packages/ReviewBoard-1.0rc2.1- py2.5.egg/reviewboard/diffviewer/diffutils.py", line 619, in <lambda> enable_syntax_highlighting), File "/usr/lib/python2.5/site-packages/ReviewBoard-1.0rc2.1- py2.5.egg/reviewboard/diffviewer/diffutils.py", line 341, in get_chunks old = get_original_file(filediff) File "/usr/lib/python2.5/site-packages/ReviewBoard-1.0rc2.1- py2.5.egg/reviewboard/diffviewer/diffutils.py", line 248, in get_original_file large_data=True)[0] File "/usr/lib/python2.5/site-packages/Djblets-0.5rc1.1-py2.5.egg/djblets/util/misc.py", line 143, in cache_memoize data = lookup_callable() File "/usr/lib/python2.5/site-packages/ReviewBoard-1.0rc2.1- py2.5.egg/reviewboard/diffviewer/diffutils.py", line 247, in <lambda> data = cache_memoize(key, lambda: [fetch_file(file, revision)], File "/usr/lib/python2.5/site-packages/ReviewBoard-1.0rc2.1- py2.5.egg/reviewboard/diffviewer/diffutils.py", line 227, in fetch_file data = tool.get_file(file, revision) File "/usr/lib/python2.5/site-packages/ReviewBoard-1.0rc2.1- py2.5.egg/reviewboard/scmtools/git.py", line 32, in get_file return self.client.cat_file(self._resolve_head(revision, path)) File "/usr/lib/python2.5/site-packages/ReviewBoard-1.0rc2.1- py2.5.egg/reviewboard/scmtools/git.py", line 195, in cat_file raise SCMError(errmsg) SCMError: fatal: Not a git repository: '/path/to/repository/' But /path/to/repository is a perfectly valid Git repository. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "reviewboard-issues" group. To post to this group, send email to reviewboard-issues@googlegroups.com To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en -~----------~----~----~----~------~----~------~--~---