Bug 2627 - version control commit cannot handled renamed PNG file (MD 2.8.5)
Summary: version control commit cannot handled renamed PNG file (MD 2.8.5)
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Version Control ()
Version: unspecified
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Alan McGovern
Depends on:
Reported: 2011-12-23 16:15 UTC by Vivek
Modified: 2012-02-14 06:42 UTC (History)
2 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 Vivek 2011-12-23 16:15:21 UTC
I had added a file to the solution "brilliantly" named icon.png. (I then added it to info.plist and successfully deployed to my iPhone; in short there was nothing wrong.)  Given the need for icons of different sizes, I renamed it to "icon-57x57.png".  (Again updated info.plist and successfully deployed the app.)  When I tried to check in, i.e., Commit, the solution, MD will not let me.  Instead I get a message that says "'.../icon.png' is scheduled for addition, but is missing. Commit failed ..."

The stack trace points to .../SvnCient.cs:968.  But the problem must be wherever the file name is stored!

Unsatisfactory WORKAROUND:
* Add a dummy file called icon.png to the appropriate folder in the solution, even if it is not explicitly referenced anywhere in the solution.
Comment 1 mattpepin 2012-01-17 10:51:24 UTC
This applies for any file actually. I run into this problem very frequently and it's very annoying. Steps to reproduce:

1 - Add a new file to the project (but don't commit)
2 - Rename the file newly added file
3 - Try to commit
Comment 2 Alan McGovern 2012-02-14 06:42:27 UTC
I just checked this behaviour with both Git and Svn and this sequence works fine now. If it is not fixed with the latest release of MonoDevelop it should be fixed in the next one.