[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CVS Update Behaviour
From: |
Greg A. Woods |
Subject: |
Re: CVS Update Behaviour |
Date: |
Mon, 25 Feb 2002 17:05:01 -0500 (EST) |
[ On Sunday, February 24, 2002 at 22:09:31 (-0800), Paul Sander wrote: ]
> Subject: Re: CVS Update Behaviour
>
> Hmmm... Let's recap:
>
> >> cp $1 $2
> >> cvs rm -f $1
> >> cvs add $2
> >> cvs commit -m "moved $1 to $2" $1 $2
>
> Where is the *location of the RCS file* recorded in the comment?
You don't need to know the location of the RCS files -- that's internal
to CVS and not for human consumption. It's of no use in a client-server
invocation in any case.
You don't need to know it because of course the pathnames given in the
parameters $1 and $2 will always have a fixed relationship to each other
and that relationship is sufficient to transform either into the
pathname necessary for use with 'cvs log' or 'cvs update -p', etc. no
matter where the reader starts from (so long as they are within a
working directory for the same module and so long as they know where
they are with relation to the log they're currently reading). This is
really very trivial pathname stuff -- I don't understand why you even
think it's an issue.
Obviously there's a bit more of a trick necessary than my example
alludes to since 'cvs add' doesn't yet work for relative pathnames! ;-)
--
Greg A. Woods
+1 416 218-0098; <address@hidden>; <address@hidden>; <address@hidden>
Planix, Inc. <address@hidden>; VE3TCP; Secrets of the Weird <address@hidden>
- Re: renames under CVS, (continued)
- Re: CVS Update Behaviour, Steve Greenland, 2002/02/22
- Re: CVS Update Behaviour, Greg A. Woods, 2002/02/22
- Re: CVS Update Behaviour, Paul Sander, 2002/02/22
- Re: CVS Update Behaviour, Larry Jones, 2002/02/23
- Re: CVS Update Behaviour, Paul Sander, 2002/02/23
- Re: CVS Update Behaviour, Greg A. Woods, 2002/02/24
- Re: CVS Update Behaviour, Paul Sander, 2002/02/25
- Re: renames under CVS, Noel Yap, 2002/02/25
- Re: CVS Update Behaviour,
Greg A. Woods <=
- Re: CVS Update Behaviour, Noel Yap, 2002/02/26
- Re: CVS Update Behaviour, Paul Sander, 2002/02/26
- Re: CVS Update Behaviour, Greg A. Woods, 2002/02/26
- Re: CVS Update Behaviour, Paul Sander, 2002/02/26
- Re: CVS Update Behaviour, Greg A. Woods, 2002/02/26
- Re: CVS Update Behaviour, Paul Sander, 2002/02/27
- Re: CVS Update Behaviour, Greg A. Woods, 2002/02/27
- Re: CVS Update Behaviour, Noel Yap, 2002/02/23
- Re: CVS Update Behaviour, Greg A. Woods, 2002/02/24
- Re: renaming under CVS, Noel Yap, 2002/02/24