Skip to main content



      Home
Home » Eclipse Projects » EGit / JGit » Remove version control from Eclipose RCP project(Programatically untrack / disconnect an existing project)
Remove version control from Eclipose RCP project [message #1735214] Thu, 16 June 2016 07:11 Go to next message
Eclipse UserFriend
Hi,

I have an Eclipse RCP application that uses EGit and JGit to implement the version control of projects.

In some cases, I want to make it so that a project is no longer under version control. This implies both deleting the project's .git directory on the file system, and making my application aware that the project is not under version control.

I tried looking through the JGit API for solutions to this, but could not find anything useful. Simply deleting the .git directory using a file manipulation API is not sufficient, as some files in it seem to be locked (very likely by JGit).

Thanks in advance!

Cheers,
Vlad
Re: Remove version control from Eclipose RCP project [message #1736218 is a reply to message #1735214] Mon, 27 June 2016 10:25 Go to previous message
Eclipse UserFriend
You need to first close the repository before you can delete it since it's keeping pack files open
Previous Topic:EGit API documentation (javadoc)
Next Topic:Unable to pull - Attempted to beginRule: R/, does not match outer scope rule: MultiRule
Goto Forum:
  


Current Time: Sun Nov 09 12:39:42 EST 2025

Powered by FUDForum. Page generated in 0.02969 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top