3018: post-review can't find source code repository when using TortoiseSVN
- Fixed
- Review Board
jfe***@gmai***** (Google Code) (Is this you? Claim this profile.) | |
Jan. 22, 2014 |
What version are you running? RBTools-0.5 What's the URL of the page containing the problem? What steps will reproduce the problem? 1. installing the RBTools-0.5 2. use post-review command following the Overview of Reviewboard 3. the directory really is the checkout of SVN,the SVN client is TortoiseSVN What is the expected output? What do you see instead? E:\test>post-review -d >>> RBTools 0.5 >>> Python 2.7.5 <default, May 15 2013, 22:43:36> [MSC v.1500 32 bit <Intel>] >>> Running on Windows-XP-5.1.2600-SP3 >>> Current Directory = E:\test >>> Checking the repository type. Errors shown below are mostly harmless. DEBUG:root:Checking for a Bazaar repository… DEBUG:root:Checking for a CVS repository… DEBUG:root:Checking for a ClearCase repository… DEBUG:root:Checking for a Git repository… DEBUG:root:Checking for a Mercurial repository… DEBUG:root:Checking for a Perforce repository… DEBUG:root:Checking for a Plastic repository… DEBUG:root:Checking for a Subversion repository… The current directory does not contain a checkout from a supported source code repository. What operating system are you using? What browser? Windows SP3 Please provide any additional information below.
I'm seeing the same issue with 0.5.2. ]$ ../post-review 148092 -d >>> RBTools 0.5.2 >>> Python 2.6.1 (r261:67515, Dec 5 2008, 22:09:34) [GCC 4.1.2] >>> Running on Linux-2.6.18-274.7.1.el5-x86_64-with-redhat-6.4-Final >>> Home = /home/wange >>> Current Directory = /home/wange/devel/depot2/bin/reviewboard >>> Checking the repository type. Errors shown below are mostly harmless. [2013-12-10 15:39:42] ERROR: The current directory does not contain a checkout from a supported source code repository. Works fine with older version: $ post-review --version ; post-review 148092 RBTools 0.4.2 Review request #551754 posted. https://../r/551754/
I just found out why, will follow up with you guys.
J'm tried different version of RBTools (0.4.2, 0.4.3, 0.5.2) and Python (2.6, 2.7) Also I'm tried to use old and newest versions of svn client structure >>> RBTools 0.4.2 >>> Python 2.7.6 (default, Nov 10 2013, 19:24:24) [MSC v.1500 64 bit (AMD64)] >>> Running on Windows-7-6.1.7600 >>> Home = C:\Users\koba\AppData\Roaming >>> Current Directory = d:\_TSVN\prj_help_desk >>> Checking the repository type. Errors shown below are mostly harmless. DEBUG:root:Checking for a CVS repository... DEBUG:root:Checking for a ClearCase repository... DEBUG:root:Checking for a Git repository... DEBUG:root:Checking for a Mercurial repository... DEBUG:root:Checking for a Perforce repository... DEBUG:root:Checking for a Plastic repository... DEBUG:root:Checking for a Subversion repository... The current directory does not contain a checkout from a supported source code repository.
kovanko: Is this with TortoiseSVN, or plain SVN? What happens when you type 'svn info' in that directory?
-
+ NeedInfo
I'm tried (windows 7): TortoiseSVN 1.7.13, Build 24257 - 64 Bit, RapidSVN 0.9.6 BTW the same script successfully recognize folders GIT repository near these svn folders. I think issue with svn client, that why I'm tried different clients. Any ideas?
The cause of issue - TortoiseSVN was installed without command-line tools
> I just found out why, will follow up with you guys. In my case, it was because we didn't use setuptools for installing RBTools, nor did we intend it to be installed by individual users locally. This version (0.5.2) used setuptools to manage scm clients as entry points and later loaded using tools in pkg_resources. A little tweak of entry points works for our infrastructure now. $ ./post-review --version ;./post-review 148092 RBTools 0.5.2 Review request #551754 posted. https://.../r/551754/