You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by timdvail <gi...@git.apache.org> on 2016/01/21 17:47:21 UTC

[GitHub] maven-scm pull request: Fix for Windows by changing literal newlin...

GitHub user timdvail opened a pull request:

    https://github.com/apache/maven-scm/pull/43

    Fix for Windows by changing literal newlines to backslash followed by n.

    In the hg provider, the command to hg is being sent through cmd.exe on Windows.  The cmd.exe truncates the command parameter to hg at the newline character.  However, Mercurial (all the way back to the 0.9.2 version that you claim to support) has the ability to translate \n in its template string to newline in the output.  So I'm changing all \n in the Java source to \\n.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/timdvail/maven-scm master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/maven-scm/pull/43.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #43
    
----
commit ca59e5754359443322098c9136a54cabd669ce19
Author: Timothy Vail <ti...@gmail.com>
Date:   2016-01-21T04:40:06Z

    Fix for Windows by changing literal newlines to backslash followed by n.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org