656 to indicate that this method must be |
656 to indicate that this method must be |
657 implemented by a subclass |
657 implemented by a subclass |
658 </dd> |
658 </dd> |
659 </dl><a NAME="VersionControl.vcsConvertProject" ID="VersionControl.vcsConvertProject"></a> |
659 </dl><a NAME="VersionControl.vcsConvertProject" ID="VersionControl.vcsConvertProject"></a> |
660 <h4>VersionControl.vcsConvertProject</h4> |
660 <h4>VersionControl.vcsConvertProject</h4> |
661 <b>vcsConvertProject</b>(<i>vcsDataDict, project</i>) |
661 <b>vcsConvertProject</b>(<i>vcsDataDict, project, addAll=True</i>) |
662 <p> |
662 <p> |
663 Public method to convert an uncontrolled project to a version |
663 Public method to convert an uncontrolled project to a version |
664 controlled project. |
664 controlled project. |
665 </p><dl> |
665 </p><dl> |
666 <dt><i>vcsDataDict</i></dt> |
666 <dt><i>vcsDataDict</i> (dict)</dt> |
667 <dd> |
667 <dd> |
668 dictionary of data required for the conversion |
668 dictionary of data required for the conversion |
669 </dd><dt><i>project</i></dt> |
669 </dd><dt><i>project</i> (Project)</dt> |
670 <dd> |
670 <dd> |
671 reference to the project object |
671 reference to the project object |
|
672 </dd><dt><i>addAll</i> (bool)</dt> |
|
673 <dd> |
|
674 flag indicating to add all files to the repository |
672 </dd> |
675 </dd> |
673 </dl><dl> |
676 </dl><dl> |
674 <dt>Raises <b>RuntimeError</b>:</dt> |
677 <dt>Raises <b>RuntimeError</b>:</dt> |
675 <dd> |
678 <dd> |
676 to indicate that this method must be |
679 to indicate that this method must be |
804 to indicate that this method must be |
807 to indicate that this method must be |
805 implemented by a subclass |
808 implemented by a subclass |
806 </dd> |
809 </dd> |
807 </dl><a NAME="VersionControl.vcsImport" ID="VersionControl.vcsImport"></a> |
810 </dl><a NAME="VersionControl.vcsImport" ID="VersionControl.vcsImport"></a> |
808 <h4>VersionControl.vcsImport</h4> |
811 <h4>VersionControl.vcsImport</h4> |
809 <b>vcsImport</b>(<i>vcsDataDict, projectDir, noDialog=False</i>) |
812 <b>vcsImport</b>(<i>vcsDataDict, projectDir, noDialog=False, addAll=True</i>) |
810 <p> |
813 <p> |
811 Public method used to import the project into the vcs. |
814 Public method used to import the project into the vcs. |
812 </p><dl> |
815 </p><dl> |
813 <dt><i>vcsDataDict</i></dt> |
816 <dt><i>vcsDataDict</i> (dict)</dt> |
814 <dd> |
817 <dd> |
815 dictionary of data required for the import |
818 dictionary of data required for the import |
816 </dd><dt><i>projectDir</i></dt> |
819 </dd><dt><i>projectDir</i> (str)</dt> |
817 <dd> |
820 <dd> |
818 project directory (string) |
821 project directory (string) |
819 </dd><dt><i>noDialog</i></dt> |
822 </dd><dt><i>noDialog</i> (bool)</dt> |
820 <dd> |
823 <dd> |
821 flag indicating quiet operations |
824 flag indicating quiet operations |
822 </dd> |
825 </dd><dt><i>addAll</i> (bool)</dt> |
823 </dl><dl> |
826 <dd> |
824 <dt>Returns:</dt> |
827 flag indicating to add all files to the repository |
825 <dd> |
828 </dd> |
826 flag indicating an execution without errors (boolean) |
829 </dl><dl> |
827 and a flag indicating the version controll status (boolean) |
830 <dt>Returns:</dt> |
|
831 <dd> |
|
832 tuple containing a flag indicating an execution without errors |
|
833 and a flag indicating the version controll status |
|
834 </dd> |
|
835 </dl><dl> |
|
836 <dt>Return Type:</dt> |
|
837 <dd> |
|
838 tuple of (bool, bool) |
828 </dd> |
839 </dd> |
829 </dl><dl> |
840 </dl><dl> |
830 <dt>Raises <b>RuntimeError</b>:</dt> |
841 <dt>Raises <b>RuntimeError</b>:</dt> |
831 <dd> |
842 <dd> |
832 to indicate that this method must be |
843 to indicate that this method must be |