473,659 Members | 2,987 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Version control

How do you guys/gals keep track of changes in your software? How do you
revert to an older version if the new one gets out of control?

What I do is every version that works I create a new folder named VerName++
and save there so I can revert back to it if needed. There has to be a
better way to do this. Please advise.
Jul 22 '05 #1
11 2094
You should use a version control system like:
- CVS
- Visual Source Safe
- Clearcase

You will be able to track all your code changes and will be able to
merge changes from one version branch to another.

Deepa
--
http://www.EventHelix.com/EventStudio
EventStudio 2.5 - Generate sequence diagrams from plain text input

Jul 22 '05 #2
> You should use a version control system like:
- CVS
- Visual Source Safe
- Clearcase

You will be able to track all your code changes and will be able to
merge changes from one version branch to another.


And:
- CVS is originally born with a command line interface, but has some nice
GUIs too and can be integrated in most Java IDEs. It has the simplest
structure of the database/repository of these three. CVS is free of charge.
- Visual Source Safe is the easiest of these three to learn. It can
integrate into MSVC. It supports shared files.
- ClearCase is the most difficult of these three to learn. It can also
integrate into MSVC. It does support replicated servers and other advanced
features.

Niels Dybdahl
Jul 22 '05 #3
Niels Dybdahl wrote:
You should use a version control system like:
- CVS
- Visual Source Safe
- Clearcase

You will be able to track all your code changes and will be able to
merge changes from one version branch to another.


And:
- CVS is originally born with a command line interface, but has some nice
GUIs too and can be integrated in most Java IDEs. It has the simplest
structure of the database/repository of these three. CVS is free of
charge. - Visual Source Safe is the easiest of these three to learn. It
can integrate into MSVC. It supports shared files.
- ClearCase is the most difficult of these three to learn. It can also
integrate into MSVC. It does support replicated servers and other advanced
features.


To add another one:

- Subversion (SVN) is supposed to become the successor to CVS. It addresses
problems of CVS (e.g. files cannot be renamed or moved through the CVS
interface, directories cannot be removed), but it gives up the simple
database structure. The command line interface is almost the same as CVS's,
but I guess that most GUI frontends still won't work with SVN.

CVS is the de-facto standard in the open source/free software scene. Almost
every major (and minor) project uses CVS for revision control.

Jul 22 '05 #4
> - CVS is originally born with a command line interface, but has some nice

Why CVS clutters clientspec with folders and files it creates? Nasty habit,
Perforce never needed to create files in the clientspec.
- Visual Source Safe is the easiest of these three to learn. It can
Does no tolerance for user error or malfunction, if client drops out in
middle of submit for example it could corrupt the whole database. Hope one
has recent backups.
- ClearCase is the most difficult of these three to learn. It can also


Haven't used. Recommend Perforce it's great (though some say it is expensive
to license).
Jul 22 '05 #5
assaarpa wrote:
- CVS is originally born with a command line interface, but has some nice


Why CVS clutters clientspec with folders and files it creates?


So that it knows e.g. which server or directory to get the repository from
or which files are new. Why does that bother you?

Jul 22 '05 #6
> Why CVS clutters clientspec with folders and files it creates? Nasty
habit,
Perforce never needed to create files in the clientspec.
It is much more evident how CVS works compared to SourceSafe and ClearCase.
One of the reasons is that its datastructures follow the sourcefiles. So
this might actually be an advantage.
- Visual Source Safe is the easiest of these three to learn. It can


Does no tolerance for user error or malfunction, if client drops out in
middle of submit for example it could corrupt the whole database. Hope one
has recent backups.


We have used SourceSafe for 7 years now without a single of these problems.
But in any case make a good backup of your version system
database/repository !
- ClearCase is the most difficult of these three to learn. It can also


Haven't used. Recommend Perforce it's great (though some say it is

expensive to license).


On which points is it great ? I have used the three mentioned systems. All
fullfills simple usage. One is easy to learn, one is free of cost and one
has very advanced functionality.

Niels Dybdahl
Jul 22 '05 #7
EventHelix.com wrote:
You should use a version control system like:
- CVS
- Visual Source Safe
- Clearcase

You will be able to track all your code changes and will be able to
merge changes from one version branch to another.

Deepa
--
http://www.EventHelix.com/EventStudio
EventStudio 2.5 - Generate sequence diagrams from plain text input


There is also PVCS.
--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.l earn.c-c++ faq:
http://www.comeaucomputing.com/learn/faq/
Other sites:
http://www.josuttis.com -- C++ STL Library book
http://www.sgi.com/tech/stl -- Standard Template Library

Jul 22 '05 #8
"Melissa Roberts" <bi*******@micr osoft.com> wrote in message
news:uJudnSKjNb eZKircRVn-
How do you guys/gals keep track of changes in your software? How do you
revert to an older version if the new one gets out of control?

What I do is every version that works I create a new folder named VerName++ and save there so I can revert back to it if needed. There has to be a
better way to do this. Please advise.


The VerName folder method is good. After all, we may want to use the old
version code to read a file in the old format, and then save it to the new
format using the new version code. So all of the code should be accessible.

We should also consider using namespaces to partition the code. Right now
I'm still learning the ways to do this, so don't know much about it at
present.

As for keeping track of old versions of the code, merging patch fixes into
different code lines in order to support customers on different code lines,
the best way seems to be to use 3rd party versioning tools as others have
pointed out. There are many other packages other than the big three
mentioned in EventHelix.com' s reply. Just do a search in the internet.
Jul 22 '05 #9
EventHelix.com wrote:
You should use a version control system like:
- CVS
- Visual Source Safe
- Clearcase

You will be able to track all your code changes and will be able to
merge changes from one version branch to another.

Deepa
--
http://www.EventHelix.com/EventStudio
EventStudio 2.5 - Generate sequence diagrams from plain text input

Do not forget http://www.bitkeeper.com/ as well.

--
Regards,
Slava

Jul 22 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

28
2822
by: AK | last post by:
Hi, I recently read an advice here that one should try to use make and version control system even if you're the only one working on the program. Is that a good advice? How many of you do that? Thanks, -AK
13
2974
by: Carl | last post by:
Dear friends, What is the ultimate version control tool for Python if you are working in a Windows environment? When you work on a Visual C++ project then it's easy, use Visual Source Safe for your source code! But when it comes to large Python projects and no universal Python IDE with version control integration is available, checking in and out files is not as simple. I am a keen user of Emacs, but version control, which is very...
6
1856
by: Plumer | last post by:
Good morning everyone, I am having difficulty distributing a Release version of an application. System info C# DOTNET, MDE 2002, Version 7.0.9466 .Net Framework, version 1.0.3705 My Desktop Operating system (as reported by Control Panel.System) is: Windows XP, Version 2002
3
3586
by: Mathew | last post by:
Hi How do you specfiy the version of the .net runtime libraries loaded for a ..net controls hosted in Internet Explorer 6? I have a control that's designed to work with .NET 1.1, but after installing the VS.NET 2005 beta the web browser embedded control is now running in the .NET 2.0 beta runtime environment, and crashing. Is it possible to have different IE hosted controls running side by side in different versions of the .NET...
2
369
by: Jon | last post by:
Hello all. I'm getting this error Missing mandatory attribute 'version'. with the below XML <?xml version="1.0" encoding="UTF-8"?> <rs:data xmlns:rs="namespace_for_rs" xmlns:z="namespace_for_z"> <z:row PageID="index.aspx" ParentID="0" PageTitle="Home" PageAddress="../Index.aspx"/> <z:row PageID="aboutIndex.aspx" ParentID="0" PageTitle="About"
0
3135
by: Willem | last post by:
Based on MK's TSI_SOON (http://www.trigeminal.com/)I've created a nifty little procedure that - whenever you compact you db you get an incremental backup copy. Given that you have a table with version information you get incremental backups on a per-version basis. SEE CODE BELOW Basic idea is: start TSISOON with the options: 1. "compact this db"
2
1773
by: Hongbo | last post by:
Hi, I have a web site built in ASP.Net 1.1 running on production server. It's the version 1.0. Now I need to build the version 2.0 for this web site. The version 2.0 will be built based on the code of version 1.0. Since it take some time to have the version 2.0 ready for production, the code of version 1.0 needs to be kept somewhere for possible bug fix. At this point, the only feasible idea I have is: 1) create a new project for...
2
1979
by: monomaniac21 | last post by:
Hi all we are thinking of using a version control system at work. I was wondering what are some of the issues we should take into consideration when deciding upon which one to use? and which one/s you would recommend? thanks marc
4
1533
by: Steve Alpert | last post by:
With JScript in html, the object codebase can be given a version number which will do a pull from the server if the user has an earlier version. Is there a comparable setup inside an interop wrapper? The generated wrapper seems to have no such ability out of the box. thanks, /steveA
12
1792
by: lawpoop | last post by:
I'm developing a php website that I have under subversion version control. I'm working on an image upload functionality, and in the middle of it I realized that any files that a user uploads will not be under version control, and if I checkout or export the site from version control, and deploy it, it won't bring any of the uploaded files with it. I'm looking at php subversion functions, but the manual says that they're experimental,...
0
8335
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8851
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8747
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8528
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
4175
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4335
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2752
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1976
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1737
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.