Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

How do you commit correctly?

<< < (3/4) > >>

thomas:

--- Quote from: Urxae on December 14, 2005, 05:47:21 pm ---Try it without the URL.
--- End quote ---
That will not work, he checked out anonymously.
You cannot commit from an anonymous checkout.

Pecan:
Uh..

I check it out using my name and password just
as mandrav told me to.

--- Code: ---SET APR_ICONV_PATH=C:\usr\bin\Subversion\iconv
svn --username me --password mypswd checkout svn://svn.berlios.de/codeblo
cks/trunk

--- End code ---

is that anonymous?

Anyway, this is all too much for me right now. It's gonna
take me days to do the stuff thomas described. I'm slow.
But I'll eventually get it figured out.

In the meantime would someone (thomas? ) be so kind as
to commit the attached keybinder code for me.


Thanks
pecan



[attachment deleted by admin]

Urxae:

--- Quote from: thomas on December 14, 2005, 05:57:33 pm ---
--- Quote from: Urxae on December 14, 2005, 05:47:21 pm ---Try it without the URL.
--- End quote ---
That will not work, he checked out anonymously.
You cannot commit from an anonymous checkout.

--- End quote ---

I did mention that, see TortoiseSVN's "Relocate" command I mentioned later in that paragraph.
That doesn't take away from the fact that he still needs to remove the URL, svn commit doesn't accept URLs (just a path to commit, defaulting to "."). That's what the error he got was referring to, and nobody mentioned that yet.

Urxae:

--- Quote from: Pecan on December 14, 2005, 06:13:05 pm ---Uh..

I check it out using my name and password just
as mandrav told me to.

--- Code: ---SET APR_ICONV_PATH=C:\usr\bin\Subversion\iconv
svn --username me --password mypswd checkout svn://svn.berlios.de/codeblo
cks/trunk

--- End code ---

is that anonymous?

--- End quote ---

Yes it is. On Berlios, http and svn are anonymous access, while https and svn+ssh are developer access (and thus allow commits).
Try either
--- Code: ---svn --username me --password mypswd checkout svn+ssh://svn.berlios.de/codeblocks/trunk
--- End code ---
or
--- Code: ---svn --username me --password mypswd checkout https://svn.berlios.de/svnroot/repos/codeblocks/trunk
--- End code ---
instead of that second line.
More information here, also randomly linked from the news box at the top of the forum pages.

If you have TortoiseSVN installed, its "Relocate" command combined with either of those URLs should also do the trick, and be much quicker (no need to redownload everything, just adjusts the working copy). But as I mentioned, I have no idea how to do that from the command line (and svn help doesn't list anything like that as far as I can see).

thomas:
It is not anonymous, but it is unsafe ;)  Don't do that. You are sending your username and password in plaintext over the internet... speaking of this, you may want to change your BerliOS password now.

For the server, however, it is as good as anonymous. Everything that is not SSH or https:// is non-authenticated to the server, even if you provide a password. Urxae is right with his objection, but it would not work either way. The server will not accept your commit if you are not authenticated.

Really, get TortoiseSVN. You want to, trust me. It takes 3 minutes to set up, and you can work with it.
If you do not do the whole installation which I described, the only drawback will be that TortoiseSVN will prompt you for your password every time, but that is something you can live with. It will still work!

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version