How do you prevent file confusion if version-control keywords are forbidden? -


At least two superb programmers, Linus Torvalds and Gideon Won Rossom, put the keyword into a file to show that Detailed version number, last author, etc.

I know how to make keyword differences differently. One of the reasons I like is SlickEdit's DiffZilla because it can be set to leave major comments.

However, I had vivid memories of team-programming where we had four versions of a file (two separate releases, one customer one-off and development version) for patching at all Open, and it was quite helpful to verify with a glance that whenever we navigate in an included header, we found the right one, and every time we paste the code, there were sources and destinations we wanted.

There is also where this-file-come-by-problem arises, when using a slow developer tool to check out the repository instead of using the file system, Copies from place to second; Or to control F, B, and C. When the series is being replaced instead of one place, then with the cherry-picking the distribution space D.

At places where VCS keywords have been banned, do you face it?

This does not answer your question at all, but I imagine that there are reasons for Linus and Guido Disliking those keywords that do not apply to the development of small companies.

For example, there is a $ Id $ tag, which you can consider to be a global version number. Linux and I think that dragon development is so big that no number can be global. A lot of people have their own repositories that fill their own code of $ Id $ and then those patches can be sent to the repository of Linus or Guido where they do not make any sense . / P>

However, in your environment, you probably have a central repository that will provide them and it will be fine. It seems as if you are using git, I wonder if local developers do not have repositories, it is possible to configure central GIT repository for tag replacement. Or maybe it is better to get the hash in tags.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -