Code::Blocks

Developer forums (C::B DEVELOPMENT STRICTLY!) => Contributions to C::B => Topic started by: MoonKid on October 04, 2007, 06:43:54 pm

Title: [TortoiseSVN] Developer SVN Access wia SSH on BerliOS
Post by: MoonKid on October 04, 2007, 06:43:54 pm
It is quite OT here but I know that CB has a BerliOS account, too.

I try to access my own svn-repository account with TortoiseSVN.

Ok I have putty installed on my WinXP and set putty as the SSH-Client in the TSVN settings. But TSVN say "invalid port number" and "connection closed unexpectedly"

I tried plink to. Then a terminal window open and freeze. There is nothing in it. Nothing happens.

On TSVN-Checkout I give this line to the "URL of repository"
svn+ssh://moonkid@svn.berlios.de/svnroot/repos/blackfisk/trunk

How does the CB coders access the SVN on BerliOS?
I don't want to use the cmdline.
Title: Re: [TortoiseSVN] Developer SVN Access wia SSH on BerliOS
Post by: Biplab on October 04, 2007, 06:45:49 pm
Try with https protocol.

Quote
https://moonkid@svn.berlios.de/svnroot/repos/blackfisk/trunk
Title: Re: [TortoiseSVN] Developer SVN Access wia SSH on BerliOS
Post by: thomas on October 04, 2007, 07:38:26 pm
I've had sporadic trouble accessing the Code::Blocks sources via https:// before. svn+ssh:// works reliably without any problems whatsoever.
I use svn+ssh://thomasdenk@svn.berlios.de/svnroot/repos/codeblocks/trunk/src for Code::Blocks.

My Subversion config file looks like this:
Code: [Select]
[tunnels]
ssh = C:/tools/plink.exe

[miscellany]
global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* *.gch *.layout *.depend *.cbCache *.res *.save
use-commit-times = yes
enable-auto-props = yes

###   file-name-pattern = propname[=value][;propname[=value]...]
### The file-name-pattern can contain wildcards (such as '*' and
### '?').  All entries which match will be applied to the file.
[auto-props]
*.c = svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id
*.cpp = svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id
*.h = svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id
*.php = svn:keywords=Date Revision Author HeadURL Id
*.html = svn:keywords=Date Revision Author HeadURL Id
*.dsp = svn:eol-style=CRLF
*.dsw = svn:eol-style=CRLF
*.sh = svn:eol-style=native;svn:executable
*.txt = svn:eol-style=native
*.png = svn:mime-type=image/png
*.jp?g = svn:mime-type=image/jpeg
Makefile = svn:eol-style=native
Note the [tunnels] section, and remember that the Subversion config file does not like backslashes. Put in whatever ssh client you intend to use there, but abstain from backslashes.
Title: Re: [TortoiseSVN] Developer SVN Access wia SSH on BerliOS
Post by: MoonKid on October 04, 2007, 08:10:15 pm
My Subversion config file looks like this:

As I described I don't use original subversion. I am using TortoiseSVN with plink. There is no config-file for tortoiseSVN.

If I understand you right: You don't use TortoiseSVN?
Title: Re: [TortoiseSVN] Developer SVN Access wia SSH on BerliOS
Post by: thomas on October 04, 2007, 08:16:16 pm
On my system, I get to edit that file like this:
(http://img186.imageshack.us/img186/7727/0000eb9.png)
Title: Re: [TortoiseSVN] Developer SVN Access wia SSH on BerliOS
Post by: MoonKid on October 04, 2007, 08:44:57 pm
Ah, nice.

Why do I need such a config file?

But I tried it to set the tunnel to my plink. But I can set plink as ssh-client somewhere in the settings-dialog, too. I think I don't need the config file for that.
But it don't matters because the behavior is the same. plink opens but nothing happens. It doesn't freeze it just does nothing (cpu 0% and RAM ~2.5MB).
Title: Re: [TortoiseSVN] Developer SVN Access wia SSH on BerliOS
Post by: MoonKid on October 04, 2007, 08:54:38 pm
I tried your config-file 1:1 (just modify the plink.exe path; i use / instead of \) to access the CB svn.

It is the same behavior.
Title: Re: [TortoiseSVN] Developer SVN Access wia SSH on BerliOS
Post by: thomas on October 04, 2007, 09:06:53 pm
Can you log into svn.berlios.de using putty like so?
(http://img120.imageshack.us/img120/2885/0001wg4.png)
Title: Re: [TortoiseSVN] Developer SVN Access wia SSH on BerliOS
Post by: MoonKid on October 04, 2007, 11:19:49 pm
Can you log into svn.berlios.de using putty like so?

Yes it is no problem. I dumped my local repository and load it into the my BerliOS SVN with putty.
Title: Re: [TortoiseSVN] Developer SVN Access wia SSH on BerliOS
Post by: kisoft on October 08, 2007, 08:04:16 am
I have no problems for using TortoiseSVN with my repository on BerliOS.

I being used this URL for repository access:
Code: [Select]
svn+ssh://yourlogin@svn.berlios.de/svnroot/repos/cbmakegen/branches/alltargetsWhere "yourlogin" - your BerliOS login.
Look my config dialog settings


[attachment deleted by admin]
Title: Re: [TortoiseSVN] Developer SVN Access wia SSH on BerliOS
Post by: MoonKid on October 08, 2007, 04:48:47 pm
Ah it was the ssh-client. Thanks! With tortoisePlink it work.