mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 06:05:58 -06:00
.fixed to compile
git-svn-id: svn://ultimatepp.org/upp/trunk@12276 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
c42dd479b7
commit
d31c49c347
2 changed files with 1 additions and 35 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
description "Simple drawing application";
|
description "Simple drawing application\377";
|
||||||
|
|
||||||
uses
|
uses
|
||||||
CtrlLib;
|
CtrlLib;
|
||||||
|
|
|
||||||
|
|
@ -415,40 +415,6 @@ INITBLOCK {
|
||||||
RegisterGlobalConfig("svn-msgs");
|
RegisterGlobalConfig("svn-msgs");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
bool CheckSvn()
|
|
||||||
{
|
|
||||||
String h;
|
|
||||||
if(Sys("svn", h) >= 0)
|
|
||||||
return true;
|
|
||||||
#ifdef PLATFORM_WIN32
|
|
||||||
Exclamation("Unable to execute svn.exe!&"
|
|
||||||
"You can download svn client here: [^http://www.sliksvn.com/en/download^ http://www.sliksvn.com/en/download]");
|
|
||||||
#else
|
|
||||||
Exclamation("Unable to execute 'svn' binary!&Please install svn client.");
|
|
||||||
#endif
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool IsSvnDir(const String& p)
|
|
||||||
{
|
|
||||||
if(IsNull(p))
|
|
||||||
return false;
|
|
||||||
if(DirectoryExists(AppendFileName(p, ".svn")) || DirectoryExists(AppendFileName(p, "_svn")))
|
|
||||||
return true;
|
|
||||||
String path = p;
|
|
||||||
String path0;
|
|
||||||
while(path != path0) {
|
|
||||||
path0 = path;
|
|
||||||
DirectoryUp(path);
|
|
||||||
if(DirectoryExists(AppendFileName(path, ".svn")))
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
*/ _DBG_
|
|
||||||
|
|
||||||
void RepoSyncDirs(const Vector<String>& working)
|
void RepoSyncDirs(const Vector<String>& working)
|
||||||
{
|
{
|
||||||
// if(!CheckSvn())
|
// if(!CheckSvn())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue