Computing.Net > Forums > Unix > merging changes into production fil

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

merging changes into production fil

Reply to Message Icon

Name: pradeep desh
Date: February 9, 2005 at 23:55:46 Pacific
OS: SunOS
CPU/Ram: 256MB
Comment:

Hello,
Which is the best & full proof method to merge our code changes in a production file.

Right now, we are copying files from production in our local working dir, & making code changes in it . At the week of implementation we are taking the diff between our file(in which we have added some code changes) and the production version. The problem with this is, the production version keeps on changing in weeks, so while i complete my code changes & production version is also changed.so i see other person code changes also.
Presently, iam copying my code changes manually into production file, but as this is too risky, iam not sure abt it.
We are using SCCS for source control.



Sponsored Link
Ads by Google

Response Number 1
Name: Jim Boothe
Date: February 10, 2005 at 07:28:47 Pacific
Reply:

I am not familiar with SCCS, but the purpose of a good source control system is so that you do not have problems like that.

A source control system can keep up with multiple people making changes to the same source program at the same time. The first developer to merge his changes does so with no conflicts. The second etc developer to merge changes may encounter conflicts with code that was changed since his "check out", and the system shows these conflicts and presents various options on how they might be handled.

You may already be aware of the full capabilities of SCCS, but if not, my suggestion would be to explore SCCS advanced merging capabilities.


0

Response Number 2
Name: thepubba
Date: February 10, 2005 at 07:43:29 Pacific
Reply:

If you are using SCCS properly, you have version control. Proper check-in and check-out procedures take care of the merging. I'd suggest that you follow Jim's suggestion and read up on SCCS. Try a google search. You will get a significant number of hits, many of which will explain what you are looking for.



0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: merging changes into production fil

Merging code changes www.computing.net/answers/unix/merging-code-changes/6721.html

merge files into one www.computing.net/answers/unix/merge-files-into-one/8066.html

concatenate strings www.computing.net/answers/unix/concatenate-strings/6153.html