473,396 Members | 1,996 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

"patch" like tool

please let me explain the situation.

we're a software developement company, with about 30 people coding in C
under MS Visual C++ Studio. We have a source file system (Telelogic CM
Synergy, basicaly identical to cvs) that handle all the different versions
(it's a very huge tree)

Of course, we have very often the problem to report some modifications done
on a file to many other versions. This job is actually done manualy.

We tried to save time using the diff / patch pair, but it works only in half
of the cases. Explanations :

diff / patch works fine when you are on the same branch, linear sequence of
the same file, applying diff/patch to move from one version to the next one.

BUT, when you try to add a piece of code within a procedure where some lines
were also removed, patch failed to locate where to insert the new code.

Am I clear enought ?

Do you know an other way to proceed ?

Thanks for your help.
--
Pascal R.

----------------------------------------------------------------------------
-------
There are only 10 types of people in this world...
those who understand binary, and those who don't.
Nov 14 '05 #1
3 1356
Pascal wrote:
please let me explain the situation.

we're a software developement company, with about 30 people coding in C
under MS Visual C++ Studio. We have a source file system (Telelogic CM
Synergy, basicaly identical to cvs) that handle all the different versions
(it's a very huge tree)

Of course, we have very often the problem to report some modifications done
on a file to many other versions. This job is actually done manualy.

We tried to save time using the diff / patch pair, but it works only in half
of the cases. Explanations :

diff / patch works fine when you are on the same branch, linear sequence of
the same file, applying diff/patch to move from one version to the next one.

BUT, when you try to add a piece of code within a procedure where some lines
were also removed, patch failed to locate where to insert the new code.

Am I clear enought ?
Yes.
Do you know an other way to proceed ?


No. What is your question about the C language?
Nov 14 '05 #2
Pascal wrote:
please let me explain the situation.

we're a software developement company, with about 30 people coding in C
under MS Visual C++ Studio.
Well, there is your first mistake. A big one, too.

We have a source file system (Telelogic CM Synergy, basicaly identical to cvs) that handle all the different versions
(it's a very huge tree)
Another big mistake. Version control software can only help you so
much. The rest is up to you and how disciplined you are. If you have
so many branches it would be better to just manage them as seperate
projects.

Now, what does any of this have to do with the C language?
Am I clear enought ?
Absolutely. And I will tell you I've seen career's ruined because of
just these situations.
Do you know an other way to proceed ?


I just told you. Seperate projects.
Nov 14 '05 #3
On Thu, 24 Mar 2005 03:49:33 GMT,
Stan Milam <st*****@swbell.net> wrote
in Msg. <hN*****************@newssvr12.news.prodigy.com>
I just told you. Seperate projects.


And go to a programmer's newgroup.

--Daniel
Nov 14 '05 #4

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

Similar topics

33
by: Steven Bethard | last post by:
I feel like this has probably been answered before, but I couldn't find something quite like it in the archives. Feel free to point me somewhere if you know where this has already been answered. ...
2
by: Skip Montanaro | last post by:
I updated the patch that supports PEP 304, "Controlling Generation of Bytecode Files" to apply cleanly against current CVS. I've tested it on Mac OS X (straight Unix build only). I'd appreciate...
2
by: Gary D. Rezek | last post by:
Hi All, First of all I'm mostly an MS Access guy (and novice learning MSSQL guy) and put on this project because of personnel changes, etc and because of db experience. I've only been doing this...
99
by: Jim Hubbard | last post by:
It seems that Microsoft not only does not need the classic Visual Basic developer army (the largest army of developers the world has ever seen), but now they don't need ANY Windows developer at a...
8
by: John Blair | last post by:
Hi, I updated the latest .Net patch on my system this moring and now my SQL Web Data Administrator application is not working. I get the following error: Server Application Unavailable The...
28
by: john_sips_tea | last post by:
Just tried Ruby over the past two days. I won't bore you with the reasons I didn't like it, however one thing really struck me about it that I think we (the Python community) can learn from. ...
0
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 378 open ( +3) / 3298 closed (+34) / 3676 total (+37) Bugs : 886 open (-24) / 5926 closed (+75) / 6812 total (+51) RFE : 224 open...
2
by: djoefish | last post by:
sequel to the topic "install patch on windows"..... I am currently running Python2.3 with Enthought on a windows PC. I have been running into a memory problem (see...
3
by: Larry Leonard | last post by:
Running MSDE 2000 SP2 on Windows XP SP3. I have a T-SQL script that is relatively simple (adding constraints, inserting rows, etc.) and short (maybe 300 lines, heavily commented). It's an...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.