Author Topic: [TortoiseSVN] Developer SVN Access wia SSH on BerliOS  (Read 18450 times)

Offline MoonKid

  • Almost regular
  • **
  • Posts: 180
[TortoiseSVN] Developer SVN Access wia SSH on BerliOS
« 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.

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: [TortoiseSVN] Developer SVN Access wia SSH on BerliOS
« Reply #1 on: October 04, 2007, 06:45:49 pm »
Be a part of the solution, not a part of the problem.

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: [TortoiseSVN] Developer SVN Access wia SSH on BerliOS
« Reply #2 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
[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.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline MoonKid

  • Almost regular
  • **
  • Posts: 180
Re: [TortoiseSVN] Developer SVN Access wia SSH on BerliOS
« Reply #3 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?

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: [TortoiseSVN] Developer SVN Access wia SSH on BerliOS
« Reply #4 on: October 04, 2007, 08:16:16 pm »
On my system, I get to edit that file like this:
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline MoonKid

  • Almost regular
  • **
  • Posts: 180
Re: [TortoiseSVN] Developer SVN Access wia SSH on BerliOS
« Reply #5 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).

Offline MoonKid

  • Almost regular
  • **
  • Posts: 180
Re: [TortoiseSVN] Developer SVN Access wia SSH on BerliOS
« Reply #6 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.

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: [TortoiseSVN] Developer SVN Access wia SSH on BerliOS
« Reply #7 on: October 04, 2007, 09:06:53 pm »
Can you log into svn.berlios.de using putty like so?
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline MoonKid

  • Almost regular
  • **
  • Posts: 180
Re: [TortoiseSVN] Developer SVN Access wia SSH on BerliOS
« Reply #8 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.

Offline kisoft

  • Almost regular
  • **
  • Posts: 194
Re: [TortoiseSVN] Developer SVN Access wia SSH on BerliOS
« Reply #9 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
svn+ssh://yourlogin@svn.berlios.de/svnroot/repos/cbmakegen/branches/alltargets
Where "yourlogin" - your BerliOS login.
Look my config dialog settings


[attachment deleted by admin]
OS: WinXPSP3
wxWidgets: 2.8.12
CodeBlocks: Master github cbMakefileGen plugin:
https://github.com/kisoft/cbmakefilegen

Offline MoonKid

  • Almost regular
  • **
  • Posts: 180
Re: [TortoiseSVN] Developer SVN Access wia SSH on BerliOS
« Reply #10 on: October 08, 2007, 04:48:47 pm »
Ah it was the ssh-client. Thanks! With tortoisePlink it work.