1487: svn file copy diff fails to upload
- Duplicate
- Review Board
macne*****@gmai***** (Google Code) (Is this you? Claim this profile.) | |
Sept. 30, 2012 | |
2582 |
What version are you running? RB 1.0.3 What's the URL of the page containing the problem? /api/json/reviewrequests/###/diff/new/ What steps will reproduce the problem? 1. svn copy foo.txt bar.txt 2. post-review What is the expected output? What do you see instead? I would expect a review to be crated, but instead, I get the following output: Error uploading diff: One or more fields had errors (105) Your review request still exists, but the diff is not attached. What operating system are you using? What browser? Linux. Firefox. Please provide any additional information below. SVN version is 1.6 post-review is current - commit a822ccf6
[/home/mac4/ws/svn_test/src/TestPackage] $ post-review --version postreview.py 0.8 [/home/mac4/ws/svn_test/src/TestPackage] $ svn --version svn, version 1.6.6 (r40053) compiled Nov 30 2009, 16:50:07 Copyright (C) 2000-2009 CollabNet. Subversion is open source software, see http://subversion.tigris.org/ This product includes software developed by CollabNet (http://www.Collab.Net/). The following repository access (RA) modules are available: * ra_neon : Module for accessing a repository via WebDAV protocol using Neon. - handles 'http' scheme - handles 'https' scheme * ra_svn : Module for accessing a repository using the svn network protocol. - with Cyrus SASL authentication - handles 'svn' scheme * ra_local : Module for accessing a repository on local disk. - handles 'file' scheme [/home/mac4/ws/svn_test/src/TestPackage] $ svn copy notes.txt notes_copy.txt A notes_copy.txt [/home/mac4/ws/svn_test/src/TestPackage] $ svn status A + notes_copy.txt [/home/mac4/ws/svn_test/src/TestPackage] $ post-review --debug >>> svn info >>> repository info: Path: https://subversion.mycompany.com/repo, Base >>> path: /src/package/TestPackage/mainline, Supports >>> changesets: False >>> svn diff --diff-cmd=diff >>> HTTP GETting /api/json/repositories/ >>> HTTP GETting /api/json/repositories/5/info/ >>> repository info: Path: https://subversion.mycompany.com/repo, Base >>> path: /src/package/TestPackage/mainline, Supports >>> changesets: False >>> Attempting to create review request on >>> https://subversion.mycompany.com/repo for None >>> HTTP POSTing to https://cr.mycompany.com/api/json/reviewrequests/new/: >>> {'repository_path': u'https://subversion.mycompany.com/repo'} >>> Review request created >>> Uploading diff, size: 0 >>> HTTP POSTing to >>> https://cr.mycompany.com/api/json/reviewrequests/44639/diff/new/: {'basedir': >>> '/src/package/TestPackage/mainline'} >>> Got API Error 105 (HTTP code 200): One or more fields had errors >>> Error data: {u'fields': {u'path': [u'The submitted file is empty.']}, >>> u'stat': u'fail', u'err': {u'msg': u'One or more fields had errors', >>> u'code': 105}} Error uploading diff: One or more fields had errors (HTTP 200, API Error 105) Your review request still exists, but the diff is not attached.
-
- New + Duplicate -
+ 1065 - svn file moves/copies/branches don't work