Bug 26647 - Removing project from Git source control fails
Summary: Removing project from Git source control fails
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Version Control ()
Version: unspecified
Hardware: PC Mac OS
: Normal normal
Target Milestone: (C7)
Assignee: Marius Ungureanu
URL:
Depends on:
Blocks:
 
Reported: 2015-02-02 13:12 UTC by Cody Beyer (MSFT)
Modified: 2016-05-19 18:06 UTC (History)
5 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:
VERIFIED FIXED

Description Cody Beyer (MSFT) 2015-02-02 13:12:14 UTC
### Description 

When attempting to remove project from source control, Xamarin Studio will fail to remove with no error provided

### Steps to Reproduce

1. Create project
2. Add source control bindings
3. Attempt to remove from source control

### Expected Results

Project is successfully removed from source control 

### Actual Results

XS reports "removing..." but never actually completes removal 

### Version

=== Xamarin Studio ===

Version 5.7 (build 661)
Installation UUID: 05ebd865-76e1-4bc2-84a5-7bba54e97af1
Runtime:
	Mono 3.12.0 ((detached/a813491)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 312000068

=== Apple Developer Tools ===

Xcode 6.1.1 (6611)
Build 6A2008a

=== Xamarin.iOS ===

Version: 8.6.0.51 (Business Edition)
Hash: dfb682f
Branch: 
Build date: 2015-01-08 13:39:32-0500

=== Xamarin.Android ===

Version: 4.20.0.28 (Business Edition)
Android SDK: /Users/codybeyer/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.1   (API level 12)
		4.0.3 (API level 15)
		4.4   (API level 19)
Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

=== Xamarin.Mac ===

Not Installed

=== Build Information ===

Release ID: 507000661
Git revision: b70bab61da996da29045ea8ee8aed1a6faedbe78
Build date: 2015-01-05 16:31:31-05
Xamarin addins: 82f6c71490562d6cd125a09287f441902fdac3d7

=== Operating System ===

Mac OS X 10.10.2
Darwin Codys-MBP.router 14.1.0 Darwin Kernel Version 14.1.0
    Mon Dec 22 23:10:38 PST 2014
    root:xnu-2782.10.72~2/RELEASE_X86_64 x86_64
Comment 1 Mohit Kheterpal 2015-02-03 09:23:37 UTC
I have tried to reproduce this issue by following steps mention in bug description but I am not able to reproduce this issue i.e. I am successfully able to remove project as shown in screencast : http://www.screencast.com/t/xQoJiMA6

Please let me know if I have missed some steps to reproduce this issue ?

It would be helpful if you provide IDE logs when you face this issue.

Thanks
Comment 2 Marius Ungureanu 2015-04-27 09:56:49 UTC
Should be fixed with libgit2 implementation.
Comment 3 Abhishek 2015-04-30 10:39:22 UTC
Steps To Reproduce:
1. Create an android project.
2. Publish the project.
3. Right click on solution.Go to Version control->Remove.
4. Pop will be appear showing message "Are you sure you want to remove the selected items from the version control system?".
5. Click on Ok button.
6. Go to view->Pad->Version control.
7. It will show the message Removing...

Screencast:http://www.screencast.com/t/6H6EziXZD
IDE Log: https://gist.github.com/Abhishekk360/2912dce3c550fae022d9 

I am still getting the same behavior while following above step. Hence I am Reopening this issue for now. Please let me know if I miss any steps.

Environment Info:

=== Xamarin Studio ===

Version 6.0 (build 514)
Installation UUID: 93e693b0-b53d-40f4-b29c-b61ff5cbe892
Runtime:
	Mono 4.0.1 ((detached/735f5b3)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 400000008

=== Apple Developer Tools ===

Xcode 6.3 (7569)
Build 6D570

=== Xamarin.iOS ===

Version: 8.10.0.269 (Enterprise Edition)
Hash: 62f9f08
Branch: master
Build date: 2015-04-27 22:39:33-0400

=== Xamarin.Android ===

Version: 5.1.0.115 (Enterprise Edition)
Android SDK: /Users/xamarin23/Desktop/android-sdk-macosx
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

=== Xamarin Android Player ===

Version: Unknown version
Location: /Applications/Xamarin Android Player.app

=== Xamarin.Mac ===

Version: 2.0.0.269 (Enterprise Edition)

=== Build Information ===

Release ID: 600000514
Git revision: 9d36fa25019298718932f5ad922a502bba169ebe
Build date: 2015-04-29 14:37:19-04
Xamarin addins: 3a88b6aa512d354f39044e183b0ac95c6ea16ead
Build lane: monodevelop-lion-xs6-libgit2

=== Operating System ===

Mac OS X 10.10.0
Darwin 800BC.local 14.0.0 Darwin Kernel Version 14.0.0
    Fri Sep 19 00:26:44 PDT 2014
    root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64
Comment 4 Marius Ungureanu 2015-05-26 01:50:58 UTC
The status isn't updated. The 'Removing...' message just isn't being cleared. I'll take a look at it.
Comment 5 xamarin-release-manager 2015-09-10 08:58:08 UTC
Fixed in version 5.11.0.64 (master)

Author: Marius Ungureanu
Commit: bd9f32aa16b0698daedfb3af6c6022f3de91caa0 (mono/monodevelop)
Comment 6 Parmendra Kumar 2016-05-19 18:06:06 UTC
I have checked this issue with latest C7 build and its working fine.

Screencast: http://www.screencast.com/t/uamO8m8nC

Hence closing this issue.

EnvironmentInfo:
Xamarin Studio 6.0 (build 5164)
Mono 4.4.0 (mono-4.4.0-branch/f3253a0) (64-bit)
Xcode 7.2 (9548)
Xamarin.iOS : 9.8.0.318 (Xamarin Enterprise)
Xamarin.Android: 6.1.0.56 (Xamarin Enterprise)
Mac OS X 10.10.5