diff --git a/GitTfs.VsCommon/Wrappers.cs b/GitTfs.VsCommon/Wrappers.cs index b4a69bb0..a37b6df9 100644 --- a/GitTfs.VsCommon/Wrappers.cs +++ b/GitTfs.VsCommon/Wrappers.cs @@ -442,16 +442,16 @@ namespace Sep.Git.Tfs.VsCommon public int PendRename(string pathFrom, string pathTo) { - //looks like TFS Api cannot overwrite existing target file - EnsureTargetFileDoesNotExist(pathTo); + //looks like TFS Api cannot overwrite existing target file + EnsureTargetFileDoesNotExist(pathTo); return _workspace.PendRename(pathFrom, pathTo); } - private void EnsureTargetFileDoesNotExist(string pathTo) - { - File.Delete(pathTo); - } + private void EnsureTargetFileDoesNotExist(string pathTo) + { + File.Delete(pathTo); + } public void ForceGetFile(string path, int changeset) {