[Defect] Log entries with \r and/or \n break the revision ID

evl123
Posts: 1
Joined: Fri May 12, 2006 5:14 pm

[Defect] Log entries with \r and/or \n break the revision ID

Postby evl123 » Fri May 12, 2006 5:34 pm

Hello All,
Not sure if this is the proper place for this. I found that an entry in the source VCS had a \r \n (a comment reflecting code change for windows/unix) .
The SvnHistoryHelper class escapes and unescapes \r \n by adding\removing \\\\

Since the message is part of the revion ID (module, author,date,message).
Incremental builds include this old entry as its not considered the same betweeen incremental_history file and source VCS record.

I patched my copy of svn-importer and picked something like #__NL__# and #__CR__# as the replacement token and fixed the problem.

PS. A thought. Why not have the incremental history file be in XML, would save you on escapping and worrying about delimiters and special characters and whitespace/newlines etc.

Return to “Polarion SVN Importer (Repository Converter)”

Who is online

Users browsing this forum: No registered users and 3 guests