API Error 207: Repository File Not Found

115 views
Skip to first unread message

Alain H

unread,
Sep 1, 2022, 12:51:28 PM9/1/22
to Review Board Community
I am using rbt on bot Unix and Windows and have the same error when executing "rbt post" using RBTools 3.1.1 (Python 3.8.13).

H:\Modules_\der>rbt post
←[31mERROR:←[39m Error validating diff

/Modules/der/trunk/src/der.c (revision 14897): The file was not found in the repository. (API Error 207: Repository File Not Found)


Executing "rbt diff" gives me a valid diff:
H:\Modules_\der>rbt diff
Index: src/der.c
===================================================================
--- /Modules/der/trunk/src/der.c        (revision 14897)
+++ /Modules/der/trunk/src/der.c        (working copy)
@@ -19,6 +19,7 @@

 /**
  * Formats a DER `element`.
+ * THIS IS TO TEST ReviewBoard -
  */
 static string DER_formatElement(const DER_element_t &element) {
     string s = format("0x%02x/%d", element.id, element.length);


Same issue if I drag and drop the diff.txt in the ReviewBoard web site for creating a request.
I think that the tools does make the link between the path of the file in SVN and on local directory but have no clue on how to fix it.

Thanks in advance for your help

Alain

Alain H

unread,
Sep 2, 2022, 5:53:51 AM9/2/22
to Review Board Community
Why this is marked as abuse? It has been marked as abuse.
Report not abuse
Just for info here is the output of svn info on the current directory:
H:\Modules_\der>svn info .
Path: .
Working Copy Root Path: H:\Modules_\der
URL: https://xxx.com/svnplugin/imgesw/root/Modules/der/trunk
Relative URL: ^/Modules/der/trunk
Repository Root: https://xxx.com/svnplugin/imgesw/root
Repository UUID: f7b13fd4-2ed4-4b60-bb61-11abc00c005f
Revision: 14896
Node Kind: directory
Schedule: normal
Last Changed Author: yyyy
Last Changed Rev: 14695
Last Changed Date: 2022-03-15 09:43:07 +0100 (Tue, 15 Mar 2022)

and rbt is properly configured: 

H:\Modules_\der>more .reviewboardrc
REVIEWBOARD_URL = "http://gnbcxd0115.xxx.com"
REPOSITORY = "eSW_Modules"
REPOSITORY_TYPE = "svn"
Reply all
Reply to author
Forward
0 new messages