Why are you using mapped drives? I take it you don't have TortoiseSVN or the
SubClipse plugin for Eclipse on your workstations? Or is your repository on
a different server than your web server?

Here's what I have locally.

Subversion is running on the dev server here on my network. All of my
workstations have TortoiseSVN (I couldn’t live without it). When I set up a
new project, I add it to my repo and check it out to a directory on the
server that is in the webroot.

Then I check out another copy to my work station remotely with TortoiseSVN
or SubClipse by browsing to "svn://myserver". (and anyone else that is
working on it checks out their own copy)

I make all of my changes to the copy on my workstation and commit them back
to the repo then "Update" the working dir on the webserver.

It sounds like a lot but it's not, especially with TortoieSVN and/or
Subclipse. 

The commits only go to the repository though so you still need to "Update"
the working copy on the webserver. You can go to the server and do it or you
can write a cfm page to do it for you.

I have a svn.cfm template in the root of all my sites so I can hit the page
and have the servers working copy updated. Here is an example of one...


Svn.cfm
-----------
<cfexecute name="c:\svnupdate.bat" arguments="d:\webroot\a\asite\www"
outputfile="d:\webroot\a\asite\www\svn.txt"></cfexecute>
<cfoutput>
<cfinclude template="svn.txt">
</cfoutput>

My svnupdate.bat file is on the root of C and has only two lines...

Svnupdate.bat
------------------
@echo off
svn update %1

svn.cfm will print the current revision your project is at as well as a list
of files it updated.

As for moving a project to production, you "Export" a copy from the repo.
Using the export command will strip out a clean copy of the project (no .svn
directories)

A company I do a ton of work for has basically the same setup. I can also
browse their repository from home and checkout projects from there. I was a
little reluctant at first to give up the old reliable FTP but this setup is
great.

Hope that gives some ideas.

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.5/67 - Release Date: 8/9/2005
 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214364
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to