[Top][All Lists]

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

Re: need help understanding underlying file format for cvs

From: Ronald Petty
Subject: Re: need help understanding underlying file format for cvs
Date: 09 Mar 2003 17:46:15 -0600

Thank you for the input.  So basically if implement a parser of the
grammer that is in "man rcsfile" I should be ok to make a cvs repository

If that is the case (sorry this is all new to me, well making a cvs
viewer/parser) could someone point me to where the file diff/patch is
described.  I manually added and changed things and committed them, then
by hand reconstructed the file following a3 2, d1 etc etc... I think I
have it figured out but I would feel alot better if I read something

I have another question about browsing over pserver.  I have seen hacks
for it and whatnot, but what is the plan (if any) to make cvs have some
protocol to do remote browsing.  And local browsing.  I know you can add
modules and do cvs co -c but if you want to see the rest you have to
know the actual file.  Maybe when you do cvs import it can add a module
entry for you?  But that still doesn't help with local/remote file
browsing.  I am doing it all in php and would hope one day I could do
cvs ls or something.

Thanks again everyone.

On Sun, 2003-03-09 at 12:18, Larry Jones wrote:
> Mark D. Baushke writes:
> > 
> > cvs should be upward compatible with RCS format. The only thing that is
> > an extension is the use of a 'magic branch number' which uses a '.0.' as
> > the second rightmost position in a version number (ie, is a
> > 'magic branch number'). See the cvs documentation at
> > 
> >     http://www.cvshome.org/docs/manual/cvs_5.html#SEC59
> > 
> > for more details.
> That doesn't really affect the format, just how it's interpreted.
> > I believe that there must be one or more occurances of a {delta} element
> > in a cvs repository's representation of a ,v file. Likewise for the
> > deltatext being one or more occurances.
> While CVS will not normally create a file with no deltas or deltatexts
> (unless something goes seriously wrong), I don't think it has any
> problem reading them.
> > cvs does not use newphrase at the present time, but I think it may properly
> > ignore it...
> I think the notoriously buggy PreservePermissions code uses newphrase's
> to store the permission and type information.
> -Larry Jones
> The authorities are trying to silence any view contrary to their own!
> -- Calvin

reply via email to

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