GitHub user OhadR opened a pull request:
https://github.com/apache/maven-scm/pull/13
https://jira.codehaus.org/browse/SCM-750: support TFS checkin-policies
https://jira.codehaus.org/browse/SCM-750 :
In TFS, there is an option of "checkin policies". In this case, whenever a
developer checks-in his code, another dialog pops-up , and asks to enter a
comment. I really do not know who really uses this feature and actually enters
a real comment (since the comment that is related to the check-in was entered
in a previous dialog), but in my case the organization's SCM forces this
extra-dialog. The problem: when I try to check in a file using a command line,
I HAVE TO add an extra argument to the command (see example below). Hence, the
scm-tfs plugin does not work, since it lacks this 'extra' argument. As far as i
saw the code, I understand that the command is hard-coded, and unfortunately it
is not configurable,
This is an example command-line for check-in (only a single pom.xml):
tf checkin -noprompt "-comment:[maven-release-plugin] prepare release
some-comment-for-checkin" D:\.....\pom.xml /override:";Auto-Build: Version
Update";
in this example, '/override:";Auto-Build: Version Update";' is the
extra-argument.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/OhadR/maven-scm master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/maven-scm/pull/13.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 #13
----
commit ee87b13e87f6b2bcae275c0911afefe330509c4c
Author: OhadR <[email protected]>
Date: 2014-05-19T10:01:06Z
support TFS checkin-policies
commit f8cc479e589ef7e68ed5558324bd75b7c8844dfc
Author: OhadR <[email protected]>
Date: 2014-05-19T15:27:17Z
https://jira.codehaus.org/browse/SCM-750: support TFS checkin-policies
https://jira.codehaus.org/browse/SCM-750: support TFS checkin-policies
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]