asfgit closed pull request #43: Fix for Windows by changing literal newlines to
backslash followed by n.
URL: https://github.com/apache/maven-scm/pull/43
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git
a/maven-scm-providers/maven-scm-provider-hg/src/main/java/org/apache/maven/scm/provider/hg/command/HgCommandConstants.java
b/maven-scm-providers/maven-scm-provider-hg/src/main/java/org/apache/maven/scm/provider/hg/command/HgCommandConstants.java
index 9029856ed..e98f283fc 100644
---
a/maven-scm-providers/maven-scm-provider-hg/src/main/java/org/apache/maven/scm/provider/hg/command/HgCommandConstants.java
+++
b/maven-scm-providers/maven-scm-provider-hg/src/main/java/org/apache/maven/scm/provider/hg/command/HgCommandConstants.java
@@ -164,7 +164,6 @@ private HgCommandConstants()
* verbose format for log command.
*/
public static final String TEMPLATE_FORMAT =
- "changeset: {rev}:{node|short}\nbranch: {branch}\nuser:
{author}\ndate: {date|isodatesec}"
- + "\ntag: {tags}\nfiles:
{files}\ndescription:\n{desc}\n";
-
+ "changeset: {rev}:{node|short}\\nbranch: {branch}\\nuser:
{author}\\n"
+ + "date: {date|isodatesec}\\ntag: {tags}\\nfiles:
{files}\\ndescription:\\n{desc}\\n";
}
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services