diff --git a/svnsync/Form1.cs b/svnsync/Form1.cs index 125b571..170fb30 100644 --- a/svnsync/Form1.cs +++ b/svnsync/Form1.cs @@ -55,6 +55,9 @@ namespace svnsync return this.HandleSvn(HandleSvnType.NotInit, ""); if (run > 10) return this.HandleSvn(HandleSvnType.ToMutchChronRuns, ""); + s.Update(); + if (s.IsError()) + return this.HandleSvn(HandleSvnType.UnexpectedError, s.getError()); s.CheckStatus(); if (s.IsNotOnlyModified()) { diff --git a/svnsync/Svn.cs b/svnsync/Svn.cs index 7876d6f..1548283 100644 --- a/svnsync/Svn.cs +++ b/svnsync/Svn.cs @@ -201,5 +201,10 @@ namespace svnsync } this.AddFiles(s); } + + internal void Update() + { + this.runner("up"); + } } } diff --git a/svnsync/svnsync.csproj.user b/svnsync/svnsync.csproj.user index c732275..89bf639 100644 --- a/svnsync/svnsync.csproj.user +++ b/svnsync/svnsync.csproj.user @@ -1,7 +1,7 @@  - -d "D:\\Doc's\\Studium\\" -cron -autoadd -autodelete + -d "C:\\Users\\netz\\Documents\\Bastelleien" -cron -autoadd -autodelete false Project