You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jim Grill <ji...@jimgrill.com> on 2006/03/06 18:17:45 UTC
Changing a file in a past revision
Hello All,
I accidentally committed private passwords in a conf file. Is it
possible to go back and remove those passwords from that file and
recommit that revision?
Thanks in advance for your help.
Jim
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Changing a file in a past revision
Posted by Andy Levy <an...@gmail.com>.
On 3/6/06, Jim Grill <ji...@jimgrill.com> wrote:
> Hello All,
>
> I accidentally committed private passwords in a conf file. Is it
> possible to go back and remove those passwords from that file and
> recommit that revision?
The whole idea of the repository is to have a full record of
everything that ever happened. Revisions are stored in a binary diff
format; I don't believe it's possible to edit them manually (You can
take a look at revs/REVNUM and try it, but BACK UP FIRST). Your best
bet is probably to do the dump/edit/reload dance described in the FAQ
(http://subversion.tigris.org/faq.html) in response to the "how can I
delete a revision?" question.
The site seems to be down at the moment for me, or at least requiring
a login to access the FAQ.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org