Bug 2193 - Version Control fails on linked files
Summary: Version Control fails on linked files
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Version Control ()
Version: unspecified
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Marius Ungureanu
: 2054 ()
Depends on:
Reported: 2011-11-24 12:33 UTC by gtissington
Modified: 2016-01-08 09:35 UTC (History)
6 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 for Bug 2193 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description gtissington 2011-11-24 12:33:08 UTC
I'm trying to use monodevelop to push files to git.

I start bu using (Project Right click)/Version Control/Publish

Mon develop reports

Version control operation failed: Entry not found by path: ../../Card/Source/Card.cs. Entry not found by path: ../../Card/Source/Card.cs

This is a linked file from another source tree it does not exist under my project source tree.

The relative path is valid but in fact I don't really want this pushed to GIT as it is alread under version control in another repository.

Either way, the error aborts the "Publish" process.  And I cannot manage this project with VCS.

How can I fix this problem?
Comment 1 Alan McGovern 2011-12-01 05:58:54 UTC
This particular bug is now fixed in git. It's a bit late for 2.8.3/2.8.4 though so it should be available in the next release following 2.8.4.
Comment 2 Alan McGovern 2011-12-01 06:04:29 UTC
Also a workaround for this issue would be to do the initial import with the commandline SVN client. Once that's done MonoDevelop should be able to manage the project properly.
Comment 3 Alan McGovern 2011-12-01 06:40:34 UTC
*** Bug 2054 has been marked as a duplicate of this bug. ***
Comment 4 Justin 2012-05-02 13:41:00 UTC
I am writing some code that is going to be shared in Android and iOS projects... So I am keeping the shared files in a separate location from my projects.

I created an Android Library Project and tried "Add Existing Folder."  When I tell MD to add the files as links, I get the following error:

System.InvalidOperationException: File outside the repository directory at MonoDevelop.VersionControl.Subversion.SubversionRepository.Add

In my particular case, I have the following directory structures:

My project is in a path like "/a/b/c"

My shared code is in a path like "/a/d/e" where "b" and "d" are in the "a" directory...

If I try to add the files again I get a message telling me that the links already exist, but they don't show up in the project until I close and reopen the solution.