Except if Mercurial implementation changed in RB, it is not possible to use 
SSH Mercurial repos from RB. You can only make it work for local copy or 
http.

Regards.
Gilles.

On Thursday 29 March 2012 12:43:54 am Swami wrote:
> I had to add my SSH keys to reviewboard & I got around the authentication
> issue. I'm now only having the FileNotFound error. I'll post it separately.
>
> On Wednesday, March 28, 2012 11:49:46 AM UTC-7, Swami wrote:
> > I'm trying to configure Mercurial (over ssh) with Reviewboard. I see that
> > folks have managed to successfully set this up. Any knowledge sharing
> > appreciated.
> >
> > If I use the ssh URL:
> > ssh://hg@hg.<snip>.com/dev/gui
> > & enter my user-name with no password, I get an error: (I setup access
> > using a ssh key with no password). I also tried using the hg user & that
> > failed as well.
> > *Unable to authenticate against this repository using one of the
> > supported authentication types.*
> >
> > On the server, I am able to clone the repo using this command.
> >
> > Next, I tried entering: /home/swami/Documents/dev/gui where I locally
> > cloned the repo. Now, whenever I upload a diff, I get an error:
> > *The file 'README' (rUNKNOWN) could not be found in the repository:
> > unknown revision 'UNKNOWN'
> > Traceback (most recent call last):
> > File
> > "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.4.1-py2.7.egg/rev
> >iewboard/diffviewer/views.py", line 151, in view_diff
> > interdiffset, highlighting, True)
> > File
> > "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.4.1-py2.7.egg/rev
> >iewboard/diffviewer/diffutils.py", line 1072, in get_diff_files
> > large_data=True)
> > File
> > "/usr/local/lib/python2.7/dist-packages/Djblets-0.6.16-py2.7.egg/djblets/
> >util/misc.py", line 157, in cache_memoize
> > data = lookup_callable()
> > File
> > "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.4.1-py2.7.egg/rev
> >iewboard/diffviewer/diffutils.py", line 1071, in <lambda>
> > enable_syntax_highlighting)),
> > File
> > "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.4.1-py2.7.egg/rev
> >iewboard/diffviewer/diffutils.py", line 552, in get_chunks
> > old = get_original_file(filediff)
> > File
> > "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.4.1-py2.7.egg/rev
> >iewboard/diffviewer/diffutils.py", line 365, in get_original_file
> > large_data=True)[0]
> > File
> > "/usr/local/lib/python2.7/dist-packages/Djblets-0.6.16-py2.7.egg/djblets/
> >util/misc.py", line 157, in cache_memoize
> > data = lookup_callable()
> > File
> > "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.4.1-py2.7.egg/rev
> >iewboard/diffviewer/diffutils.py", line 364, in <lambda>
> > data = cache_memoize(key, lambda: [fetch_file(file, revision)],
> > File
> > "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.4.1-py2.7.egg/rev
> >iewboard/diffviewer/diffutils.py", line 343, in fetch_file
> > data = tool.get_file(file, revision)
> > File
> > "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.4.1-py2.7.egg/rev
> >iewboard/scmtools/hg.py", line 35, in get_file
> > return self.client.cat_file(path, str(revision))
> > File
> > "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.4.1-py2.7.egg/rev
> >iewboard/scmtools/hg.py", line 239, in cat_file
> > raise FileNotFoundError(path, rev, str(e))
> > FileNotFoundError: The file 'README' (rUNKNOWN) could not be found in the
> > repository: unknown revision 'UNKNOWN'*
> >
> > I'd at least like the ability to just upload diffs, that existed with the
> > initial versions of reviewboard. Any help appreciated.


-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to