Error while creating a SVN branch from terminal on mac - macos

I am getting an error while creating a new branch for trunk on mac. I am using terminal to create it. This is the command i am using:
svn copy svn://server/path/to/trunk svn://server/path/to/branch/newBranch -m "Cut branch: newBranch"
And, I am getting following errors:
svn: E175008: At least one property change failed; repository is unchanged
svn: E175002: Server sent unexpected return value (400 Bad Request) in response to PROPPATCH request for 'somePathForNewBranch'
Please let me know how can i resolve it.

I tried changing network and it worked perfectly. No Clue, What was going wrong out there.

Related

Homebrew remote repository on Artifactory

I'm trying to setup a remote repository for Homebrew on Artifactory. I'm following the steps as described in the following page https://jfrog.com/knowledge-base/how-do-i-set-up-a-remote-homebrew-repository.
However, When testing the remote url connection (http://homebrew.bintray.com/bottles) I got this error:
Connection failed: Error 403: Forbidden
I also checked the website in a browser and got the same error message. What are the work arounds for this?
try this:
Create Generic remote repo named homebrew point it to https://homebrew.bintray.com/.
then set env HOMEBREW_BOTTLE_DOMAIN=http://localhost:8080/artifactory/homebrew/.
brew install wget

Tortoise SVN attempt to write a readonly database windows

Currently getting an error when trying to commit code via Tortoise SVN.
Transmitting file data ..done
Committing transaction... Committed revision 2827.
Warning: post commit FS processing had error:
sqlite[S8]: attempt to write a readonly database
There are no locks which I can see, Any recommendations to solutions will be great.
The error in your particular case happens on the server side. There is a problem with the post-commit hook script. Contact the server or repository admin.
Check the permissions to the working copy. If the error is produced by a server side hook script, contact the server administrator.
I guess that the complete error message that you receive looks like in this example:
svn: E155004: Commit failed (details follow):
svn: E155004: Failed to lock working copy 'C:\Users\usr\myproject'.
svn: E200031: sqlite[S8]: attempt to write a readonly database
svn: E200042: Additional errors:
svn: E200031: sqlite[S8]: attempt to write a readonly database
This issue should be caused by insufficient permissions to .svn directory and .svn/wc.db file in particular (e.g. C:\Users\usr\myproject\.svn\wc.db). You should double-check that the user account that runs svn commit has permissions to write to C:\Users\usr\myproject\ directory and its contents.
You can also workaround this issue by checking out a fresh working copy to a new location where you have the required permissions.
I got this error when logged in to Linux as the wrong user. Once I did a "sudo su -" to log in as the user profile that had svn permissions, I was able to work away OK.

Downloading via SVN for MAC

I have to download a repository via SVN by using Mac. And I have some troubles with it. I, actually, past the URL and stuff. And put my password and log in right there but it still gives some strange errors and mb some of you can help me and tell how to do deals with it.
Here is my error:
svn: E170013: Unable to connect to a repository at URL 'https://svn.pathomation.com:****/!/%23QA_PMA.view.2_trunk'
svn: E175009: The XML response contains invalid XML
svn: E130003: Malformed XML: no element found
What does it mean and how to avoid this error?
You use incorrect URL with the Subversion client. Read the article KB102: Subversion client errors caused by inappropriate repository URL.

git pull and clone failed; The remote end hung up unexpectedly RPC failed;

Hi I wanted to pull a project which I was working on it about a month ago. After one month I wanted to get the latest updates of the project with git pull but it won't work and had this error:
The remote end hung up unexpectedly RPC failed; HTTP 500 curl 22 The requested URL returned error: 500 Internal Server Error
Then I wanted to clone this project. So I get the link and clone it with intellij but it did not work again and the error was the same as before.
What should I do???
P.S: my OS is windows 64-bit
Solved: the problem was from the SSH Key. I set SSH Key for the repository and it works fine right now.
I think you should use following command
Try this one first
git config http.postBuffer 524288000
and then run this one
$ git remote add origin git#github.com:username/project.git
after that clone your project.
Your problem should be resolved.
Solved: the problem was from the SSH Key. I set SSH Key for the repository and it works fine right now.

SCM-Manager with Xcode

I have installed SCM-Manager. I would like to use it in the future for version control. The problem is, I cannot add it as a repository in Xcode, and I cannot clone it from command line:
$ git clone http://127.0.0.1:8080/scm/git/MyRepo
Cloning into 'MyRepo'...
Checking connectivity... done.
warning: remote HEAD refers to nonexistent ref, unable to checkout.
$
In Xcode I get this message:
fatal: unable to access 'http://127.0.0.1:8080/scm/git/MyRepo/': The requested URL returned error: 403
SCM server logs this
failed to read basic auth credentials
I have tried to install on different server, checkout with different user, nothing helped.
The first message means that you have cloned an empty repository. The message is only a warning and the repository is fully functional. A better way is to create the "bare" repository in SCM-Manager and add the remote reference to a local created repository:
git init MyRepo
git-remote add origin http://127.0.0.1:8080/scm/git/MyRepo/
The messages from Xcode sounds like missing credentials.

Resources