View previous topic :: View next topic |
Author |
Message |
brad Site Admin
Joined: 22 Feb 2004 Posts: 490 Location: Atlanta, GA USA
|
Posted: Sun May 09, 2004 11:01 pm Post subject: SVN repository structure |
|
|
Some of you may have noticed the changes to the SVN repos's. We've been changing some of the projects around to the recommended layout in the Subversion book.
/branches - used for code branches - say a new version that will be developed for a while, and then be merged back into the trunk. Or, an old version that will get maintenance fixes, etc. for a period of time.
/tags - releases, so you can get to the code of a specific release.
/trunk - main development trunk
/downloads - dsource.org specific, to house downloads until I figure out another way to do it, or maybe this works indefinitely.
Let me know if you want to switch your project's repos layout to this new way. I'll see if I can assist, but the changes may be possible on your local development machine and you can then just commit the new structure. _________________ I really like the vest! |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
brad Site Admin
Joined: 22 Feb 2004 Posts: 490 Location: Atlanta, GA USA
|
Posted: Sat May 14, 2005 12:01 am Post subject: |
|
|
The path has changed for all Subversion repositories as of May, 2005. There is no more /svn/ in the path of the URL before /projects/. Please update your bookmarks accordingly.
Also, if you have any working copies on your local development PC, follow these steps to switch to the new SVN repos location:
These instructions are for the SVN command-line client and are for a Unix/Linux type system. I imagine the command-line tool would act the same on Windows. If anyone knows of the steps for TortoiseSVN, RapidSVN, or any other client, email me and I'll post them here. Or just post your instructions to the 'site' forum.
* Move into the folder/directory of your working copy and see what's going on with 'svn info'.
Code: |
? cd /home/brad/dev/d/bindings
? svn info
Path: .
URL: http://svn.dsource.org/svn/projects/bindings/trunk
Repository UUID: e3080b08-b6e0-0310-b0a6-cbd5e3aa05fd
Revision: 4
Node Kind: directory
Schedule: normal
|
* Use 'svn switch' command with --relocate flag to change URL:
Code: |
? svn sw --relocate http://svn.dsource.org/svn/projects/bindings/trunk \
http://svn.dsource.org/projects/bindings/trunk
Authentication realm: <http://svn.dsource.org:80> dsource-bindings
Password for 'brad':
|
* Operations should be normal now. For example, to update your repos to the latest version on the server with 'svn up' and then get 'svn info':
Code: |
? svn up
Authentication realm: <http://svn.dsource.org:80> dsource-bindings
Password for 'brad':
{list of files updated}
? svn info
Path: .
URL: http://svn.dsource.org/projects/bindings/trunk
Repository UUID: e3080b08-b6e0-0310-b0a6-cbd5e3aa05fd
Revision: 19
Node Kind: directory
Schedule: normal
Last Changed Author: jcc7
Last Changed Rev: 19
Last Changed Date: 2005-03-27 22:52:21 -0600 (Sun, 27 Mar 2005)
|
You can see the updates that occurred.
mkruer and JJR also noted that with TortoiseSVN, you can accomplish the same thing with the
'Relocate' command.
Let me know of any issues (in this thread, so others can share in the knowledge).
BA |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
brad Site Admin
Joined: 22 Feb 2004 Posts: 490 Location: Atlanta, GA USA
|
Posted: Sat May 14, 2005 12:38 am Post subject: |
|
|
Derek Parnell wrote: |
deleted
|
I deleted Derek's 'switch' command instructions. Please use TortoiseSVN's 'Relocate' command.
BA
Last edited by brad on Sun May 15, 2005 8:07 pm; edited 1 time in total |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
kris
Joined: 27 Mar 2004 Posts: 1494 Location: South Pacific
|
Posted: Sat May 14, 2005 1:30 pm Post subject: |
|
|
brad wrote: | Derek Parnell wrote: |
here are the instructions for Tortoise users ...
* Right Click on the top-level folder: eg. Z:\D_Proj\build
* From the popup menu, select "TortoiseSVN>" then select "Switch...". This
will bring up a dialog with the title "Switch To Branch/Tag"
* Enter the new URL into the "To URL:" dropdown list box. It takes the form
of "http://svn.dsource.org/projects/<yourproj>" eg.
"http://svn.dsource.org/projects/build"
* Ensure that the "Head Revision" radio-button is selected.
* Click the [Ok] button.
To confirm that it worked okay,
* Right Click on the top-level folder: eg. Z:\D_Proj\build
* From the popup menu, select "TortoiseSVN>" then select "Show Log". This
will bring a window that shows all the history for your project's
repository.
|
|
using Switch: after removing the extraneous svn/ from the URL, I get an error msg from Tortoise ~ PROPFIND of '/svn/projects/mango/trunk': 405 Method not allowed (http://svn.dsource.org)
Relocating the "svn browser" seems to work OK, but check-in is currently broken for Mango. |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
brad Site Admin
Joined: 22 Feb 2004 Posts: 490 Location: Atlanta, GA USA
|
Posted: Sat May 14, 2005 7:57 pm Post subject: |
|
|
kris wrote: | check-in is currently broken for Mango. |
What's happening? I'm not having any issues. Do you have local changes that need committing? Any error msg?
BA
P.S. I expect blazing speed for Mango, after much frustration on the old server... |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
kris
Joined: 27 Mar 2004 Posts: 1494 Location: South Pacific
|
Posted: Sun May 15, 2005 2:01 pm Post subject: |
|
|
brad wrote: | kris wrote: | check-in is currently broken for Mango. |
What's happening? I'm not having any issues. Do you have local changes that need committing? Any error msg?
|
Can't check-in due to not being able to 'switch' the repository location via Tortoise. Have loads of changes
NOTE: Switch is not the right command to use! According to the Tortoise doc, you should use Relocate instead ~ the latter is specifically for use when the server URL has changed.
Mango check-in now works, after applying Relocate. |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Derek Parnell
Joined: 22 Apr 2004 Posts: 408 Location: Melbourne, Australia
|
Posted: Sun May 15, 2005 3:59 pm Post subject: |
|
|
kris wrote: | NOTE: Switch is not the right command to use! According to the Tortoise doc, you should use Relocate instead ~ the latter is specifically for use when the server URL has changed.
Mango check-in now works, after applying Relocate. |
Thanks!
I haven't had to check in anything yet so I didn't realize that SWITCH is the wrong command to use. _________________ --
Derek
skype name: derek.j.parnell |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
JJR
Joined: 22 Feb 2004 Posts: 1104
|
Posted: Sun May 15, 2005 5:57 pm Post subject: |
|
|
I was going to mention that "relocate" was the way to go. I used that command effectively and sent instructions to Brad that that was the one to use with TortoiseSVN. I guess he deferred to Derek on this one.
No harm done.
-JJR |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
kris
Joined: 27 Mar 2004 Posts: 1494 Location: South Pacific
|
Posted: Sun May 15, 2005 6:47 pm Post subject: |
|
|
JJR wrote: | I was going to mention that "relocate" was the way to go. I used that command effectively and sent instructions to Brad that that was the one to use with TortoiseSVN. I guess he deferred to Derek on this one.
No harm done.
-JJR |
Oh, Your reference to 'relocate' is noted earlier in this topic ... my mistake was not reading all of the thread ![Smile](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
kris
Joined: 27 Mar 2004 Posts: 1494 Location: South Pacific
|
Posted: Sun May 15, 2005 9:01 pm Post subject: |
|
|
brad wrote: | P.S. I expect blazing speed for Mango, after much frustration on the old server... |
It is indeed a whole lot faster at checking files in. Haven't tried the vast swathe of Doxygen files yet, but so far it's much, much better.
Thanks! |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
JJR
Joined: 22 Feb 2004 Posts: 1104
|
Posted: Sun May 15, 2005 10:41 pm Post subject: |
|
|
I too was shocked by the speed difference uploading and downloading.
Way to go, Brad!
- John |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
|