[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Changing a file in a past revision

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2006-03-06 19:29:30 CET

On 3/6/06, Jim Grill <jimgrill@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
Received on Mon Mar 6 19:30:51 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.