Bug 13804 - SVN Exception - SubversionException: Working copy <file name> is too old
Summary: SVN Exception - SubversionException: Working copy <file name> is too old
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Version Control ()
Version: 4.0.10
Hardware: PC Mac OS
: Low enhancement
Target Milestone: master
Assignee: Marius Ungureanu
Depends on:
Reported: 2013-08-07 05:35 UTC by Prashant Cholachagudda
Modified: 2014-03-13 11:37 UTC (History)
3 users (show)

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:

Description Prashant Cholachagudda 2013-08-07 05:35:28 UTC
SVN exception on adding new file to the project on XX 4.0.11

Stack trace:

System.Reflection.TargetInvocationException: Eccezione generata dalla destinazione di una chiamata. ---> SharpSvn.SvnException: Working copy 'F:\Sviluppo_Android\XPad\X-PAD\LSECore\Resources\layout' is too old (format 10, created by Subversion 1.6)
in SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, SvnException error, Object targets)
in SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, svn_error_t* error, Object targets)
in SharpSvn.SvnClient.Status(String path, SvnStatusArgs args, EventHandler`1 statusHandler)
in SubversionAddinWindows.SvnSharpBackend.Status(Repository repo, FilePath path, SvnRevision revision, Boolean descendDirs, Boolean changedItemsOnly, Boolean remoteStatus)
in MonoDevelop.VersionControl.Subversion.SubversionBackend.GetFileStatus(Repository repo, FilePath sourcefile, Boolean getRemoteStatus)
in MonoDevelop.VersionControl.Subversion.SubversionBackend.GetVersionInfo(Repository repo, FilePath localPath, Boolean getRemoteStatus)
in MonoDevelop.VersionControl.Subversion.SubversionRepository.<OnGetVersionInfo>d__0.MoveNext()
in System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
in System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
in MonoDevelop.VersionControl.Repository.GetVersionInfo(IEnumerable`1 paths, VersionInfoQueryFlags queryFlags)
in MonoDevelop.VersionControl.VersionControlService.OnFileAdded(Object s, ProjectFileEventArgs e)
in MonoDevelop.Projects.ProjectFileEventHandler.Invoke(Object sender, ProjectFileEventArgs e)
in MonoDevelop.Ide.RootWorkspace.NotifyFileAddedToProject(Object sender, ProjectFileEventArgs e)
in __ProjectFileEventHandler_DelegateFactory_3.Dispatch(Object )
in MonoDevelop.Ide.Gui.GuiSyncContext.AsyncDispatch(StatefulMessageHandler cb, Object ob)
in __ProjectFileEventHandler_DelegateFactory_3.ProxyCall(Object , ProjectFileEventArgs )
in MonoDevelop.Projects.Solution.OnFileAddedToProject(ProjectFileEventArgs args)
in MonoDevelop.Projects.SolutionFolder.OnFileAddedToProject(ProjectFileEventArgs e)
in MonoDevelop.Projects.SolutionFolder.NotifyFileAddedToProject(Object sender, ProjectFileEventArgs e)
in MonoDevelop.Projects.ProjectFileEventHandler.Invoke(Object sender, ProjectFileEventArgs e)
in MonoDevelop.Projects.Project.OnFileAddedToProject(ProjectFileEventArgs e)
in MonoDevelop.MonoDroid.MonoDroidProject.OnFileAddedToProject(ProjectFileEventArgs args)
in MonoDevelop.Projects.Project.NotifyFileAddedToProject(IEnumerable`1 objs)
in MonoDevelop.Projects.Project.OnItemsAdded(IEnumerable`1 objs)
in MonoDevelop.Projects.DotNetProject.OnItemsAdded(IEnumerable`1 objs)
in MonoDevelop.Projects.ProjectItemCollection`1.NotifyAdded(IEnumerable`1 items, Boolean comesFromParent)
in MonoDevelop.Projects.ProjectItemCollection`1.MonoDevelop.Projects.IItemListHandler.InternalAdd(IEnumerable`1 items, Boolean comesFromParent)
in MonoDevelop.Projects.ProjectItemCollection`1.NotifyAdded(IEnumerable`1 items, Boolean comesFromParent)
in MonoDevelop.Projects.ProjectItemCollection`1.AddRange(IEnumerable`1 items)
in MonoDevelop.Ide.ProjectOperations.AddFilesToProject(Project project, FilePath[] files, FilePath[] targetPaths, String buildAction)
in MonoDevelop.Ide.ProjectOperations.AddFilesToProject(Project project, FilePath[] files, FilePath targetDirectory, String buildAction)
in MonoDevelop.Ide.Gui.Pads.ProjectPad.FolderCommandHandler.AddFilesToProject()
--- Fine della traccia dello stack dell'eccezione interna ---
in System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
in System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
in System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
in System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
in MonoDevelop.Components.Commands.DefaultCommandHandler.Run(Object target, Command cmd)
in MonoDevelop.Components.Commands.CustomCommandTargetAttribute.Run(Object target, Command cmd)
in MonoDevelop.Ide.Gui.Components.NodeCommandHandler.TransactedNodeHandlerAttribute.Run(Object target, Command cmd)
in MonoDevelop.Components.Commands.CustomCommandTargetAttribute.MonoDevelop.Components.Commands.ICommandTargetHandler.Run(Object target, Command cmd)
in MonoDevelop.Components.Commands.CommandHandlerInfo.Run(Object cmdTarget, Command cmd)
in MonoDevelop.Components.Commands.CommandManager.<>c__DisplayClassb.<DispatchCommand>b__2()
in MonoDevelop.Components.Commands.CommandManager.DispatchCommand(Object commandId, Object dataItem, Object initialTarget, CommandSource source)
Comment 1 Marius Ungureanu 2013-08-07 06:34:13 UTC
It seems that you have Subversion 1.7 installed and the working copy is 1.6. Or Subversion 1.8 and a 1.7 working copy.
Comment 2 Marius Ungureanu 2013-08-07 06:35:15 UTC
Ah, you're using SharpSvn. If you want to work on a 1.6 subversion repository, please use the 1.6 subversion addin. Else, upgrade the repository to 1.7 format from the command-line.
Comment 3 Mikayla Hutchinson [MSFT] 2013-08-07 14:24:57 UTC
Could we handle this better than an unhandled exception dialog?


The subversion working copy format is too old. Would you like to upgrade the working copy or Disable subversion integration for this solution?
[Upgrade working copy] [Disable subversion integration]


The subversion working copy format is too new. Subversion integration will be disabled for this solution.
Comment 4 Marius Ungureanu 2013-08-08 14:21:50 UTC
This should be done from commandline or you should use legacy 1.6 svn addin.
Comment 5 Marius Ungureanu 2013-08-21 13:05:12 UTC
Fixing this properly requires the addition of an option to disable version control. Will start working on this.
Comment 6 Marius Ungureanu 2014-03-13 11:37:36 UTC
This is fixed in master.