svn target path does not exist

Problem:

svn: Target path does not exist
or
svn: Docelowa śieżka nie istnieje (in Polish)

Solution:

Checkout the project once again or something. You have got a different non-existent branch checked out or something. The remote folder in SVN does not exist, check the .svn/entries files and compare the paths with those that are in the remote repository.

Posted by wojtek Fri, 05 Sep 2008 21:34:00 GMT




subversion wrong username prompt problem

Problem:

While using svn+ssh protocol on linux, svn client (svn, eclipse, netbeans, …) prompts for wrong username (one you have locally on your machine, not the remote one).

Solution:

Change the URL of the repository in the “entries’ files in”.svn” directories.

For example if your svn client asks for username1 instead of asking for username2: edit “.svn/entries” and change “svn+ssh://myhost.com/path/to/repo” to “svn+ssh://username2@myhost.com/path/to/repo” Do this in each subdirectory (each .svn folder).

Be sure to make a backup copy first! :) I am not responsible for the side effects! :)

I didn’t take the time to investigate, but it seems that NetBeans IDE doesn’t store the “username2@” URL prefix in the “entries” files.

You can adapt the following script to your case and use it to correct the “entries” files:

#!/bin/bash for y in `find . -name entries`; do chmod 700 $y sed ‘s_example.hostname.com_correctusername@example.hostname.com_’ $y > temp; mv temp $y; chmod -w $y done

Posted by wojtek Tue, 26 Aug 2008 13:28:00 GMT




mldonkey set fixed edonkey port number

How to set a fixed port number for eDonkey2000 network in MLDonkey? It is generated at the first run of mlnet, but it can be changed in the donkey.ini file.

/var/lib/mldonkey/donkey.ini
~/.mldonkey/donkey.ini 

Posted by wojtek Fri, 09 May 2008 12:19:00 GMT




Sendmail problem

Problem:

= SYSERR(root): Cannot exec /usr/sbin/sensible-mda: 
No such file or directory =

The reason is that I did:

apt-get install sendmail-bin

instead of the proper solution:

apt-get install sendmail

Posted by wojtek Sun, 04 May 2008 21:37:00 GMT