Cannot commit to SVN for my project?

If you have any 'mechanical' forge related issues/suggestions, pop them in here.

Moderators: RussW, ChiefGoFor

Locked
dynedain
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 200
Joined: Wed Aug 24, 2005 7:20 pm
Location: Los Angeles
Contact:

Cannot commit to SVN for my project?

Post by dynedain » Fri May 04, 2007 10:49 pm

I have a new project on joomlacode (just opened yesterday) and every time I try to add a file through SVN using Tortoise, I get Error: Put of '/svn/projectunixname/!svn/wrk/random-hash-string/filename': 501 Method Not Implemented (http://joomlacode.org)
Last edited by dynedain on Wed May 09, 2007 4:32 pm, edited 1 time in total.

User avatar
Robin
Joomla! Master
Joomla! Master
Posts: 15753
Joined: Thu Aug 18, 2005 10:41 am

Re: Cannot commit to SVN for my project?

Post by Robin » Sat May 05, 2007 8:00 pm

Hi Can you check this topic, see if it helps? > http://forum.joomla.org/index.php/topic ... #msg734511

dynedain
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 200
Joined: Wed Aug 24, 2005 7:20 pm
Location: Los Angeles
Contact:

Re: Cannot commit to SVN for my project?

Post by dynedain » Mon May 07, 2007 3:56 pm

No, unfortuneately it doesn't help. I am doing the commit process correctly. I can update my local copy, no problem (there's no files yet to check out of course). And the commit process works and prompts me for my username/pass; after supplying them though I get the error

Here's the log:
Adding: Desktop\J-AMFPHP zzzzz\j-amfphp.xml

Sending content: Desktop\J-AMFPHP zzzzz\j-amfphp.xml 
Error: Commit failed (details follow): 
Error: PUT of '/svn/jamfphp/!svn/wrk/a467faba-9217-fd4b-9aaf-6db2554eba6c/j-amfphp.xml': 501 Method Not Implemented (http://joomlacode.org

dynedain
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 200
Joined: Wed Aug 24, 2005 7:20 pm
Location: Los Angeles
Contact:

Re: Cannot commit to SVN for my project?

Post by dynedain » Mon May 07, 2007 9:54 pm

I have tested this using another SVN client, the one included as part of the "EasyEclipse for PHP" package.

I get a very similar error when trying to create a new folder in the SVN:

org.tigris.subversion.javahl.ClientException: RA layer request failed
svn: MKCOL of
'/svn/jamfphp/!svn/wrk/86474d7d-acf2-c8479458-f9b355a48cb7/J-AMFPHP%20v0.1': 501 Method Not Implemented (http://joomlacode.org)



Clearly something is wrong with the SVN setup for my new, empty project and I would appreciate any help I could get in resolving this.

User avatar
Robin
Joomla! Master
Joomla! Master
Posts: 15753
Joined: Thu Aug 18, 2005 10:41 am

Re: Cannot commit to SVN for my project?

Post by Robin » Tue May 08, 2007 5:25 am

Can you check http://forum.joomla.org/index.php/topic,161874.0.html

This user had the exact same problem e.g. error you seem to have.

dynedain
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 200
Joined: Wed Aug 24, 2005 7:20 pm
Location: Los Angeles
Contact:

Re: Cannot commit to SVN for my project?

Post by dynedain » Tue May 08, 2007 3:46 pm

No, it's not helping.

Those are the exact steps I've been going through (except that I'm using tortoise on Windows, not a command line SVN on *NIX). I even started over from scratch to follow step by step. I'm still getting the error as soon as I attempt to commit a file or folder to the empty SVN.

dynedain
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 200
Joined: Wed Aug 24, 2005 7:20 pm
Location: Los Angeles
Contact:

Re: Cannot commit to SVN for my project?

Post by dynedain » Tue May 08, 2007 4:07 pm

Let me run through my steps to make clear I'm doing the right thing.

I requested a new project on JoomlaCode, it was approved: J-AMFPHP with the 'unix name' JAMFPHP

I created a new folder on my desktop for the project.

Right click -> SVN Checkout -> http://joomlacode.org/svn/jamfphp  (no login info is requested at this point)

The project checks out ok:
Completed: At revision: 0 

I create a new text file, drop it into the folder.

Right click on the file -> Tortoise SVN -> Add
Added: C:\Documents and Settings\amclin\Desktop\New Folder\Test.txt
Now the file icon is marked with a nice big blue + to indicate it is to be added on the next commit

Right click on the file -> SVN Commit
Adding: Desktop\New Folder\Test.txt
Now prompted with the Login details
Sending content: Desktop\New Folder\Test.txt
Error: Commit failed (details follow): 
Error: PUT of '/svn/jamfphp/!svn/wrk/e98910e9-91fd-3a4d-8d0c-5375bb0549dc/Test.txt': 501 Method Not Implemented (http://joomlacode.org



If I provide incorrect login details I get:
Error: Commit failed (details follow): 
Error: CHECKOUT of '/svn/jamfphp/!svn/ver/0/': authorization failed (http://joomlacode.org

So obviously it isn't a login problem


So what am I doing wrong? I'm following the instructions and video tutorials on all the various pages that you have been kind enough to link for me, but as you can see, it isn't working. Either I'm missing something painfully obvious, or something isn't documented properly.

User avatar
ianmac
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4784
Joined: Sat Sep 24, 2005 11:01 pm
Location: Toronto, Canada

Re: Cannot commit to SVN for my project?

Post by ianmac » Wed May 09, 2007 1:51 pm

try doing:

svn --username joeblow commit -m "Commit message"

I think this has helped me in the past.

Ian

dynedain
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 200
Joined: Wed Aug 24, 2005 7:20 pm
Location: Los Angeles
Contact:

Re: Cannot commit to SVN for my project?

Post by dynedain » Wed May 09, 2007 3:50 pm

Thanks ianmac, I had thought along those lines too, but even with a commit message I still get the error.

User avatar
ianmac
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4784
Joined: Sat Sep 24, 2005 11:01 pm
Location: Toronto, Canada

Re: Cannot commit to SVN for my project?

Post by ianmac » Wed May 09, 2007 3:56 pm

The difference that worked for me was not the commit message, but specifiying --username on the command line with the proper user.

Ian

dynedain
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 200
Joined: Wed Aug 24, 2005 7:20 pm
Location: Los Angeles
Contact:

Re: Cannot commit to SVN for my project?

Post by dynedain » Wed May 09, 2007 3:59 pm

Unfortuneately, I don't have that option. As I mentioned, I'm on Windows and trying this with Tortoise SVN (I also have tried the SVN included as part of EasyEclipse for PHP, but with the same results) so I don't have the ability to try command-line commits.

User avatar
ianmac
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4784
Joined: Sat Sep 24, 2005 11:01 pm
Location: Toronto, Canada

Re: Cannot commit to SVN for my project?

Post by ianmac » Wed May 09, 2007 4:02 pm

ahhh...  I see...  I don't use Windows anymore, so I can't help you then.  I suspect it is related though.  You probably did an anonymous checkout (the new forge allows this) and now you can't commit.  Just my guess though.

Ian

dynedain
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 200
Joined: Wed Aug 24, 2005 7:20 pm
Location: Los Angeles
Contact:

Re: Cannot commit to SVN for my project?

Post by dynedain » Wed May 09, 2007 4:31 pm

ianmac wrote: You probably did an anonymous checkout (the new forge allows this) and now you can't commit.
That is absolutely correct! The key was the anonymous checkout. I had done anonymous checkout of the Joomla 1.5 repository and so my anonymous login credentials were being saved. This of course meant that whenever I did a checkout of my project, it was using the anonymous credentials.

So, the solution for me was to clear my saved authentications in Tortoise and attempt another checkout, which prompted me with the checkout login window that I wasn't getting before.

Thanks for the help! Marking this one solved.

User avatar
ianmac
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4784
Joined: Sat Sep 24, 2005 11:01 pm
Location: Toronto, Canada

Re: Cannot commit to SVN for my project?

Post by ianmac » Wed May 09, 2007 4:43 pm

Great!

Glad it got you going!

Good luck!
Ian

User avatar
Robin
Joomla! Master
Joomla! Master
Posts: 15753
Joined: Thu Aug 18, 2005 10:41 am

Re: Cannot commit to SVN for my project?

Post by Robin » Wed May 09, 2007 4:56 pm

Thanks for all the feedback, and your help Ian. This way we can help other as well.

User avatar
igd
Joomla! Apprentice
Joomla! Apprentice
Posts: 33
Joined: Thu May 11, 2006 6:51 am
Location: Ellensburg, Washington
Contact:

Re: Cannot commit to SVN for my project?

Post by igd » Wed May 09, 2007 6:18 pm

how did you clear your tortoise cache mate? im having the same problem.
Dan Syme - InnerGate Designs

dynedain
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 200
Joined: Wed Aug 24, 2005 7:20 pm
Location: Los Angeles
Contact:

Re: Cannot commit to SVN for my project?

Post by dynedain » Wed May 09, 2007 6:20 pm

Right-click on folder -> Tortoise SVN -> Settings -> Saved Data

Click the "clear" button next to "authentication data"

User avatar
igd
Joomla! Apprentice
Joomla! Apprentice
Posts: 33
Joined: Thu May 11, 2006 6:51 am
Location: Ellensburg, Washington
Contact:

Re: Cannot commit to SVN for my project?

Post by igd » Wed May 09, 2007 6:26 pm

yep nice one just found that, thanks much mate.
Dan Syme - InnerGate Designs

User avatar
atarr
Joomla! Intern
Joomla! Intern
Posts: 68
Joined: Thu Oct 23, 2008 6:06 pm
Location: Massachusetts, USA
Contact:

Re: Cannot commit to SVN for my project?

Post by atarr » Sun Aug 02, 2009 5:20 am

And if you are on a Windows machine with Eclipse PHP & SVN and having these difficulties you can clear your passwords by deleting the files in the following folder:

XP:
c:\Documents and Settings\[username]\Application Data\subversion\auth\svn.simple

Vista:
c:\Users\[username]\AppData\Roaming\subversion\auth\svn.simple

I made a copy as a back up first :D

Andy
Andrea Tarr
http://www.tarrconsulting.com - Tarr Consulting
http://www.twitter.com/Tarrconsulting - Follow me on Twitter @Tarrconsulting


Locked

Return to “JoomlaCode.org”