Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
tsafin committed Feb 21, 2016
2 parents bca7847 + fecda11 commit 36503b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions %SourceControl/Git/Utils.cls.xml
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,16 @@ Returns root temp folder</Description>
set @..#Storage@("settings","namespaceTemp") = ..AddSlash(settings("namespaceTemp"))
set @..#Storage@("settings","groupByFolder") = $case(settings("groupByFolder"), "":"", :1)
quit $$$OK
]]></Implementation>
</Method>

<Method name="GitCommand">
<ClassMethod>1</ClassMethod>
<CodeMode>expression</CodeMode>
<FormalSpec>commandName:%String,itemName:%String=""</FormalSpec>
<ReturnType>%String</ReturnType>
<Implementation><![CDATA[
..GitBinPath()_" /command:"_commandName_
" /path:"""_..TempFolder()_
Expand Down Expand Up @@ -208,7 +211,6 @@ Returns root temp folder</Description>
<FormalSpec><![CDATA[InternalName:%String,MenuName:%String,&Target:%String,&Action:%String,&Reload:%Boolean]]></FormalSpec>
<ReturnType>%Status</ReturnType>
<Implementation><![CDATA[
#dim folder As %String = ..TempFolder()
#dim menuName As %String = $Piece(MenuName,",")
#dim menuItemName As %String = $Piece(MenuName,",",2)
#dim ec As %Status = $$$OK
Expand All @@ -221,7 +223,6 @@ Returns root temp folder</Description>
if (menuName = "%SourceMenu") {
if (menuItemName = "%Cache-Git-Settings") {
set Action = 2
#dim defNamespace As %String = ..#InstallNamespace
set Target = ##class(%cspapp.gitprojectsettings).%GetParameter("CSPURL")_"?NSpace="_$znspace_"&Username="_$username
}elseif (menuItemName = "%CreateRepo") {
if ##class(%File).CreateDirectoryChain(..TempFolder()) {
Expand Down Expand Up @@ -1005,7 +1006,6 @@ if <var>force</var> = 1 then imports in any case.]]></Description>
if (type = $$$Directory) || (type = $$$CSPFolder) {
#dim newpath As %String = $case(path,"":name,:path_isdirectory_name)
#dim importedcnt As %Integer = 0
do ..ExportRoutinesAux(newpath, isdirectory, level + 1)
} else {
#dim InternalName As %String = path_sep_name
Expand Down

0 comments on commit 36503b9

Please sign in to comment.