Bug 3111 - gui.stetic already on SubversionControl
Summary: gui.stetic already on SubversionControl
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Version Control ()
Version: 2.8.6
Hardware: PC All
: --- normal
Target Milestone: ---
Assignee: Alan McGovern
URL:
Depends on:
Blocks:
 
Reported: 2012-01-27 07:52 UTC by pedrohex
Modified: 2012-02-22 05:47 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description pedrohex 2012-01-27 07:52:07 UTC
Get an error when adding new files :
gui.stetic already under subversion control. 

downgrade to 2.8.5.1 and no problems at all.

With 2.8.6.3 i tryed to :
1- Remove all .svn folders and tryed to publish to subversion again (fail).
2- Make new project and manually add gui and cs files (fail).

tested in:
Windows 7 x64
Windows 7 x32
MacOs
Ubuntu 10.40
Comment 1 Alan McGovern 2012-01-30 11:35:19 UTC
I cannot reproduce the issue with the instructions you described. The steps I followed were:

1) Create a GTK# application
2) Right click on the solution and publish it to SVN.
3) Build/rebuild/clean the solution

Could you provide more detailed steps to reproduce the issue or create a screencast demonstrating the issue?
Comment 2 pedrohex 2012-01-31 05:32:31 UTC
I was forced to downgrade monodevelop to 2.8.5 so at the moment (due to time limitations) i cant simulate the error again. My guess is some change at the stetic and / or .proj file that have some kind of conflit. I Believe to simulate this error you should create a gtk project in 2.8.5. Commit , change, etc , and the upgrade the version to 2.8.6. you should get the same error when saving any file that is under svn control.

sorry for the inconvenience.
best regards.
Comment 3 pedrohex 2012-02-06 21:14:27 UTC
Here it is , making a SAVE ALL to my project with version 2.8.6.3 :

SharpSvn.SvnEntryException: 'C:\Users\Pedro Larouca\Work\Clientes\Bsi\XRest\XRest\gtk-gui' is already under version control

   at SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, SvnException error)

   at SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, svn_error_t* error)

   at SharpSvn.SvnClient.Add(String path, SvnAddArgs args)

   at SubversionAddinWindows.SvnSharpClient.Add(FilePath path, Boolean recurse, IProgressMonitor monitor)

   at MonoDevelop.VersionControl.Subversion.SubversionRepository.Add(FilePath[] paths, Boolean recurse, IProgressMonitor monitor)

   at MonoDevelop.VersionControl.Repository.Add(FilePath localPath, Boolean recurse, IProgressMonitor monitor)

   at MonoDevelop.VersionControl.VersionControlFileSystemExtension.CreateDirectory(FilePath path)

   at MonoDevelop.Core.FileService.CreateDirectory(String path)

   at MonoDevelop.GtkCore.GtkDesignInfo.UpdateGtkFolder()

   at MonoDevelop.GtkCore.GuiBuilder.GuiBuilderProject.Save(Boolean saveMdProject)

   at MonoDevelop.GtkCore.GuiBuilder.GuiBuilderView.Save(String fileName)

   at MonoDevelop.Ide.Gui.Document.Save()

   at MonoDevelop.Ide.Gui.Workbench.SaveAll()

   at MonoDevelop.Ide.Commands.SaveAllHandler.Run()

   at MonoDevelop.Components.Commands.CommandHandler.Run(Object dataItem)

   at MonoDevelop.Components.Commands.CommandHandler.InternalRun(Object dataItem)

   at MonoDevelop.Components.Commands.CommandManager.DefaultDispatchCommand(ActionCommand cmd, CommandInfo info, Object dataItem, Object target, CommandSource source)

   at MonoDevelop.Components.Commands.CommandManager.DispatchCommand(Object commandId, Object dataItem, Object initialTarget, CommandSource source)

now, Performing a SAVE command :
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SharpSvn.SvnEntryException: 'C:\Users\Pedro Larouca\Work\Clientes\Bsi\XRest\XRest\gtk-gui' is already under version control

   at SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, SvnException error)

   at SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, svn_error_t* error)

   at SharpSvn.SvnClient.Add(String path, SvnAddArgs args)

   at SubversionAddinWindows.SvnSharpClient.Add(FilePath path, Boolean recurse, IProgressMonitor monitor)

   at MonoDevelop.VersionControl.Subversion.SubversionRepository.Add(FilePath[] paths, Boolean recurse, IProgressMonitor monitor)

   at MonoDevelop.VersionControl.Repository.Add(FilePath localPath, Boolean recurse, IProgressMonitor monitor)

   at MonoDevelop.VersionControl.VersionControlFileSystemExtension.CreateDirectory(FilePath path)

   at MonoDevelop.Core.FileService.CreateDirectory(String path)

   at MonoDevelop.GtkCore.GtkDesignInfo.UpdateGtkFolder()

   at MonoDevelop.GtkCore.GuiBuilder.GuiBuilderProject.Save(Boolean saveMdProject)

   at MonoDevelop.GtkCore.GuiBuilder.GuiBuilderView.Save(String fileName)

   at MonoDevelop.Ide.Gui.Document.Save()

   at MonoDevelop.Ide.Gui.ViewCommandHandlers.OnSaveFile()

   --- End of inner exception stack trace ---

   at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)

   at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)

   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)

   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)

   at MonoDevelop.Components.Commands.CommandHandlerInfo.Run(Object cmdTarget, Command cmd)

   at MonoDevelop.Components.Commands.CommandManager.<>c__DisplayClassb.<DispatchCommand>b__2()

   at MonoDevelop.Components.Commands.CommandManager.DispatchCommand(Object commandId, Object dataItem, Object initialTarget, CommandSource source)
Comment 4 Alan McGovern 2012-02-13 10:38:32 UTC
I fixed this with commit 01b7153ad in git master.
Comment 5 pedrohex 2012-02-13 20:13:05 UTC
Thank You.
Comment 6 pedrohex 2012-02-22 05:43:43 UTC
I've updated to 2.8.6.5 and im getting stetic version control issues. The behavior is with other files but pretty much the same.
"already under version control". 
Was this corrected in this version ?
Comment 7 Alan McGovern 2012-02-22 05:47:24 UTC
This fix has not made it to a release yet. We are currently preparing for MonoDevelop 2.8.8 and this release will contain it. Sorry for the delay in getting this released.