Discussion:
Question regarding the cvswarppers file
Crisp, Norman (Norman)
2011-11-10 15:01:44 UTC
Permalink
Hello all,

I understand the cvswrappers file can be used to force certain file type to be added to the repository as a binary file. We come across the odd time where people add new text files as binary files, and this does cause problems for us. Can the cvswrappers file also be used to force text files to be added as text files?

Would something like this work?
*.java -k 'k'

Thank you
Norm.
Arthur Barrett
2011-11-11 09:49:54 UTC
Permalink
Hi Norman,

What version of CVS server are you using? In particular is it 1.11,
1.12 or 2.0, 2.5, 2.8 (CVSNT)?

The cvswrappers file defines the 'default' mode for files added to the
repository, this mode can be many things including binary or non-binary.
Eg: with CVSNT it can specify unicode, ascii, binary, efficient binary,
unix-line-endings, windows-line-endings, reserved mode, unreserved
mode...
http://march-hare.com/library/cvsnt/Substitution-modes.html
and
http://march-hare.com/library/cvsnt/Wrappers.html

But under 'default' circumstances - any settings in 'cvswrappers' can be
overridden by the client. Again if using CVSNT (on
windows/linux/hpux/solaris/mac) you can set the server compatibility
options to 'ignore client side kopt' so that the cvswrappers settings
are always used.

Does that help?

Regards,


Arthur
-----Original Message-----
org] On Behalf Of Crisp, Norman (Norman)
Sent: Friday, 11 November 2011 2:02 AM
Subject: Question regarding the cvswarppers file
Hello all,
I understand the cvswrappers file can be used to force
certain file type to be added to the repository as a binary
file. We come across the odd time where people add new text
files as binary files, and this does cause problems for us.
Can the cvswrappers file also be used to force text files to
be added as text files?
Would something like this work?
*.java -k 'k'
Thank you
Norm.
Crisp, Norman (Norman)
2011-11-11 12:51:37 UTC
Permalink
Thanks for your help Arthur,

Our CVS server is using version 1.11.22 on a Solaris X86 box, using pserver to our clients. Our clients are using Windows, Solaris Sparc, Solaris x86 and Ubuntu, spread across fours sites around the world.

Thanks for the links below, I will read through and see if it helps in resolving our problem.

Norm.

-----Original Message-----
From: Arthur Barrett [mailto:***@march-hare.com]
Sent: Friday, November 11, 2011 4:50 AM
To: Crisp, Norman (Norman); info-***@nongnu.org
Subject: RE: Question regarding the cvswarppers file

Hi Norman,

What version of CVS server are you using? In particular is it 1.11,
1.12 or 2.0, 2.5, 2.8 (CVSNT)?

The cvswrappers file defines the 'default' mode for files added to the repository, this mode can be many things including binary or non-binary.
Eg: with CVSNT it can specify unicode, ascii, binary, efficient binary, unix-line-endings, windows-line-endings, reserved mode, unreserved mode...
http://march-hare.com/library/cvsnt/Substitution-modes.html
and
http://march-hare.com/library/cvsnt/Wrappers.html

But under 'default' circumstances - any settings in 'cvswrappers' can be overridden by the client. Again if using CVSNT (on
windows/linux/hpux/solaris/mac) you can set the server compatibility options to 'ignore client side kopt' so that the cvswrappers settings are always used.

Does that help?

Regards,


Arthur
-----Original Message-----
org] On Behalf Of Crisp, Norman (Norman)
Sent: Friday, 11 November 2011 2:02 AM
Subject: Question regarding the cvswarppers file
Hello all,
I understand the cvswrappers file can be used to force certain file
type to be added to the repository as a binary file. We come across
the odd time where people add new text files as binary files, and this
does cause problems for us.
Can the cvswrappers file also be used to force text files to be added
as text files?
Would something like this work?
*.java -k 'k'
Thank you
Norm.
Loading...