Svn Up zuerst

This commit is contained in:
BlubbFish 2012-09-02 16:57:52 +00:00
parent 401e0a89b2
commit 4a9da90b26
3 changed files with 9 additions and 1 deletions

View File

@ -55,6 +55,9 @@ namespace svnsync
return this.HandleSvn(HandleSvnType.NotInit, ""); return this.HandleSvn(HandleSvnType.NotInit, "");
if (run > 10) if (run > 10)
return this.HandleSvn(HandleSvnType.ToMutchChronRuns, ""); return this.HandleSvn(HandleSvnType.ToMutchChronRuns, "");
s.Update();
if (s.IsError())
return this.HandleSvn(HandleSvnType.UnexpectedError, s.getError());
s.CheckStatus(); s.CheckStatus();
if (s.IsNotOnlyModified()) if (s.IsNotOnlyModified())
{ {

View File

@ -201,5 +201,10 @@ namespace svnsync
} }
this.AddFiles(s); this.AddFiles(s);
} }
internal void Update()
{
this.runner("up");
}
} }
} }

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<StartArguments>-d "D:\\Doc's\\Studium\\" -cron -autoadd -autodelete</StartArguments> <StartArguments>-d "C:\\Users\\netz\\Documents\\Bastelleien" -cron -autoadd -autodelete</StartArguments>
<RemoteDebugEnabled>false</RemoteDebugEnabled> <RemoteDebugEnabled>false</RemoteDebugEnabled>
<StartAction>Project</StartAction> <StartAction>Project</StartAction>
</PropertyGroup> </PropertyGroup>