You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Keith <ks...@bizjournals.com> on 2006/04/26 15:22:23 UTC

Questions about subversion

Can you provide me any pros and cons between using subversion and using
Visual Source Safe?

Also can subversion run on a Windows 2000, 2003?

Is subversion a command line driven tool or is there a graphical interface
with it.

Thanks,

Keith Stephens

 

Senior Web Developer/Analyst

American City Business Journals

www.bizjournals.com

(704)  973-1045 x31045 

 

"Ordinary Programmer"




Re: Questions about subversion

Posted by Scott Palmer <sc...@digital-rapids.com>.
On 27-Apr-06, at 12:53 PM, Andy Levy wrote:

>
>
> On 4/26/06, Keith <ks...@bizjournals.com> wrote:
> Can you provide me any pros and cons between using subversion and  
> using Visual Source Safe?
>
>
> Microsoft doesn't even use VSS, and haven't for many years. VSS is  
> a nightmare to maintain from a server admin perspective, and you  
> are almost guaranteed to lose data eventually.  Backups are not  
> simple.  The interface is clumsy and outdated.  There's an API  
> provided for coding your own scripts/programs against it, but we  
> never managed to find very good documentation on it.  IMO, unless  
> you need a specific feature of VSS, there is NO compelling argument  
> to use it.  The lock-modify-unlock model (pessimistc locking) is a  
> major hassle if...

...if you actually turn it on.  The lock-modify-unlock model is  
optional in VSS.  There are plenty of real reasons that Subversion is  
better... there's no need to make any up :)  (I'm not suggesting  
anyone has done so intentionally.)

> I speak as both an ex-VSS user and ex-part-time-VSS admin.  When we  
> implemented VSS at my last job late in '99, it was the best option  
> we had for our needs, and worked OK for us...for a while.  A year  
> ago, I was cursing it daily.  We couldn't get backups completed  
> because as long as any developer left the VSS client open, or VB,  
> or any other application that could "talk" to the server, files in  
> the database were open - and because we had people who would leave  
> these apps running constantly, our automated nightly backups failed  
> *every night* for months on end.

Sounds like you had bad backup software.  Back in the days when I  
used VSS this was never a problem.  I suspect the access rights used  
by the backup software let it copy files if they were open or not.

...the rest of your comments are right on.

Without question Subversion is the vastly superior product - but if  
you are used to VSS you may need to adjust how you do some things.  
(File "sharing" is the most significant IMO.)

Scott

Re: Questions about subversion

Posted by Andy Levy <an...@gmail.com>.
On 4/26/06, Keith <ks...@bizjournals.com> wrote:
>
>  Can you provide me any pros and cons between using subversion and using
> Visual Source Safe?
>

Microsoft doesn't even use VSS, and haven't for many years. VSS is a
nightmare to maintain from a server admin perspective, and you are almost
guaranteed to lose data eventually.  Backups are not simple.  The interface
is clumsy and outdated.  There's an API provided for coding your own
scripts/programs against it, but we never managed to find very good
documentation on it.  IMO, unless you need a specific feature of VSS, there
is NO compelling argument to use it.  The lock-modify-unlock model
(pessimistc locking) is a major hassle if you have multiple developers in
the same groups of files regularly, or if someone goes on vacation and
forgets to check everything in.

I speak as both an ex-VSS user and ex-part-time-VSS admin.  When we
implemented VSS at my last job late in '99, it was the best option we had
for our needs, and worked OK for us...for a while.  A year ago, I was
cursing it daily.  We couldn't get backups completed because as long as any
developer left the VSS client open, or VB, or any other application that
could "talk" to the server, files in the database were open - and because we
had people who would leave these apps running constantly, our automated
nightly backups failed *every night* for months on end.  We had
corrupted/lost files,  We couldn't even run a repair on the database for a
while, and when we finally did, the database was so far gone we never got
many of those lost files back.

MS is supposedly coming out with a replacement for it, but I don't think
it's past beta stage yet.  They've been talking about it for a very long
time.

I implemented Subversion at my new job last fall and it's a world of
difference.  It's very easy to work with, I can get clean backups, there are
myriad access methods, both in terms of clients and programming APIs or even
just calling the command line client from scripts.  I have a level of
confidence in SVN that I never had with VSS.  Copy-Modify-Merge, or
optimistic locking, makes collaboration MUCH easier, and significantly
reduces the server load.  Users work in a disconnected mode - pull down a
working copy, then stop talking to the server.  Get an update, then you can
unplug the wire.  Perform your commit, and just walk away. You don't have
users constantly leaving connections to the repository hanging open.

Subversions's atomic commits ensure that your data is really there.  Either
the commit works, or it doesn't.  VSS doesn't do this - you can get your
first 3 files committed, then something breaks and your last 2 don't make it
in there.  Then you have to clean up.

Subversion's global revision numbers make it very, very easy to say "ok, get
me the state of my whole project at this point in time" - with VSS, I was
having to tell our release managers "ok, I need version 4 of this file,
version 37 of this one, oh, and this last one is a brand new file." (whether
we should have used labels in VSS is a good thing to consider, but applying
those labels still would have been more labor-intensive than using tags &
branches in SVN).

Branching...I don't think I ever even tried to use branching in VSS.  SVN
makes it very simple.  Merging is very, very manual with VSS - SVN assumes
that it's going to happen, and does everything it can to help you in the
process.

There are some areas where VSS was better than SVN - in particular, the
integration with MS's other development tools that are VSS's contemporaries
(meaning InterDev 6, VB6 - pretty old & crusty stuff).   But overall, SVN
blows VSS away.

If you decide to go with VSS, plan on having one person whose full-time job
is to keep it alive.

Also can subversion run on a Windows 2000, 2003?
>

And XP.  Both the client and server pieces.

Is subversion a command line driven tool or is there a graphical interface
> with it.
>

Subversion comes with a command line client, and there are several GUI
clients for it.  TortoiseSVN integrates directly into Windows Explorer,
there's RapidSVN, and there's even a plug-in for VisualStudio .NET if you're
so inclined.  Those are just 3 of the clients I'm aware of - there are
plenty of others.

Re: Questions about subversion

Posted by Johnathan Gifford <jg...@wernervas.com>.
Yes to all your questions, for more details, please see
http://subversion.tigris.org and review the links for graphical interface
applications as well as add-ins for Visual Studio.

In regards to Visual Source Safe vs. Subversion.  Subversion is far
superior, but will require your to rethink how you perform source control.
A simple Google search with ŒSubversion Visual Source Safe¹ turned up this
as a link: http://www.wadhome.org/svn_vs_vss.txt that might be of interest.

Hope this gets you started in the right direction.

Johnathan

On 4/26/06 10:22 AM, "Keith" <ks...@bizjournals.com> wrote:

> Can you provide me any pros and cons between using subversion and using Visual
> Source Safe?
> Also can subversion run on a Windows 2000, 2003?
> Is subversion a command line driven tool or is there a graphical interface
> with it.
> Thanks,
> 
> Keith Stephens
> 
>  
> 
> Senior Web Developer/Analyst
> 
> American City Business Journals
> 
> www.bizjournals.com <http://www.bizjournals.com>
> (704) 973-1045 x31045
> 
>  
> 
> "Ordinary Programmer"
> 
> 
>