Bug 13814 - can not create folder / file (svn operation already in progress)
Summary: can not create folder / file (svn operation already in progress)
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Version Control ()
Version: 4.0.12
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: master
Assignee: Marius Ungureanu
URL:
Depends on:
Blocks:
 
Reported: 2013-08-07 09:39 UTC by Jens
Modified: 2013-10-12 07:40 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 Jens 2013-08-07 09:39:13 UTC
when I want to create a folder, a file, add a file / folder or whatever, I always get an error "svn operation already in progress"
this is despite I am not using SVN at all, as I am using git now!!

I am on the stable tree and got upgraded to 4.0.11 this morning. This bug is NOT in the 4.0.10 version, so this is a regression!

Here I encounter the bug whenever I want to add/create/link a file/folder, so I guess you do not need my project to reproduce it

Please put this bug on high priority, as one can hardly do anything with this bug present! Thanks!
Comment 1 Marius Ungureanu 2013-08-08 05:54:19 UTC
Does this still occur in 4.0.12?
Comment 2 Jens 2013-08-08 10:26:27 UTC
yes, bug is still there, but the error message is different then the old one.

here is what happens, when I tried to create "deleteMe.cs". The file is created, but does NOT appear in the project. In the popup window the following error appears:


MonoDevelop.VersionControl.Subversion.SubversionException: '/Users/jens-uwe/Projects/SportWetten/Core.Android/Sources/Android/Utils/deleteMe.cs' is not a working copy
  at MonoDevelop.VersionControl.Subversion.Unix.SvnClient.CheckError (IntPtr error, Nullable`1 allowedError) [0x000aa] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl.Subversion.Unix/MonoDevelop.VersionControl.Subversion.Unix/SvnClient.cs:50 
  at MonoDevelop.VersionControl.Subversion.Unix.SvnClient.CheckError (IntPtr error) [0x0000b] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl.Subversion.Unix/MonoDevelop.VersionControl.Subversion.Unix/SvnClient.cs:26 
  at MonoDevelop.VersionControl.Subversion.Unix.UnixSvnBackend.CheckError (IntPtr error) [0x00001] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl.Subversion.Unix/MonoDevelop.VersionControl.Subversion.Unix/SvnClient.cs:173 
  at MonoDevelop.VersionControl.Subversion.Unix.UnixSvnBackend.Status (MonoDevelop.VersionControl.Repository repo, FilePath path, MonoDevelop.VersionControl.Subversion.SvnRevision rev, Boolean descendDirs, Boolean changedItemsOnly, Boolean remoteStatus) [0x00077] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl.Subversion.Unix/MonoDevelop.VersionControl.Subversion.Unix/SvnClient.cs:511 
  at MonoDevelop.VersionControl.Subversion.SubversionBackend.GetFileStatus (MonoDevelop.VersionControl.Repository repo, FilePath sourcefile, Boolean getRemoteStatus) [0x0005d] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl.Subversion/MonoDevelop.VersionControl.Subversion/SubversionVersionControl.cs:126 
  at MonoDevelop.VersionControl.Subversion.SubversionBackend.GetVersionInfo (MonoDevelop.VersionControl.Repository repo, FilePath localPath, Boolean getRemoteStatus) [0x00034] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl.Subversion/MonoDevelop.VersionControl.Subversion/SubversionVersionControl.cs:111 
  at MonoDevelop.VersionControl.Subversion.SubversionRepository+<OnGetVersionInfo>c__Iterator0.MoveNext () [0x00079] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl.Subversion/MonoDevelop.VersionControl.Subversion/SubversionRepository.cs:96 
  at System.Collections.Generic.List`1[MonoDevelop.VersionControl.VersionInfo].AddEnumerable (IEnumerable`1 enumerable) [0x00013] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin-no-pcl/build-root/mono-3.2.1/mcs/class/corlib/System.Collections.Generic/List.cs:134 
  at System.Collections.Generic.List`1[MonoDevelop.VersionControl.VersionInfo]..ctor (IEnumerable`1 collection) [0x0002f] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin-no-pcl/build-root/mono-3.2.1/mcs/class/corlib/System.Collections.Generic/List.cs:69 
  at System.Linq.Enumerable.ToList[VersionInfo] (IEnumerable`1 source) [0x00006] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin-no-pcl/build-root/mono-3.2.1/mcs/class/System.Core/System.Linq/Enumerable.cs:2951 
  at MonoDevelop.VersionControl.Repository.GetVersionInfo (IEnumerable`1 paths, VersionInfoQueryFlags queryFlags) [0x00015] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/Repository.cs:177 
  at MonoDevelop.VersionControl.VersionControlService.OnFileAdded (System.Object s, MonoDevelop.Projects.ProjectFileEventArgs e) [0x00096] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/VersionControlService.cs:426 
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_ProjectFileEventArgs (object,MonoDevelop.Projects.ProjectFileEventArgs)
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_ProjectFileEventArgs (object,MonoDevelop.Projects.ProjectFileEventArgs)
  at MonoDevelop.Ide.RootWorkspace.NotifyFileAddedToProject (System.Object sender, MonoDevelop.Projects.ProjectFileEventArgs e) [0x00015] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/RootWorkspace.cs:1179 
  at __ProjectFileEventHandler_DelegateFactory_3.Dispatch (System.Object ) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Ide.Gui.GuiSyncContext.AsyncDispatch (MonoDevelop.Ide.StatefulMessageHandler cb, System.Object ob) [0x0000d] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/GuiSyncContext.cs:47 
  at __ProjectFileEventHandler_DelegateFactory_3.ProxyCall (System.Object , MonoDevelop.Projects.ProjectFileEventArgs ) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.Solution.OnFileAddedToProject (MonoDevelop.Projects.ProjectFileEventArgs args) [0x00014] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/Solution.cs:721 
  at MonoDevelop.Projects.SolutionFolder.OnFileAddedToProject (MonoDevelop.Projects.ProjectFileEventArgs e) [0x0001e] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/SolutionFolder.cs:873 
  at MonoDevelop.Projects.SolutionFolder.NotifyFileAddedToProject (System.Object sender, MonoDevelop.Projects.ProjectFileEventArgs e) [0x00003] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/SolutionFolder.cs:740 
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_ProjectFileEventArgs (object,MonoDevelop.Projects.ProjectFileEventArgs)
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_ProjectFileEventArgs (object,MonoDevelop.Projects.ProjectFileEventArgs)
  at MonoDevelop.Projects.Project.OnFileAddedToProject (MonoDevelop.Projects.ProjectFileEventArgs e) [0x0001c] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/Project.cs:948 
  at MonoDevelop.MonoDroid.MonoDroidProject.OnFileAddedToProject (MonoDevelop.Projects.ProjectFileEventArgs args) [0x00010] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/md-addins/MonoDevelop.MonoDroid/MonoDevelop.MonoDroid/MonoDroidProject.cs:704 
  at MonoDevelop.Projects.Project.NotifyFileAddedToProject (IEnumerable`1 objs) [0x00088] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/Project.cs:873 
  at MonoDevelop.Projects.Project.OnItemsAdded (IEnumerable`1 objs) [0x0000f] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/Project.cs:809 
  at MonoDevelop.Projects.DotNetProject.OnItemsAdded (IEnumerable`1 objs) [0x00003] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/DotNetProject.cs:1080 
  at MonoDevelop.Projects.ProjectItemCollection`1[MonoDevelop.Projects.ProjectItem].NotifyAdded (IEnumerable`1 items, Boolean comesFromParent) [0x000a8] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectItemCollection.cs:165 
  at MonoDevelop.Projects.ProjectItemCollection`1[MonoDevelop.Projects.ProjectItem].MonoDevelop.Projects.IItemListHandler.InternalAdd (IEnumerable`1 items, Boolean comesFromParent) [0x00041] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectItemCollection.cs:138 
  at MonoDevelop.Projects.ProjectItemCollection`1[MonoDevelop.Projects.ProjectFile].NotifyAdded (IEnumerable`1 items, Boolean comesFromParent) [0x00091] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectItemCollection.cs:163 
  at MonoDevelop.Projects.ProjectItemCollection`1[MonoDevelop.Projects.ProjectFile].OnItemAdded (MonoDevelop.Projects.ProjectFile item) [0x0001b] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectItemCollection.cs:123 
  at MonoDevelop.Projects.ProjectFileCollection.OnItemAdded (MonoDevelop.Projects.ProjectFile item) [0x0000a] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectFileCollection.cs:182 
  at MonoDevelop.Projects.ItemCollection`1[MonoDevelop.Projects.ProjectFile].InsertItem (Int32 index, MonoDevelop.Projects.ProjectFile item) [0x0000b] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ItemCollection.cs:39 
  at System.Collections.ObjectModel.Collection`1[MonoDevelop.Projects.ProjectFile].Add (MonoDevelop.Projects.ProjectFile item) [0x0000c] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin-no-pcl/build-root/mono-3.2.1/mcs/class/corlib/System.Collections.ObjectModel/Collection.cs:80 
  at MonoDevelop.Projects.Project.AddFile (System.String filename, System.String buildAction) [0x00077] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/Project.cs:342 
  at MonoDevelop.Ide.Templates.SingleFileDescriptionTemplate.AddFileToProject (MonoDevelop.Projects.SolutionItem policyParent, MonoDevelop.Projects.Project project, System.String language, System.String directory, System.String name) [0x00042] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Templates/SingleFileDescriptionTemplate.cs:116 
  at MonoDevelop.Ide.Templates.SingleFileDescriptionTemplate.AddToProject (MonoDevelop.Projects.SolutionItem policyParent, MonoDevelop.Projects.Project project, System.String language, System.String directory, System.String name) [0x00009] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Templates/SingleFileDescriptionTemplate.cs:108 
  at MonoDevelop.Ide.Templates.FileTemplate.CreateFile (MonoDevelop.Ide.Templates.FileDescriptionTemplate newfile, MonoDevelop.Projects.SolutionItem policyParent, MonoDevelop.Projects.Project project, System.String directory, System.String language, System.String name) [0x00011] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Templates/FileTemplate.cs:366 
  at MonoDevelop.Ide.Templates.FileTemplate.Create (MonoDevelop.Projects.SolutionItem policyParent, MonoDevelop.Projects.Project project, System.String directory, System.String language, System.String name) [0x0003d] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Templates/FileTemplate.cs:309 
  at MonoDevelop.Ide.Projects.NewFileDialog.OpenEvent (System.Object sender, System.EventArgs e) [0x000c2] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects/NewFileDialog.cs:481 

please note, that I do NOT even use SVN, so I do not know why it does interfere at all!
Comment 3 Marius Ungureanu 2013-08-08 11:22:17 UTC
Can you tell me if you have a .svn folder leaking in the project's parent folders?
Comment 4 Marius Ungureanu 2013-08-08 11:34:53 UTC
The problem isn't in the Status queries. The problem is that it recognizes it as a subversion repository even though it isn't. I added more solid checks to prevent this from happening. Hopefully, it's all OK now.
Comment 5 Jens 2013-08-09 07:07:24 UTC
"find . |grep -i svn" return nothing, so NO svn folder

in which version the fix is included? the 4.0.12 still shows this behaviour
Comment 6 Marius Ungureanu 2013-08-09 07:16:17 UTC
I've emailed the team to get the hotfixes in the release builds.
Comment 7 Marius Ungureanu 2013-09-09 12:50:17 UTC
The fix has been issued in the latest alpha and a stable release will occur soon.
Comment 8 Jens 2013-09-10 06:34:01 UTC
nice to hear, thanks :)
Comment 9 tcab 2013-09-16 09:53:03 UTC
I also get this problem in 4.0.12 build 3 (the latest update).
This has broken the ability to add files to my projects :-(
I too have no subversion or .svn directory usage at all. 
Hopefully you can get a fix out soon as I use the add file feature all the time and its constantly crashing on me with this error.
Comment 10 Marius Ungureanu 2013-09-16 10:38:06 UTC
As I said, it's fixed in the latest alpha.
Comment 11 Jens 2013-10-12 07:39:46 UTC
Ok, just to confirm it: 
I got the 4.0.13 in the "stable" channel and this problem seems to be fixed :)
Comment 12 Marius Ungureanu 2013-10-12 07:40:25 UTC
Yay! :D