Perhaps "bug" was too strong a term. My point is that the longstanding behavior of CVS (several years and at least until 1.11.4) has been to accept such legal variants of relative paths. I am not sure why this has changed and whether the change is intentional or a side-effect of some other mod to CVS.
I have modified our scripts to work around this more restrictive behavior. However I did want to highlight this issue for the benefit of others who are more knowlegeable about the CVS internals. Abhi > It looks to me like your script is broken. The /./ in the middle of the > path although legal does nothing. Why not fix the script? > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Abhinandan Jain > Sent: Thursday, June 10, 2004 7:26 PM > To: [EMAIL PROTECTED] > Subject: Bug with paths containing '/./' in file paths? > > > With versions of CVS later than 1.11.14, when I run commands such as > > cvs rlog -N Modules/SiteDefs/./mkHome/auto/Drun > > I get error messages like > > Assertion failed: strstr (repository, "/./") == NULL, file recurse.c, > line 642 > Error: cvs [rlog aborted]: received abort signal > > However changing the path to remove the './' in the file path, eg. > > cvs rlog -N Modules/SiteDefs/mkHome/auto/Drun > > works fine. > > I would expect CVS to not choke on the file path with the './' in it because > it is a legal path. Unfortunately, these CVS commands are generated by > higher level scripts and I do not have direct control over the path syntax, > and so it would be nice to fix this behavior. > > I do not see this problem with CVS 1.11.4. I checked out 1.11.17 and the > problem remains. > > Thanks. > > Abhi > > > > _______________________________________________ > Info-cvs mailing list > [EMAIL PROTECTED] > http://lists.gnu.org/mailman/listinfo/info-cvs > > > _______________________________________________ > Info-cvs mailing list > [EMAIL PROTECTED] > http://lists.gnu.org/mailman/listinfo/info-cvs -- Abhinandan Jain, Ph.D. Jet Propulsion Laboratory (818)-354-3412 4800 Oak Grove Drive, Pasadena, CA 91109 (818)-393-5007 (fax) _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs
