Bug 1015 - Strange error reverting git changes within MD
Summary: Strange error reverting git changes within MD
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Version Control ()
Version: Trunk
Hardware: PC Mac OS
: High major
Target Milestone: ---
Assignee: Alan McGovern
Depends on:
Reported: 2011-09-23 09:07 UTC by Alan McGovern
Modified: 2012-02-21 09:34 UTC (History)
4 users (show)

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

screenshot (355.72 KB, image/png)
2011-09-23 09:07 UTC, Alan McGovern

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 Alan McGovern 2011-09-23 09:07:43 UTC
Created attachment 479 [details]

1) Make a change to MonoDevelops solution file
2) Hit save
3) A couple of dozen csprojs will have changes
4) View the changes in the integrated viewer
5) Select a couple of csproj files and click on 'Revert'
6) Error appears as in screenshot
Comment 1 Mikayla Hutchinson [MSFT] 2011-09-23 09:59:32 UTC
I don't think MD should be staging files at all, since it doesn't actually use the git index. See bug 372.
Comment 2 Alan McGovern 2012-02-16 09:40:41 UTC
This bug has been fixed as part of the recent ngit upgrade. However MonoDevelop cannot cope properly with multiple csproj files being reverted at the same time by a git/svn revert. It appears to be reloading the entire workspace and re-initialising version control for every csproj which makes it unusable until you kill it and restart it. Working on this now.
Comment 3 Alan McGovern 2012-02-21 09:34:50 UTC
Actually i'll file a new bug for that issue and close this one.