Why is there a red minus (-) sign next to Main.xaml? Can't check in to SVN

image

When I try to check this project into SVN, I get:

image

20.10.2+Branch.master.Sha.cf481ddc1ae94ab83e743f85d96fbfeca8fc705c

Can't set properties on '\\xxxx\yyyy\zzzz\qqqqqq\wwwww\3. Build\Code\ffffff\Main.xaml': invalid status for updating properties.

Error: SharpSvn.SvnWorkingCopyException: Can't set properties on '\\xxxx\yyyy\zzzz\qqqqqq\wwwww\3. Build\Code\ffffff\Main.xaml': invalid status for updating properties.
   at SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, SvnException error, Object targets)
   at SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, svn_error_t* error, Object targets)
   at SharpSvn.SvnClient.InternalSetProperty(String target, String propertyName, svn_string_t* value, SvnSetPropertyArgs args, AprPool pool)
   at SharpSvn.SvnClient.SetProperty(String target, String propertyName, String value, SvnSetPropertyArgs args)
   at UiPath.Studio.Plugin.Svn.Wrappers.SvnClientWrapper.SetProperty(String path, String propertyName, String value, SvnSetPropertyArgs args)
   at UiPath.Studio.Plugin.Svn.Services.Core.SvnLockService.SetNeedsLock(ISvnClient client, String path)
   at UiPath.Studio.Plugin.Svn.SvnSourceControl.<>c__DisplayClass44_0.<CheckInAsync>b__1(ISvnClient client)
   at UiPath.Studio.Plugin.Svn.Session.SvnSession.<>c__DisplayClass13_0.<ExecuteAndMonitorAffectedItemsAsync>b__1()
   at UiPath.Studio.Plugin.Svn.Session.SvnSession.<>c__DisplayClass13_0.<ExecuteAndMonitorAffectedItemsAsync>b__2(ISvnClient _)
   at UiPath.Studio.Plugin.Svn.Session.SvnSession.ThreadSafeExecute[TResult](Func`2 action)
   at UiPath.Studio.Plugin.Svn.Session.SvnSession.<>c__DisplayClass14_0`1.<ExecuteAsync>b__0(CancellationToken _)
   at UiPath.Shared.ProducerConsumerPair.<>c__DisplayClass18_0`1.<StartNew>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at UiPath.Studio.Plugin.Svn.Session.SvnSession.<ExecuteAsync>d__14`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at UiPath.Studio.Plugin.Svn.Session.SvnSession.<ExecuteAndMonitorAffectedItemsAsync>d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at UiPath.Studio.Plugin.Svn.SvnSourceControl.<CheckInAsync>d__44.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at UiPath.Studio.SourceControl.Shared.Services.UI.BaseCheckInUiService`2.<ExecuteCheckIn>d__21.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at UiPath.Studio.SourceControl.Shared.Services.UI.BaseCheckInUiService`2.<CheckInSelectedChanges>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at UiPath.Studio.SourceControl.Shared.Services.UI.BaseCheckInUiService`2.<CheckInAsync>d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at UiPath.Studio.SourceControl.Shared.Services.UI.CentralRepositoryCheckInUiService`1.<CheckInAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at UiPath.Studio.SourceControl.Shared.Services.UI.BaseCheckInUiService`2.<<get_CheckInCommand>b__14_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at UiPath.Studio.App.Desktop.MVVM.Commands.TaskCommand`3.<Execute>d__32.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler), HResult -2146233088

Hi @postwick ,

The Minus sign represents svn:needs-lock on this file before check in since it is not in locked state it is not allowing us to checkin.

i think the default option for SVN in uipath is (locking required - read only update) i too not sure how to resolve this manually.

but we can change the settings in SVN if you have installed in your machine we have to go to properties and change the setting to no lock required this would help i guess. sharing my thought. if it helps it would be learning for both of us. thanks.