Hy,
I'm trying to create a eclipse plugin that needs to see if version control is used and the 开发者_Python百科version of a file.
I have noticed the .svn folders when svn is used, with informations about the files, but I think there has to be a better way then trying to read them manually.
Any ideas ?
There is already a Subversion plugin for Eclipse that can give you this information. (Actually there are two, Subclipse and Subversive.) You could install those and retrieve the information from the plugin or just use the JavaHL library (The Java bindings for Subversion.) to retrieve the information programmatically.
精彩评论