Leave CVSROOT directories alone when destroying a CVS repository
commitbbab6f40d9bc8ce5af39ef3a6d65f7e7d4c6d442
authormhagger <mhagger@be7e6eca-30d4-0310-a8e5-ac0d63af7087>
Mon, 20 Oct 2008 07:10:49 +0000 (20 07:10 +0000)
committermhagger <mhagger@be7e6eca-30d4-0310-a8e5-ac0d63af7087>
Mon, 20 Oct 2008 07:10:49 +0000 (20 07:10 +0000)
treea67394a8d9581ab564937720c389490743371639
parent87e477c6be82a518a1514c660b3518066f7aa658
Leave CVSROOT directories alone when destroying a CVS repository

The purpose of this script is to produce an anonymized but still useable
CVS repository. However, in its default setting is renames all directories
including CVSROOT, which renders the repository invalid.

Although easily solved by re-renaming the directory back, the script
should leave the CVSROOT directory untouched (potentially leaving
confidential information).

* contrib/destroy_repository.py (FileDestroyer.visit): Remove 'CVSROOT'
  from the list of paths to be destroyed.

Suggested by: Markus Schade <marks@markusschade.com>
Patch by: Johan Herland <johan@herland.net>

git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@4618 be7e6eca-30d4-0310-a8e5-ac0d63af7087
contrib/destroy_repository.py