No subversion repository found!

550 views
Skip to first unread message

Gong Zhang

unread,
Feb 5, 2014, 10:53:01 AM2/5/14
to revie...@googlegroups.com
I am trying to set up the configuration file using "rbt setup-repo" but I get this error message
D:\user\Test>rbt setup-repo --debug
Enter the Review Board server URL: http://10.60.12.159:81
DEBUG:root:Checking for a Subversion repository...
DEBUG:root:Running: svn info --non-interactive
DEBUG:root:Running: diff --version
DEBUG:root:repository info: Path: https://codex.xxxx.net/svn/Tools, Base path:
/trunk/PhabricatorTest, Supports changesets: False
DEBUG:root:Making HTTP GET request to http://10.60.12.159:81/api/
DEBUG:root:Making HTTP GET request to http://10.60.12.159:81/api/info/
DEBUG:root:Making HTTP GET request to http://10.60.12.159:81/api/repositories/
No Subversion repository found or selected for http://10.60.12.159:81. .reviewboardrc not created.

And I do have a repository on ReviewBoard and its path is been set to "https://codex.xxxx.net/svn/Tools" which is the root path. 
So I am wondering why it can not find the repository? Any help is grateful! Thanks!

Christian Hammond

unread,
Feb 5, 2014, 11:13:46 AM2/5/14
to revie...@googlegroups.com
Can you show me the path you used for the repository entry in Review Board?

Also, what version of RBTools are you using?

Christian

--
Christian Hammond - chi...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com


--
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Message has been deleted

Gong Zhang

unread,
Feb 5, 2014, 11:20:24 AM2/5/14
to revie...@googlegroups.com, chi...@chipx86.com
The path I am using in ReviewBoard to set the repository is  https://codex.xxxx.net/svn/Tools which is the base dir not a sub one. Thanks.
And I am using  RBTools 0.5.7

Gong Zhang

unread,
Feb 5, 2014, 11:24:30 AM2/5/14
to revie...@googlegroups.com, chi...@chipx86.com
And also you may interested, I use "rbt post --debug"
and there`s a error message which is "DEBUG:root:Got API Error 206 (HTTP code 400): The repository path specified is not in the list of known repositories", have any idea with this one? Thanks!

Christian Hammond

unread,
Feb 5, 2014, 11:28:08 AM2/5/14
to revie...@googlegroups.com
If there's a Subversion repository listed on http://10.60.12.159:81 that exactly matches the path, character-for-character, that you're seeing in the RBTools output, it should work.

If that's an identical match, then I'm going to need to see a screenshot of the repository configuration page and the exact SVN path you're using.

Christian

--
Christian Hammond - chi...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com


On Wed, Feb 5, 2014 at 8:24 AM, Gong Zhang <zhangs...@gmail.com> wrote:
And also you may interested, I use "rbt post --debug"
and there`s a error message which is "DEBUG:root:Got API Error 206 (HTTP code 400): The repository path specified is not in the list of known repositories", have any idea with this one? Thanks!

--

Gong Zhang

unread,
Feb 5, 2014, 11:38:44 AM2/5/14
to revie...@googlegroups.com, chi...@chipx86.com

That`s the screenshot of the configuration page of my repository.

My working copy`s path is D:\user\PhabricatorTest

And the exact SVN path from the SVN server is https://codex.xxx.net/svn/Tools/trunk/PhabricatorTest while https://codex.xxx.net/svn/Tools/ is the root dir.

Thanks!

Gong Zhang

unread,
Feb 5, 2014, 11:46:09 AM2/5/14
to revie...@googlegroups.com, chi...@chipx86.com
Hi,

When I use the --basedir option in rbt post, it works. Seems the system looking for a fully match between the working directory and the one on SVN server? While I think the problem is my local working copy`s path "D:\user\PhabricatorTest" is different with the https://codex.xxx.net/svn/Tools/trunk/PhabricatorTest, is that correct?

Christian Hammond

unread,
Feb 5, 2014, 11:46:47 AM2/5/14
to revie...@googlegroups.com
It looks like it should be working. I'm not sure why it's not finding it.

You can construct your own file by hand, though. Just create a .reviewboardrc with:

REVIEWBOARD_URL = 'http://10.60.12.159:81'

--
Christian Hammond - chi...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com


--

Christian Hammond

unread,
Feb 5, 2014, 11:48:19 AM2/5/14
to Gong Zhang, revie...@googlegroups.com
It should be fine that your local path is different, so long as the repository root shown by "svn info" exactly matches what's in Review Board. You should never need to use --basedir.

Christian

--
Christian Hammond - chi...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com


Gong Zhang

unread,
Feb 5, 2014, 11:50:24 AM2/5/14
to revie...@googlegroups.com, Gong Zhang, chi...@chipx86.com
That`s wired, without the --basedir option, the rbt post will fail. 

Gong Zhang

unread,
Feb 5, 2014, 11:59:35 AM2/5/14
to revie...@googlegroups.com, Gong Zhang, chi...@chipx86.com
Thank you for your help, I also have another question. How can I specify the reviewers, there`s not a edit button next to reviewers in the web page. And the --target-people option can not set it too. Thanks!

Christian Hammond

unread,
Feb 5, 2014, 12:01:31 PM2/5/14
to revie...@googlegroups.com, Gong Zhang
If you're logged in, you should be able to click the pencil on any review request you own and type the name of the reviewers. You can also set default reviewers based on groups, repositories, or file paths in the Default Reviewers section of the admin UI.

If you're logged in, own the review request, and don't see anything, then something is very wrong with your setup. Make sure you don't have any browser extensions that are disabling JavaScript, and make sure you don't see any JavaScript errors. I'd also need to know what version of Review Board you're using and how you installed it.

Christian

--
Christian Hammond - chi...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com


On Wed, Feb 5, 2014 at 8:59 AM, Gong Zhang <zhangs...@gmail.com> wrote:
Thank you for your help, I also have another question. How can I specify the reviewers, there`s not a edit button next to reviewers in the web page. And the --target-people option can not set it too. Thanks!

--

Gong Zhang

unread,
Feb 5, 2014, 12:06:44 PM2/5/14
to revie...@googlegroups.com, Gong Zhang, chi...@chipx86.com
I am using ReviewBoard 1.7.21. And all other fields has a pencil button next to them except for Reviewers.... I am using a Ubuntu virtual machine as my server and followed all the instructions on your web page.

Christian Hammond

unread,
Feb 5, 2014, 12:07:57 PM2/5/14
to revie...@googlegroups.com, Gong Zhang
"Reviewers" is a section label. (We're making that more clear in 2.0.)

You want to fill in one of the two fields below it, for specifying users or groups that you want to review the change.

Christian

--
Christian Hammond - chi...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com


On Wed, Feb 5, 2014 at 9:06 AM, Gong Zhang <zhangs...@gmail.com> wrote:
I am using ReviewBoard 1.7.21. And all other fields has a pencil button next to them except for Reviewers.... I am using a Ubuntu virtual machine as my server and followed all the instructions on your web page.

--

Gong Zhang

unread,
Feb 5, 2014, 12:13:00 PM2/5/14
to revie...@googlegroups.com, Gong Zhang, chi...@chipx86.com
It makes sence... And also I noticed that there`s a auto-complete feature for rbtools, is that true? Do you guys have a more friendly UI for users to create a code review? I think use a --o option within rbt post is a way to do it, right?

Christian Hammond

unread,
Feb 5, 2014, 12:15:12 PM2/5/14
to revie...@googlegroups.com, Gong Zhang
Which auto-complete feature are you referring to?

Different companies have different ways they handle code reviews. Many do pre-commit, which is what RBTools is largely used for. Some do post-commit, which RBTools 0.6 will make easier, and Review Board 2.0 will provide a nicer web UI for.

-o just opens the review request in your browser after posting. It's a helpful option. You can also set it to be used by default in .reviewboardrc (check the docs for the setting).

Christian

--
Christian Hammond - chi...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com


On Wed, Feb 5, 2014 at 9:13 AM, Gong Zhang <zhangs...@gmail.com> wrote:
It makes sence... And also I noticed that there`s a auto-complete feature for rbtools, is that true? Do you guys have a more friendly UI for users to create a code review? I think use a --o option within rbt post is a way to do it, right?

--

Gong Zhang

unread,
Feb 5, 2014, 12:16:36 PM2/5/14
to revie...@googlegroups.com, Gong Zhang, chi...@chipx86.com
As new to Review board, I have many questions... Sorry to trouble you, but I am wondering is there any features to allow integration with Jira or Jenkins? Thanks!

Gong Zhang

unread,
Feb 5, 2014, 12:30:12 PM2/5/14
to revie...@googlegroups.com, Gong Zhang, chi...@chipx86.com
In case you missed my last question, here I ask again, 

Christian Hammond

unread,
Feb 5, 2014, 12:35:46 PM2/5/14
to revie...@googlegroups.com, Gong Zhang
Hi Gong,

I didn't miss it. Just working on other things.

Aside from linking to tickets on Jira, there's no formal integration today. We're looking at that for future releases.

You can write extensions to Review Board to send changes to services like Jenkins. Other people on this list have done some work in this area, and I believe a Google search will turn up some results.

Christian

--
Christian Hammond - chi...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com


On Wed, Feb 5, 2014 at 9:30 AM, Gong Zhang <zhangs...@gmail.com> wrote:
In case you missed my last question, here I ask again, 
is there any features to allow integration with Jira or Jenkins? Thanks!

--

Gong Zhang

unread,
Feb 5, 2014, 2:21:05 PM2/5/14
to revie...@googlegroups.com, Gong Zhang, chi...@chipx86.com
Your answers are really helpful!
Another question hopefully this will be the last one :). Can I do a svn commit with the RBTools? Seems the "--commit" is not supported with Subversion when I tried to use "rbt patch --commit 5". Thanks! 

Christian Hammond

unread,
Feb 5, 2014, 2:40:38 PM2/5/14
to revie...@googlegroups.com, Gong Zhang
Hi,

We don't (at least not currently) handle the commit process. We leave that up to your existing tools, so that you aren't required to learn a new tool to commit your code.

Christian

--
Christian Hammond - chi...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com


On Wed, Feb 5, 2014 at 11:21 AM, Gong Zhang <zhangs...@gmail.com> wrote:
Your answers are really helpful!
Another question hopefully this will be the last one :). Can I do a svn commit with the RBTools? Seems the "--commit" is not supported with Subversion when I tried to use "rbt patch --commit 5". Thanks! 

--

Gong Zhang

unread,
Feb 5, 2014, 3:00:06 PM2/5/14
to revie...@googlegroups.com, Gong Zhang, chi...@chipx86.com
Hi,

Found a bug for you :). When I try to upload a file for a review, it get stunk after I click upload button. And another thing is, the only way for me to create a code review using web UI is upload a raw diff file, right? Is it possible to upload a changed file and the review board can automatically locate the previous version from my repository and generate a diff between these two? Attached is the snapshot for the stunk when uploading a file.


Christian Hammond

unread,
Feb 5, 2014, 3:26:38 PM2/5/14
to revie...@googlegroups.com, Gong Zhang
You'll have to see what the JavaScript logs say. You can also try drag-and-dropping from your file manager directly onto the review request box.

It's not possible for Review Board to take an arbitrary file and locate the previous version in the repository. There's no way of knowing what that version or even its path would be.

Christian

--
Christian Hammond - chi...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com


Reply all
Reply to author
Forward
0 new messages