Announcement

Collapse
No announcement yet.

How to ignore CVS tags in comparisons?

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • How to ignore CVS tags in comparisons?

    Is there any way to make BC ignore CVS tags within source code when doing a comparison? It would need to be universal for all text type files checked into the tree.

    For example, ignore "/* $Id: blah to end of line$ */"

    The issue I am trying to resolve is one where we have merged between branches and there is no real change to a file, yet CVS insists it is so and creates a new revision. On check-out the only changes are the meta-CVS tag infos about who, when and revision; need to ignore these for effective comparisons.

  • #2
    Re: How to ignore CVS tags in comparisons?

    Ignore.... found a thread below that lets me do what I need.

    Comment


    • #3
      Re: How to ignore CVS tags in comparisons?

      The easiest way to ignore CVS tags is to add Unimportant text for the rule.

      In File Viewer, select Tools|Pick Rules|New Rules.
      In the general tab, select file extensions to associate the rule with using semicolon as a separator ( example *.cpp;*.c;*.h ).

      Go to the Importance tab.
      Click New in the Unimportant Text section.
      Select the Delimited Category.
      Place $ in the Beginning with: and and ending with: sections.

      This will ignore any text starting and ending with $ and $.

      If you have $ characters ocurring in your code other than for CVS tags, you will probably need to use a regular expression for the text.
      Chris K Scooter Software

      Comment


      • #4
        Re: How to ignore CVS tags in comparisons?

        yes, that's what I did. The report is clean now.

        Comment

        Working...
        X
        😀
        🥰
        🤢
        😎
        😡
        👍
        👎