info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NFS vs pserver: update problem


From: Larry Jones
Subject: Re: NFS vs pserver: update problem
Date: Mon, 25 Jun 2001 14:44:42 -0400 (EDT)

Malcolm Fernandes writes:
> 
> A user tried to update a directory as follows (via pserver):
> 
> % cvs up  ./
> 
> and gets a message:
> ? .depend
> cvs-1.11.1p1 server: Updating ./
> cvs-1.11.1p1 server: .//Makefile is no longer in the repository
> ....
> 
> All the files are removed from that directory.

This is a bug in the client/server code: the trailing slash confuses it.
Note that it happens with any client/server method, not just pserver. 
I've checked in a fix for this particular problem, but it's a generic
problem throughout CVS that non-canonical pathnames frequently lead to
confusion.  Likewise, using a path separator other than "/" only works
right about 95% of the time.  Until someone gets around to devising a
comprehensive strategy for dealing with this and implements it
consistently throughout CVS, you are well advised to avoid trailing
slashes, directory separators other than slash, and . and .. in paths
you give to CVS.

-Larry Jones

Oh yeah?  You just wait! -- Calvin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]