I've made it farther now than I have ever before. But I'm still running 
into one last issue. (Maybe two.)


First, background information. Hopefully this makes more sense. I'm 
learning Subversion as I do all this. C'est la vie.


The .reviewboardrc file reads as

REVIEWBOARD_URL = "http://*ReviewBoardServer*";
>
> REPOSITORY = "*RepositoryName*" (Not the name as it appears in the admin 
>> dashboard, but it is the parent directory to branches/, trunk/, tags/. It 
>> goes https://*ServerName/SvnDirectory/RepositoryName. *The checkout 
>> directory is a checkout of a repository under 
>
> *RepositoryName/*branches/. The *is* a repository named *RepositoryName *in 
> the admin dashboard, that refers to the parent directory of branches/, 
> trunk/, tags/. But there have been no noted conflicts. Not sure if the 
> repository names in ReviewBoard matter.)



*SvnDirectory* is the actual directory under /svn/ on the machine itself. 
I'm providing this information because I'm still learning Subversion, and 
don't know exactly/technically what Subversion defines as "repository" and 
"working copy." I understand the concepts, but I'm still learning their 
literal/technical/practical application.

Ok, so... 

I'm in the checkout directory. The checkout directory is a checkout of 
*RepositoryName/*branches/20131209-repo-P14.   The exact directory on the 
user's machine is /dfs/*User/RepositoryName*_repo_P14.

If I run just "svn info" I get

-bash-4.1$ svn info
> Path: .
> Working Copy Root Path: /dfs/*User*/*RepositoryName*_nrl_p14

URL: https://*ServerName*/*SvnDirectory*/*RepositoryName*
> /branches/20131209-repo-P14
> Repository Root: https://*ServerName*/*SvnDirectory*
> Repository UUID: (buncha letters & numbers)
> Revision: 15168
> Node Kind: directory
> Schedule: normal
> Depth: files
> Last Changed Author: *User*
> Last Changed Rev: 15168
> Last Changed Date: 2014-01-11 13:19:21 -0500 (Sat, 11 Jan 2014)

   


I use "rbt post -d".


It runs a bunch of "svn info" commands on the dev/ directory. Then gets to 
this.


DEBUG:root:Making HTTP GET request to http://*ReviewBoardServer*
>> /api/review-requests/
>
> DEBUG:root:Making HTTP POST request to http://*ReviewBoardServer*
>> /api/review-requests/
>
> DEBUG:root:Making HTTP GET request to http://*ReviewBoardServer*
>> /api/review-requests/45/diffs/
>
> DEBUG:root:Making HTTP POST request to http://*ReviewBoardServer*
>> /api/review-requests/45/diffs/
>
> DEBUG:root:Got API Error 105 (HTTP code 400): One or more fields had errors
>
> DEBUG:root:Error data: {u'fields': {u'path': [u'Login to the SCM server 
>> failed.']}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had 
>> errors', u'code': 105}}
>
> Traceback (most recent call last):
>
>   File "/usr/bin/rbt", line 9, in <module>
>
>     load_entry_point('RBTools==0.5.5', 'console_scripts', 'rbt')()
>
>   File 
>> "/usr/lib/python2.6/site-packages/RBTools-0.5.5-py2.6.egg/rbtools/commands/main.py",
>>  
>> line 127, in main
>
>     command.run_from_argv([RB_MAIN] + args)
>
>   File 
>> "/usr/lib/python2.6/site-packages/RBTools-0.5.5-py2.6.egg/rbtools/commands/__init__.py",
>>  
>> line 158, in run_from_argv
>
>     exit_code = self.main(*args) or 0
>
>   File 
>> "/usr/lib/python2.6/site-packages/RBTools-0.5.5-py2.6.egg/rbtools/commands/post.py",
>>  
>> line 659, in main
>
>     submit_as=self.options.submit_as)
>
>   File 
>> "/usr/lib/python2.6/site-packages/RBTools-0.5.5-py2.6.egg/rbtools/commands/post.py",
>>  
>> line 534, in post_request
>
>     raise CommandError('\n'.join(error_msg)) 
>
> rbtools.commands.CommandError: Error uploading diff   
>
>  
>
>  
>
>  
>
> One or more fields had errors (HTTP 400, API Error 105 
>
>  
>
>   path: Login to the SCM server failed 
>
>  
>
> Your review request still exists, but the diff is not attached.
>
>
>>
>







Also, if I navigate to http://*ReviewBoardServer*/api/repositories, I get 
this. Yet there are 5 repositories listed in the admin dashboard.

Not sure if that is expected or not. Not entirely up to snuff on http and 
the web api.

<?xml version="1.0" encoding="utf-8"?>
> <rsp>
>  <stat>fail</stat>
>  <err>
>   <msg>Object does not exist</msg>
>   <code>100</code>
>  </err>
> </rsp>

















-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to