News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

[TortoiseSVN] Developer SVN Access wia SSH on BerliOS

Started by MoonKid, October 04, 2007, 06:43:54 PM

Previous topic - Next topic

MoonKid

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.

Biplab

Be a part of the solution, not a part of the problem.

thomas

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:
[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."

MoonKid

Quote from: thomas on October 04, 2007, 07:38:26 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?

thomas

"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

MoonKid

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).

MoonKid

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.

thomas

"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

MoonKid

Quote from: thomas on October 04, 2007, 09:06:53 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.

kisoft

I have no problems for using TortoiseSVN with my repository on BerliOS.

I being used this URL for repository access:
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:
[url="https://github.com/kisoft/cbmakefilegen"]https://github.com/kisoft/cbmakefilegen[/url]

MoonKid