[Logo] JCVSForum - Community Support For JCVS Users and Developers
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
feedback : find (maybe) a bug ...  XML
Forum Index » JCVS Developers
Author Message

Joined: 08/09/2004 04:30:30
Messages: 13

Hi Tim,

I found what I suppose is a bug. I coded the rtag command yesterday and, for this command, using your function :

it seems that the CVSEntry child object have as property 'localDirectory' something like : ./directory1/directory2/ instead of directory1/directory2/

In my code, I do this

Maybe I do something wrong before but I don't think so... I call this function with :

where path is directory1/directory2/

Note that I have to use a relative path with getDirEntryForLocalDir where "./" is my local root directory and "path" the path to my selected directory in my local repository.

What is your opinion ?



This message was edited 1 time. Last update was at 02/03/2005 10:22:42



Joined: 05/06/2004 18:09:23
Messages: 367
Location: Bangkok

The "./"-prefixed path is a "normalized" path used by jCVS. The "./" represents the imaginary "root" CVSEntry in the CVSProject. If it is a problem for your code, you can check for it and remove it.
[Email] [WWW]
Forum Index » JCVS Developers
Go to:   
Powered by JForum 2.1.9 © JForum Team