mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-07 14:22:39 -06:00
theide svn: empty commit message warning
git-svn-id: svn://ultimatepp.org/upp/trunk@642 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
d76d0d29f2
commit
f32b938c4b
2 changed files with 8 additions and 0 deletions
|
|
@ -278,6 +278,7 @@ INITBLOCK {
|
|||
|
||||
void Ide::SyncSvnDirs(const Vector<String>& working)
|
||||
{
|
||||
SaveFile();
|
||||
SvnSync svn;
|
||||
String msgs;
|
||||
LoadFromGlobal(msgs, "svn-msgs");
|
||||
|
|
|
|||
|
|
@ -186,6 +186,7 @@ void SvnSync::DoSync()
|
|||
{
|
||||
SyncList();
|
||||
msgmap.Sweep();
|
||||
again:
|
||||
if(Execute() != IDOK || list.GetCount() == 0) {
|
||||
int repoi = 0;
|
||||
for(int i = 0; i < list.GetCount(); i++)
|
||||
|
|
@ -193,6 +194,12 @@ void SvnSync::DoSync()
|
|||
msgmap.GetAdd(works[repoi++].working) = list.Get(i, 3);
|
||||
return;
|
||||
}
|
||||
for(int i = 0; i < list.GetCount(); i++)
|
||||
if(list.Get(i, 0) == MESSAGE && IsNull(list.Get(i, 3))) {
|
||||
if(PromptYesNo("Commit message is empty.&Do you want to continue?"))
|
||||
break;
|
||||
goto again;
|
||||
}
|
||||
SysConsole sys;
|
||||
int repoi = 0;
|
||||
int i = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue