Bug 22552 - error on remove from Version control
Summary: error on remove from Version control
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Version Control ()
Version: 5.1
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: (C7)
Assignee: Marius Ungureanu
URL:
Depends on:
Blocks:
 
Reported: 2014-09-01 15:39 UTC by toni.wenzel
Modified: 2015-09-03 13:12 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 toni.wenzel 2014-09-01 15:39:13 UTC
I accidentally published/commited my solution to the wrong GIT Repository.
So I tried to remove my solution from version control by "Version Control – Remove".

But I only get an error:
Removing...

Version control operation failed: . Access to the path "/var/folders/dz/pk8zp1955rg7gdfwcz54h6jc0000gn/T/mdTmpDir1408031085/.git/objects/03/911e82a956d87968ceb57c16a014101f7c7eef" or "/Users/toniwenzel/Documents/TFS/SODACORE_DEV/Develop/iOS/Dishr/.git/objects/03/911e82a956d87968ceb57c16a014101f7c7eef" is denied.
Comment 1 Mohit Kheterpal 2014-10-31 07:17:17 UTC
I have checked this issue and getting same behaviour as shown in screencast : http://screencast.com/t/6tkXqtw1UZ

Error Log : https://gist.github.com/Mohit-Kheterpal/f9d591350bbe69318195
IDE log : https://gist.github.com/Mohit-Kheterpal/a2f8dcfffdcb9b75a629

Environment info :
=== Xamarin Studio ===

Version 5.5.3 (build 21)
Installation UUID: 45555ffd-f3f0-4f29-9543-e369d711ab7d
Runtime:
	Mono 3.10.0 ((detached/e204655)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 310000023

=== Xamarin.Android ===

Version: 4.18.0 (Enterprise Edition)
Android SDK: /Users/xamarin77/Desktop/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)
		3.2    (API level 13)
		4.0    (API level 14)
		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)
		4.5    (API level 21)
Java SDK: /usr
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

=== Apple Developer Tools ===

Xcode 6.1 (6602)
Build 6A1052c

=== Xamarin.iOS ===

Version: 8.4.0.15 (Enterprise Edition)
Hash: 08968c4
Branch: 
Build date: 2014-10-20 21:48:06-0400

=== Xamarin.Mac ===

Version: 1.10.0.18 (Enterprise Edition)

=== Build Information ===

Release ID: 505030021
Git revision: 3feaab0e22529ae2679723f38b935dccea233598
Build date: 2014-10-29 14:19:23-04
Xamarin addins: 42c10fb9afe9b987269241b5feac37646f14c35e

=== Operating System ===

Mac OS X 10.9.5
Darwin Xamarin77s-Mac-mini.local 13.4.0 Darwin Kernel Version 13.4.0
    Sun Aug 17 19:50:11 PDT 2014
    root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64
Comment 2 Marius Ungureanu 2014-10-31 07:52:31 UTC
This shouldn't be the way to remove a solution to VCS. I need to decide on a workflow for this, but removing everything won't help.

We need some kind of way to also delete the .git folder in this case, but what I think should be done is a different command to remove the solution from version control with a confirmation dialog.
Comment 3 Parmendra Kumar 2015-05-19 11:33:40 UTC
I have checked this issue and not getting any Error regarding this.

Hence closing this issue.

If you getting same issue please reopen this issue.

Environment info:

Xamarin Studio  6.0 (build 651)
Xcode 6.2 (6776)
Xamarin.iOS : 8.10.1.58 (Enterprise Edition)
Xamarin.Android : 5.1.2.0 (Enterprise Edition)