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