Re: Ignoring whitespace and CR/LF when checking into repository
What I mean by a server is something like pserver. My understanding about CVS is that it requires client only(downloaded from cvshome.org ) to create a repository and do checkout and checkin. I tried this in windows. The repository that created this problem have no server running. rgds Antony Paul On Fri, 19 Nov 2004 08:55:43 -0800, Mark D. Baushke <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Antony Paul <[EMAIL PROTECTED]> writes: > > > Does making files binary using -kb compromises any other > > functionality. Some developers want CVS to merge changes > > automatically. If the file is treated as binary will it merge ?. > > No. > > > Does any one have an example of a commitinfo filter which can identify > > ASCII files ? > > That depends on what you mean... the commitinfo script could look at the > output of `cvs -n status filename` to see if the user has specified -kb > or not. > > It might also be possible to use the output of `file filename` on *NIX > servers for new files that are being added to see if the user is doing > something unexpected. Of, you could write your own custom tool that > looked at the file, but do understand that the file copy on the server > side may already have been 'corrupted' in transit if the -kb switch was > not specified in the first place and the file really was a binary that > the client is not properly treating as a binary. > > > Using commitinfo does requires a server ?. > > The commitinfo trigger is run on the server. > > -- Mark > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.2.3 (FreeBSD) > > iD8DBQFBniWO3x41pRYZE/gRAh0RAKC65AzFeBAlSbbEFisr2fx3dVGLSgCgs9qL > zi/DFkjsCkZVxbuBWkTLSRQ= > =GuRj > -END PGP SIGNATURE- > ___ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs
Re: [CVS] How to create Log file for each CVS user
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 surya <[EMAIL PROTECTED]> writes: > I would like to know how to create logfile for each cvs user detail. i > want to know the day to day activites of each user who is accesing cvs > repostiory . what modules/files are accesing .what he is checking > /checkignin ..etc for this what configuration we have to set .. You will want to look at the logging that the CVSROOT/history command keeps. If you want something a bit different, you might consider hacking in some kind of syslog() capability. However, for that you will need to patch cvs. Something like the patch described here: http://lists.gnu.org/archive/html/bug-cvs/2004-06/msg00122.html might be a starting point. Good luck, -- Mark -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQFBnw2s3x41pRYZE/gRAvI1AJ42pSfH9cV4hlttc8QY1v0TSnzWVACg318n EUjPwckpYq/A15/lXIoXA3g= =caNJ -END PGP SIGNATURE- ___ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs
Re: Ignoring whitespace and CR/LF when checking into repository
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Antony Paul <[EMAIL PROTECTED]> writes: > What I mean by a server is something like pserver. My understanding > about CVS is that it requires client only(downloaded from cvshome.org > ) to create a repository and do checkout and checkin. I tried this in > windows. > The repository that created this problem have no server running. In a client/server environment, the triggers are all run on the server in a temporary directory where your modified files have been copied. This is true regardless of use of :ext: or :server: or :pserver: or :gserver: or :kserver: as the server-side of the connection. The same cvs executable may be configured and compiled to be a client-only, server-only or non-client-server executable. In the typical case, the default *NIX configuration enables both client and server operations with the same executable. The default WindowsNT configuration enables client and local operations, but does not provide the server-side. CVSNT has both client and server configurations for Windows boxen as well as other host targets such as GNU/Linux. -- Mark > rgds > Antony Paul > > > On Fri, 19 Nov 2004 08:55:43 -0800, Mark D. Baushke <[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > Antony Paul <[EMAIL PROTECTED]> writes: > > > > > Does making files binary using -kb compromises any other > > > functionality. Some developers want CVS to merge changes > > > automatically. If the file is treated as binary will it merge ?. > > > > No. > > > > > Does any one have an example of a commitinfo filter which can identify > > > ASCII files ? > > > > That depends on what you mean... the commitinfo script could look at the > > output of `cvs -n status filename` to see if the user has specified -kb > > or not. > > > > It might also be possible to use the output of `file filename` on *NIX > > servers for new files that are being added to see if the user is doing > > something unexpected. Of, you could write your own custom tool that > > looked at the file, but do understand that the file copy on the server > > side may already have been 'corrupted' in transit if the -kb switch was > > not specified in the first place and the file really was a binary that > > the client is not properly treating as a binary. > > > > > Using commitinfo does requires a server ?. > > > > The commitinfo trigger is run on the server. > > > > -- Mark > > -BEGIN PGP SIGNATURE- > > Version: GnuPG v1.2.3 (FreeBSD) > > > > iD8DBQFBniWO3x41pRYZE/gRAh0RAKC65AzFeBAlSbbEFisr2fx3dVGLSgCgs9qL > > zi/DFkjsCkZVxbuBWkTLSRQ= > > =GuRj > > -END PGP SIGNATURE- > > > > > ___ > Info-cvs mailing list > [EMAIL PROTECTED] > http://lists.gnu.org/mailman/listinfo/info-cvs > -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQFBnxV03x41pRYZE/gRAo/GAKCWJLCK/QnXyTBOXoCg3Wt+2PBeywCggd9r ELORr76Suja+BjJqiOr/CuU= =rVOc -END PGP SIGNATURE- ___ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs
Re: add hook question (was Re: Problem with importing third-party sources and adding/committing changes)
On Nov 19, 2004, at 10:28 PM, [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Sander wrote: This is why I hate the -n option of the checkout/commit/tag/update commands and advocate its removal from CVS. What in the world are you talking about??? -n prevents changes from being made anywhere! On the server or in the workspace! Why in the world would you care if the user can run a command which does nothing except tell the user what it would do if they actually ran it without - -n?!?!?!?!?!?!?!?!??!?!?!??!?!?!?!??!?! Kindly double-check the manual and the code. There's this: cvs -n commit ... and there's this: cvs commit -n ... There's a difference. The former means "don't change disk". The latter means "don't fire *info triggers". I believe that the latter should be removed, but that's just me. The latter *were* removed, over a year and a half ago, prior to the CVS 1.11.7 and 1.12.1 releases. References to the command option `-n' were removed from both the source and the manuals, for exactly the reasons you suggest they should have been. I did the work myself. There should be some emails discussing it in the archives, if you are interested. Cool!! :-) ___ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs
import
It is not possible to import alone the folders of a project without the archives? ___ Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/ ___ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs
tags
Why, in command line, version_tag and release_tag are necessary argument on the moment of import? In tortoise cvs it isn´t necessary! ___ Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/ ___ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs
Re: import
=?iso-8859-1?q?Gleidson=20S=E1=20Barreto?= writes: > > It is not possible to import alone the folders of a > project without the archives? Not in general. CVS only manages files, not directories. (In local mode, CVS will import empty directories, but not in client/server mode.) -Larry Jones This sounds suspiciously like one of Dad's plots to build my character. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs