[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Scrubbing data from CVS repository
From: |
Scott Gifford |
Subject: |
Re: Scrubbing data from CVS repository |
Date: |
Sun, 15 Oct 2006 00:29:48 -0400 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (gnu/linux) |
Jim Hyslop <address@hidden> writes:
> 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!).
Thanks, will do!
> 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.
Yeah, I thought about that, but I like having the history around for
myself, and maintaining two repositories seems like a hassle.
Thanks!
----Scott.