English 中文(简体)
是否有办法使科索沃统计局避免在关键词上出现冲突,如伊德:美元
原标题:Is there a way to get CVS to not produce merge conflicts on keyword substitutions like $Id: $

目前,我们使用科索沃统计局,在一个分支部门发展新的特征,然后将它合并到地库。 有时,我们会因科索沃安全委员会关键词替代而发生冲突。 因此,在审查冲突档案时,我们看到这样的情况。

<<<<<<< collect_logs.conf
# CVS $Id: collect_logs.conf,v 1.6 2010/02/03 16:43:11 peterw Exp $
=======
# CVS $Id: collect_logs.conf,v 1.13 2010-05-07 17:14:43 peterw Exp $
>>>>>>> 1.13

这将是档案中的冲突

我做了一点调查,而且你可能注意到,入境日期的编排格式略有不同。 这是因为不同的平台(一个是太阳系,另一个是关于含水层)使用不同的舱面版本,我认为这是引发冲突的原因。

工作只是对该项目进行新的检查,然后从那里进行更新。 由于所有关键词都以同样格式提出,因此它很高兴合并。

我的问题是,你能够指挥警钟,以更好地应对关键词替代的合并。 或者,像我一样,通过新的检查来避免这种检查是更好的?

增 编

Peter

最佳回答

页: 1 合并和关键词(第5.10节)。

<代码>k附在-k(关键词替代模式)之后,使全球导航卫星系统仅产生关键词而不是关键词的价值。 因此,从理论上讲,你的多重日期形式就是一个问题。 不过,我没有测试这一理论。

问题回答

暂无回答




相关问题
Use the commit message in a CVS pre-commit hook

Is it possible to use the commit message in a pre-commit hook in CVS? The CVS server is running remotely, and I access it using pserver. Ideally, I want to allow the commit if the files pass the ...

Using CVS to #ifdef my changes

I have a large project that has many changes not yet checked in. I want to check them in but have them only take effect when a certain symbol is #define d CVS does have the ability to format diffs ...

Netbeans CVS - existing repo - existing working copy

I m using Netbeans to develop with Drupal. I m trying to let Netbeans get drupal core and modules from the repository on drupal.org to my local working copy. Problem is: I already have a working ...

Does an Eclipse CVS merge appear in the log view of a file?

I m not new to the Branch/Merge idea, but I m new to CVS. I have a sample file that I have brached off of the main trunk, and have made non-conflicting edits to both the branch and the main. When I ...

Tips on upgrading CVS to git/hg?

We still use CVS, I use git and hg for my personal use though I m still a novice at both, but I realize they re much more modern and better, faster, distributed, etc. It s just everyone is so ...

Get local cvs comment history when committing file/s in emacs

I often commit files with similar cvs comment but not in a single operation. I would like to able to bring up previous comments I ve used in a previous commit when I am in the process of writing a ...