[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Line ends by comment character(s)

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 11 Jul 2016 22:09:06 +0200

On 11.07.2016 12:43, Hubert Sack wrote:
> I've a lot of source code for a PCS. There the "real" end-of-line is
> the ; character, the rest of the line is comment. Some tools of mine
> places reference information in such comments - some of them are
> references to the linenumber. In the current version of TortoiseMerge
> there ist no option to set an "end-of-line" character (or a grep
> expression - this would be an extremly powerful option) to able to
> ignore differences in comments (like differences in whitespaces now)
> So I suggest to add an option "ignoring differences in comments"
> _and_ a string (or a grep expression), how this comment "starts"
> e.g. // for c++ -- for VHDL ; for assembler (and this would be true
> for my use, too)

There's a filter feature available, where you can set a regex and a
replace string. Just replace all comments with an empty string and they
will be ignored.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=3178566
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2016-07-11 22:09:25 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.