Welcome Guest | Login

Problem with Subversion and TortoiseSVN on XP

Hi I set up a subversion repository here and it works great when I am at the site with putty or plink etc.. but if I tray and access it at home on windows XP I keep getting errors, I have tried all the things I have found online, I created public private key, (which works when I use putty directly)

I thought there was something wrong with my subversion repos but I downloaded Eclipse and I was able to connect to my repos IF I changed the subversion access in subclipse to the pure java option, I would be happy with that but I still get an error when checking things in or out, it seems to work but I don't really trust it 100% since it still has some errors.  

I really would like to get TortoiseSVN working but I have spent 2nights doing nothing but that without much luck.  Has anyone here been able to connect to their subversion here at HostingRails with TortoiseSVN on XP?  Oh if I use TortoiseSVN with a local repository then it works fine, not what I want though.

Oh btw I have WinXP SP2 3.0GHZ system with HT and 1 Gig RAM at home.

Bill

2006-12-05 01:03 PM

Using windows for this is just notoriously a pain.  The common way to fix it is to use JavaSVN and then live with whatever little errors come along.   Check out the bottom of
http://tortoisesvn.net/ssh_howto for some more ideas...

2006-12-05 01:41 PM

Yeah I tried everything on that page and many others.  I just can't get it to work, which is a real bummer.  Wonder why it is so hard to get it working on windows?  Maybe I will try a virtual machine with Ubuntu and eclipse

2006-12-05 01:45 PM

Hello

I also had problems getting TortoiseSVN to work with Windows XP.  Eventually I figured out that "mesg y" in the bash login script on the server was causing a problem. I ended up replacing my .bashrc by the /etc/bashrc and commenting out the "mesg y" command in this file.  (The original .bashr just checked to see if /etc/bashrc existed and then ran it.)  

Elsewhere someone suggested being more clever with the mesg y and changing it like this...
tty -s
if [ $? -eq 0 ]; then
mesg y
fi

Replacing my .bashrc with the /etc/bashrc file is not my favorite solution, since I won't take advantage of any changes that Hosting Rails support staff make to the centralized /etc/bashrc.

2006-12-12 06:44 AM

Ok I am new to unix commands, bash etc.. but I can see that mesg y is in the bashrc file a couple directorys above my login directory...so are you saying I should copy that one and replace my .bashrc file with it?  (of course I see what you mean about not automatically getting any changes that HR puts into the upper one)  Oh and BTW what does mesg y do?

Thanks so much for your help, I feel I am getting closer.... us programmers always the optimists!  :)

2006-12-12 07:31 AM

YES YES YES!!!! Finally it is working!  Thank you so much, I tried what you recommended Lisa, I copied the .bashrc from /etc  and I got rid of the mesg y line....I can't believe that is all I needed to do.  Thanks again!

2006-12-12 07:48 AM

The mesg command controls whether other users can write to your terminal. For example the super user might send a message to the terminals of all users who are logged in to alert them that he is planning to shut down the server in a short time.  By default it is turned on.

I'm glad that my fix also worked for you. :)

2006-12-12 04:11 PM

Hey Guys,

I'm having this exact same problem, I want to implement the fix that you've done, but I'm not sure what commands to execute it?

I'm using putty to ssh into my account, and when i run ls, i can see the .bashrc file, and i can pico this, but when I go into my etc folder all I see is ftpqupta and .imapv4cp5c.

Unix is so new to me!

Thank you!

2006-12-27 12:35 AM

The etc folder they are referring to is not ~/etc but /etc - an important difference as the former is in your root and the ladder is the main directory path of the linux distro we're using (RHEL4)

We're also going to be making some security changes to bash soon so please let us know if you run into trouble after this happens and we'll make sure to keep SVN working for you guys.

Cheers,

~William

2006-12-27 03:31 AM

.bashrc is owned by root on my account, read only to group and world.

Is this correct? I would have thought I should be able to modify it.

Dennis

2007-01-16 12:47 PM

Yeah we've implemented the security features I mentioned above - email us at support if you need the 'mesg y' commented out.  

2007-01-16 11:42 PM

http://www.hostingrails.com/forums/wiki_thread/4

I couldnt get the


If you don't feel like typing out each individual step above, you can create a script file that does the same thing. Save the code below into a file in your home directory called "setupsvn.sh" (or whatever name you prefer), then chmod 755 it and execute it by typing "./setupsvn <projectname>". This code simply automates the steps outlined above (as of 2007-04-13).

I dont know where to put the setupsvn.sh file   I tried home then home/svn then home/svn/projectname

2007-11-03 02:10 AM

Hello,

Please put the script in your home directory and put 755 permissions for the script. Then run the script by running the command ./setupsvn.sh

2007-11-03 02:56 AM

Regards,
Rahul
I get an "Invalid port number" error when I try to use TortoiseSVN.  Anyone else getting this?

2008-09-12 04:57 PM

This error message pops up if you are had already made an SSH connection using the Putty saved session. To avoid the error, you need to use a "Saved Session" that has never been used before.

If that doesn't work:
->leave the SSH client field blank (which makes TortoiseSVN use TortoisePlink)
->when you enter the URL of the repository, use the name of the saved session. For example, if your session name is MyConnection, use MyConnection instead of e.g. www.example.com

2008-09-12 06:04 PM

Regards,
Rahul

Hello Guest! In order to post you must be an active client with us, please log in or sign up.