[ On Thursday, June 15, 2000 at 18:26:00 (+0100), Tony Hoyle wrote: ]
> Subject: Re: Format of RCS file -- On windows should newline be \n or \r\n
>
> "Tolkin, Steve" wrote:
> > 
> > I also think that the RCS file should always follow the Unix
> > convention for a newline, i.e. use the single character \n, even
> > on DOS and Windows systems.
> 
> I don't think it's documented anywhere.  cvsnt has patches which make this
> true.  'raw' cvs has slight incompatibilities, so you can't share repositories
> between NT and Unix with it.

On the contrary the format of an RCS file is very well defined in the
manual page rcsfile(5) that's shipped with RCS.  This segment should
answer your debate:

DESCRIPTION
       An RCS file's contents are described by the grammar below.

       The text is free format: space, backspace,  tab,  newline,
       vertical  tab,  form  feed,  and  carriage return (collec-
       tively,  white  space)  have  no  significance  except  in
       strings.  However, white space cannot appear within an id,
       num, or sym, and an RCS file must end with a newline.


However I'd say that anyone sharing repositories amongst machines, be
they homogenous or not, is: a) violating the intent of CVS design; and
b) out of their minds!  Use client-server access!!!!!!

If you really need to replicate a CVS repository then use some kind of
file transfer protocol, such as rsync, or use CVSup, but always do it
only in one direction.

-- 
                                                        Greg A. Woods

+1 416 218-0098      VE3TCP      <[EMAIL PROTECTED]>      <robohack!woods>
Planix, Inc. <[EMAIL PROTECTED]>; Secrets of the Weird <[EMAIL PROTECTED]>

Reply via email to