1

Closed

Svn log messages included with #logmessage# contains new lines

description

...which make this replacement pretty useless, because I fear that the simple CommandLine Instruction tries to just execute some additional commands.

So I get the strange 'Der Befehl "#" ist entweder falsch geschrieben oderkonnte nicht gefunden werden.' messages.

Suggested solution provide something that replaces the new lines with empty spaces. Maybe another replacement-variable or extent the parser so that I'm able define that I want to access #logmessage# without new lines.

Best regards,

Andreas
Closed Nov 12, 2013 at 5:06 PM by markushastreiter
Fixed with version 1.1 which was released a couple of days ago

comments

markushastreiter wrote Nov 6, 2013 at 3:10 PM

Thanks for bringing this up. You're right, this should not happen. Changing the content of the replacement variables is not an option though, because they are used for other purposes as well (e.g. the commit message can also be used in an e-mail body and line breaks are valid in that context).
Instead I think the command line instruction must ensure to remove any line breaks and optionally replace them by something useful like a space character.

alaendle wrote Nov 7, 2013 at 6:04 AM

Sounds like a solution :-) I'm really looking forward to the next version of repocop.