[ https://jira.codehaus.org/browse/MSCMPUB-12?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Herve Boutemy updated MSCMPUB-12: --------------------------------- Description: When tryUpdate is set to true and scmBranch is set to gh-pages, the following error occurs: {noformat}[INFO] Updating the pub tree from scm:git:g...@github.com:freehep/freehep-vectorgraphics.git into /Users/duns/freehep/freehep-vectorgraphics/target/scmpublish [INFO] Executing: /bin/sh -c cd /Users/duns/freehep/freehep-vectorgraphics/target/scmpublish && git log -n1 --date-order master [INFO] Working directory: /Users/duns/freehep/freehep-vectorgraphics/target/scmpublish [ERROR] Failed to check out from SCM: The git-log command failed. fatal: ambiguous argument 'master': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]'{noformat} it seems scmBranch should have been used in the git log command. was: When tryUpdate is set to true and scmBranch is set to gh-pages, the following error occurs: [INFO] Updating the pub tree from scm:git:g...@github.com:freehep/freehep-vectorgraphics.git into /Users/duns/freehep/freehep-vectorgraphics/target/scmpublish [INFO] Executing: /bin/sh -c cd /Users/duns/freehep/freehep-vectorgraphics/target/scmpublish && git log -n1 --date-order master [INFO] Working directory: /Users/duns/freehep/freehep-vectorgraphics/target/scmpublish [ERROR] Failed to check out from SCM: The git-log command failed. fatal: ambiguous argument 'master': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]' it seems scmBranch should have been used in the git log command. > scmBranch ignored when tryUpdate is specified > --------------------------------------------- > > Key: MSCMPUB-12 > URL: https://jira.codehaus.org/browse/MSCMPUB-12 > Project: maven-scm-publish-plugin > Issue Type: Bug > Affects Versions: 1.0 > Reporter: Mark Donszelmann > Priority: Minor > > When tryUpdate is set to true and scmBranch is set to gh-pages, the following > error occurs: > {noformat}[INFO] Updating the pub tree from > scm:git:g...@github.com:freehep/freehep-vectorgraphics.git into > /Users/duns/freehep/freehep-vectorgraphics/target/scmpublish > [INFO] Executing: /bin/sh -c cd > /Users/duns/freehep/freehep-vectorgraphics/target/scmpublish && git log -n1 > --date-order master > [INFO] Working directory: > /Users/duns/freehep/freehep-vectorgraphics/target/scmpublish > [ERROR] Failed to check out from SCM: The git-log command failed. fatal: > ambiguous argument 'master': unknown revision or path not in the working tree. > Use '--' to separate paths from revisions, like this: > 'git <command> [<revision>...] -- [<file>...]'{noformat} > it seems scmBranch should have been used in the git log command. -- This message was sent by Atlassian JIRA (v6.1.6#6162)