LVCS Question

This may be a stupid question but I'm new to the OpenAPI and can't find any info on how to do it.

How can I get a list of all the files in LVCS for a given project? Also, if I delete a java file from my filesystem (and SVN) is it removed from LVCS as well?

0

Hello Marc,

MS> This may be a stupid question but I'm new to the OpenAPI and can't
MS> find any info on how to do it.
MS>
MS> How can I get a list of all the files in LVCS for a given project?

Try LocalVcs.getInstance(project).getRootPaths(), then findDirectory() and
LvcsDirectory.getChildren().

MS> Also, if I delete a java file from my filesystem (and SVN) is it
MS> removed from LVCS as well?

Of course not. LVCS keeps a copy in order to allow you to undo the deletion.

--
Dmitry Jemerov
Software Developer
http://www.jetbrains.com/
"Develop with Pleasure!"


0

If I have a LvcsFile and I want to find all the labels and revisions associated with it, how do I do that? I tried calling lvcsFile.getLocalVcs() and getting the labels off that but it just returns all the labels regardless of file.

0

请先登录再写评论。