Cannot commit to SVN for my project?
Moderators: RussW, RobInk, ChiefGoFor, facedancer
-
- Joomla! Apprentice
- Posts: 17
- Joined: Wed Aug 24, 2005 7:20 pm
- Location: Los Angeles
- Contact:
Cannot commit to SVN for my project?
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.
Re: Cannot commit to SVN for my project?
Hi Can you check this topic, see if it helps? > http://forum.joomla.org/index.php/topic ... #msg734511
Regards Robin - Sites & Infrastructure
-
- Joomla! Apprentice
- Posts: 17
- Joined: Wed Aug 24, 2005 7:20 pm
- Location: Los Angeles
- Contact:
Re: Cannot commit to SVN for my project?
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
<-- At this point I'm prompted for my login info -->
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)
Here's the log:
Adding: Desktop\J-AMFPHP zzzzz\j-amfphp.xml
<-- At this point I'm prompted for my login info -->
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)
-
- Joomla! Apprentice
- Posts: 17
- Joined: Wed Aug 24, 2005 7:20 pm
- Location: Los Angeles
- Contact:
Re: Cannot commit to SVN for my project?
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.
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.
Re: Cannot commit to SVN for my project?
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.
This user had the exact same problem e.g. error you seem to have.
Regards Robin - Sites & Infrastructure
-
- Joomla! Apprentice
- Posts: 17
- Joined: Wed Aug 24, 2005 7:20 pm
- Location: Los Angeles
- Contact:
Re: Cannot commit to SVN for my project?
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.
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.
-
- Joomla! Apprentice
- Posts: 17
- Joined: Wed Aug 24, 2005 7:20 pm
- Location: Los Angeles
- Contact:
Re: Cannot commit to SVN for my project?
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.
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.
Re: Cannot commit to SVN for my project?
try doing:
svn --username joeblow commit -m "Commit message"
I think this has helped me in the past.
Ian
svn --username joeblow commit -m "Commit message"
I think this has helped me in the past.
Ian
Help test my Component XML Generator Tool!
http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,1997/Itemid,35/
All feedback appreciated!
http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,1997/Itemid,35/
All feedback appreciated!
-
- Joomla! Apprentice
- Posts: 17
- Joined: Wed Aug 24, 2005 7:20 pm
- Location: Los Angeles
- Contact:
Re: Cannot commit to SVN for my project?
Thanks ianmac, I had thought along those lines too, but even with a commit message I still get the error.
Re: Cannot commit to SVN for my project?
The difference that worked for me was not the commit message, but specifiying --username on the command line with the proper user.
Ian
Ian
Help test my Component XML Generator Tool!
http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,1997/Itemid,35/
All feedback appreciated!
http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,1997/Itemid,35/
All feedback appreciated!
-
- Joomla! Apprentice
- Posts: 17
- Joined: Wed Aug 24, 2005 7:20 pm
- Location: Los Angeles
- Contact:
Re: Cannot commit to SVN for my project?
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.
Re: Cannot commit to SVN for my project?
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
Ian
Help test my Component XML Generator Tool!
http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,1997/Itemid,35/
All feedback appreciated!
http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,1997/Itemid,35/
All feedback appreciated!
-
- Joomla! Apprentice
- Posts: 17
- Joined: Wed Aug 24, 2005 7:20 pm
- Location: Los Angeles
- Contact:
Re: Cannot commit to SVN for my project?
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.
Re: Cannot commit to SVN for my project?
Great!
Glad it got you going!
Good luck!
Ian
Glad it got you going!
Good luck!
Ian
Help test my Component XML Generator Tool!
http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,1997/Itemid,35/
All feedback appreciated!
http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,1997/Itemid,35/
All feedback appreciated!
Re: Cannot commit to SVN for my project?
Thanks for all the feedback, and your help Ian. This way we can help other as well.
Regards Robin - Sites & Infrastructure
- igd
- Joomla! Apprentice
- Posts: 9
- Joined: Thu May 11, 2006 6:51 am
- Location: Ellensburg, Washington
- Contact:
Re: Cannot commit to SVN for my project?
how did you clear your tortoise cache mate? im having the same problem.
Dan Syme - InnerGate Designs
-
- Joomla! Apprentice
- Posts: 17
- Joined: Wed Aug 24, 2005 7:20 pm
- Location: Los Angeles
- Contact:
Re: Cannot commit to SVN for my project?
Right-click on folder -> Tortoise SVN -> Settings -> Saved Data
Click the "clear" button next to "authentication data"
Click the "clear" button next to "authentication data"
- igd
- Joomla! Apprentice
- Posts: 9
- Joined: Thu May 11, 2006 6:51 am
- Location: Ellensburg, Washington
- Contact:
Re: Cannot commit to SVN for my project?
yep nice one just found that, thanks much mate.
Dan Syme - InnerGate Designs