#  Copyright (c) 2006 Serge Gagnon <serge.gagnon@b2b2c.ca>
#  All rights reserved.
#
#  Redistribution and use in source and binary forms, with or without
#  modification, are permitted provided that the following conditions
#  are met:
#
#  1. Redistributions of source code must retain the above copyright
#     notice, this list of conditions and the following disclaimer.
#  2. Redistributions in binary form must reproduce the above copyright
#     notice, this list of conditions and the following disclaimer in the
#     documentation and/or other materials provided with the distribution.
#  3. The name of author may not be used to endorse or promote products
#     derived from this software without specific prior written permission.
#
#  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
#  INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
#  AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
#  THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
#  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
#  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
#  OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
#  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
#  OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
#  ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#

20060211:
	Version 0.3:
	- Add -l (Listing) option. This option print a listing
	of all CVS user.
20060208:
	Version 0.2.4:
	- Fix a bug that can harm seriously the passwd file.
20060207:
	Version 0.2.3:
	- Query search is now more accurate
	- Fix some minors bugs
20060204:
	Version 0.2.2:
	- Query the passwd, writers and readers files if $user is already in there
	before attempting to adding him/her.
	- Exit status with 0 instead of 1 when exiting in interactive mode.
	- Fix a bug crash with 'disable' function. Look if user is already
	disable before attempting to disable him/her again.
	- Print if user is 'enable' or 'disable' in Query mode
	- Fix some others minors bugs.
	I'm considering, now, that cvsdadm have passed from alpha state to
	beta. It is more stable than before, but not complete.
20060131:
	Version 0.2.1:
	- Minor fix in interactive mode
	- Add Query [-q] to interactive mode
20060130:
	Version 0.2:
	- If no -R are given, cvsdadm will try to check if the repository is in
	the cwd.
	- &Init_repository: Verify if the repository is in a sane state _before_ 
	attempting any operation. The difference between this behavior and the 
	old one is that cvsdadm will not stop in the middle of an operation 
	(eg: adding a user) and let the repository almost ready.
	- New command [-C]. If this command is given with -R and nothing else,
	it will create a new repository. It means CVSROOT dir, passwd, readers and
	writers files.
	If -C is given with any other flags -[adekq], it will create the repository
	file(s) if they are missing. Your repository files will not be overwritten
	if they already created. Cvsdadm is gentle for your repository...
	This option can be given with interactive [-i] mode too.
	- Better handling and logic with interactive mode.
	- Remove some redundant lines of code that do the same things
	unnecessarily.
20060121 0.1.3 : 
	- Don't quit in interactive mode if user press return without choosing an
	option but reprint the menu.
	- Remove trailing '\n' in a string in Query mode to make the output 
	nicer
	- Reprint the menu at the end of an operation in interactive mode
###############################################################
# This part below is for history when this program was cvspadm
###############################################################
09-02-01: Revamping the whole program. Adding flags -q for query, and adding
	  lots of behaviour checking. Also adding interactive use. Check out
	  the POD or README to get more info on that. This is turning into
	  a whole rewrite cleaning it all up. -h was added as well, and an
	  interactive mode -i was added. Some more error checking and some
	  more checking of ruthless values.

07-01-01: Added a file with the results of pod2text for those without proper
	  pod tools. Also added the BSD style license to the top of the 
	  actual source file, so there can be no confusion on what license
	  cvspadm is under. ;) I do plan to wrap this code up in a nice little
	  bit of tk to give it a gui, but I'm really swamped right now. Oh
	  yeah, I bumped the version to 0.1.1 only because of the added files
	  in the tarball basically.
