info-cvs
[Top][All Lists]
Advanced

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

Re: Scrubbing data from CVS repository


From: Jim Hyslop
Subject: Re: Scrubbing data from CVS repository
Date: Sat, 14 Oct 2006 12:51:45 -0400
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Scott Gifford wrote:
>     find ~/cvs -type f |xargs perl -pi 's/my_password/***********/g' *
> 
> Could that damage anything, or is it relatively safe?  And will it
> have the effect I want, which is to make any version of the project
> checked out contain asterisks instead of the password?

That should work. Make sure you back up the repository first (and also
make sure you can restore from said backup!).

If I may suggest an alternative: if the other developers don't need the
history of the files, you could export the latest version to a working
directory, scrub the working directory, then import the files into a new
repository as version 1.1. Just a thought.

- --
Jim Hyslop
Dreampossible: Better software. Simply.     http://www.dreampossible.ca
                 Consulting * Mentoring * Training in
    C/C++ * OOD * SW Development & Practices * Version Management
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFFMRWhLdDyDwyJw+MRAgmQAJ9NCIRmbzfqMsv8mOlMHJnu3nCWDACfcE9O
pkfotw49n4jwiCO3zLVuxqE=
=V9dt
-----END PGP SIGNATURE-----





reply via email to

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