changeset 951:0cf858cb793c

Describe mercurial VCS root parameters
author Dmitry Neverov <dmitry.neverov@gmail.com>
date Thu, 09 Jun 2016 16:57:06 +0200
parents f6af0004f46a
children e9c294e8e2a4
files .idea/artifacts/plugin.xml mercurial-dsl/HgVcsRoot.xml
diffstat 2 files changed, 45 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.idea/artifacts/plugin.xml	Tue Apr 05 19:28:07 2016 +0200
+++ b/.idea/artifacts/plugin.xml	Thu Jun 09 16:57:06 2016 +0200
@@ -34,6 +34,9 @@
           <element id="artifact" artifact-name="mercurial-vcs-worker" />
         </element>
       </element>
+      <element id="directory" name="kotlin-dsl">
+        <element id="file-copy" path="$PROJECT_DIR$/mercurial-dsl/HgVcsRoot.xml" />
+      </element>
     </root>
   </artifact>
 </component>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mercurial-dsl/HgVcsRoot.xml	Thu Jun 09 16:57:06 2016 +0200
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Copyright 2000-2016 JetBrains s.r.o.
+  ~
+  ~ Licensed under the Apache License, Version 2.0 (the "License");
+  ~ you may not use this file except in compliance with the License.
+  ~ You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<dsl-extension type="vcs" name="mercurial" generateDslJar="true">
+  <vcs-root-class name="HgVcsRoot"/>
+  <params>
+    <param name="repositoryPath" dslName="url"/>
+    <param name="branchName" dslName="branch"/>
+    <param name="teamcity:branchSpec" dslName="branchSpec"/>
+    <param name="useTagsAsBranches" type="boolean"/>
+    <param name="detectSubrepoChanges" type="boolean"/>
+    <param name="tagUsername" dslName="userForTags"/>
+    <param name="uncompressedTransfer" type="boolean"/>
+    <param name="hgCommandPath" dslName="hgPath"/>
+    <param name="customHgConfig"/>
+    <param name="username" dslName="userName"/>
+    <param name="secure:password" dslName="password"/>
+    <param name="purgePolicy" type="PurgePolicy"/>
+    <param name="useSharedMirrors" dslName="useMirrors" type="boolean"/>
+  </params>
+  <types>
+    <enum name="PurgePolicy">
+      <option name="DONT_RUN"/>
+      <option name="PURGE_UNKNOWN"/>
+      <option name="PURGE_ALL"/>
+    </enum>
+  </types>
+</dsl-extension>
\ No newline at end of file