mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
ide: U++ svn checkout feature
git-svn-id: svn://ultimatepp.org/upp/trunk@12274 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
3b8b6ec7aa
commit
e432be354a
17 changed files with 209 additions and 29 deletions
|
|
@ -98,7 +98,10 @@ void StoreToWorkspace(T& x, const char *name)
|
|||
void SerializeWorkspaceConfigs(Stream& s);
|
||||
|
||||
extern bool IdeExit;
|
||||
extern bool IdeAgain; // Used to restart theide after checking out SVN (SetupSVNTrunk)
|
||||
|
||||
bool CopyFolder(const char *dst, const char *src, Progress *pi = NULL);
|
||||
|
||||
bool HasSvn();
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -219,6 +219,7 @@ INITBLOCK {
|
|||
}
|
||||
|
||||
bool IdeExit;
|
||||
bool IdeAgain;
|
||||
|
||||
bool CopyFolder(const char *dst, const char *src, Progress *pi)
|
||||
{
|
||||
|
|
@ -243,3 +244,10 @@ bool CopyFolder(const char *dst, const char *src, Progress *pi)
|
|||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
bool HasSvn()
|
||||
{
|
||||
String dummy;
|
||||
static bool b = Sys("svn", dummy) >= 0;
|
||||
return b;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue