Re: Version of a File
Milos Kleint <[email protected]> Fri, 12 Jul 2002 08:57:03 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.javacvs.devel |
|---|---|
| Message-ID | <[email protected]> |
saad tawwab wrote: > Hi!! > > Is there any command in CVS that lets u know the version of a file. Can > we use any of the classes from CVSLib to find out the version of a file. > I need the current version of a file in order to implement the Rollback > command. > > > Regards, > Saad Tawwab > try loading the CVS/Entries file, with the StandardAdminHandler.getEntry method.. that will get the local current version, which doesn't have to match the real current version.. you could loose other people's changes in such case. or do cvs status and get the repository version from the StatusInformation. Milos