2943: "Diff currently unavailable." When Uploading Diffs From TortoiseHG

Strange*******@gmai***** (Google Code) (Is this you? Claim this profile.)
Aug. 8, 2013
What version are you running?
1.7.6

What's the URL of the page containing the problem?

/r/138/diff/

What steps will reproduce the problem?
1. Upload diff for any repo I have since 1.6 upgrade.

Works fine when using mercurial-reviewboard... odd...

What is the expected output? What do you see instead?
No diff visible

What operating system are you using? What browser?
Windows 7, Chrome.

Please provide any additional information below.

Diff currently unavailable.
Error: The file 'Web.Release.config' (rUNKNOWN) could not be found in the repository: unknown revision 'UNKNOWN'
Details
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7.6-py2.6.egg/reviewboard/diffviewer/views.py", line 383, in view_diff_fragment
    file = get_requested_diff_file()
  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7.6-py2.6.egg/reviewboard/diffviewer/views.py", line 309, in get_requested_diff_file
    populate_diff_chunks(files, highlighting)
  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7.6-py2.6.egg/reviewboard/diffviewer/diffutils.py", line 1197, in populate_diff_chunks
    large_data=True)
  File "/usr/local/lib/python2.6/dist-packages/Djblets-0.7.11-py2.6.egg/djblets/util/misc.py", line 156, in cache_memoize
    data = lookup_callable()
  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7.6-py2.6.egg/reviewboard/diffviewer/diffutils.py", line 1196, in <lambda>
    enable_syntax_highlighting)),
  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7.6-py2.6.egg/reviewboard/diffviewer/diffutils.py", line 598, in get_chunks
    old = get_original_file(filediff)
  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7.6-py2.6.egg/reviewboard/diffviewer/diffutils.py", line 379, in get_original_file
    large_data=True)[0]
  File "/usr/local/lib/python2.6/dist-packages/Djblets-0.7.11-py2.6.egg/djblets/util/misc.py", line 156, in cache_memoize
    data = lookup_callable()
  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7.6-py2.6.egg/reviewboard/diffviewer/diffutils.py", line 378, in <lambda>
    data = cache_memoize(key, lambda: [fetch_file(file, revision)],
  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7.6-py2.6.egg/reviewboard/diffviewer/diffutils.py", line 358, in fetch_file
    data = repository.get_file(file, revision)
  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7.6-py2.6.egg/reviewboard/scmtools/models.py", line 157, in get_file
    return self.get_scmtool().get_file(path, revision)
  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7.6-py2.6.egg/reviewboard/scmtools/hg.py", line 37, in get_file
    return self.client.cat_file(path, str(revision))
  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7.6-py2.6.egg/reviewboard/scmtools/hg.py", line 269, in cat_file
    raise FileNotFoundError(path, rev, str(e))
FileNotFoundError: The file 'Web.Release.config' (rUNKNOWN) could not be found in the repository: unknown revision 'UNKNOWN'
#1 Strange*******@gmai***** (Google Code) (Is this you? Claim this profile.)
Additionally: the repos are local (under /var/repos/...).
#3 Strange*******@gmai***** (Google Code) (Is this you? Claim this profile.)
 hg --version
Mercurial Distributed SCM (version 2.4.2)
(see http://mercurial.selenic.com for more information)

Copyright (C) 2005-2012 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#4 Strange*******@gmai***** (Google Code) (Is this you? Claim this profile.)
Also happens when publishing reviews, but I can view diffs/reviews fine, e-mails show up with above error and stacktrace...
david
#5 david
Sounds like TortoiseHG generates diff files that don't have the necessary revision information in them.
  • +ThirdParty