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

removing a revision (Re: [PATCH] Best Practices)

From: Michael Price <mprice_at_atl.lmco.com>
Date: 2002-08-08 21:17:52 CEST

Scott Lamb writes:
> I once made the mistake of adding an OpenLDAP configuration file with my
> root DN's password embedded. (Hashed in SSHA, but still.) So tweaking
> later isn't always enough - you might want the incorrect stuff to not be
> in the history at all. Since there's no way to remove a revision (short
> of dumping/loading, and then probably manually re-adding any following
> revisions), best to avoid that.

I was about to ask if there was an easy way to remove revisions short of
dumping and loading. Last night I had two .pgn files (containing chess
move lists) in a directory. I wanted to commit the small one (3KB), not
the large one (73MB). Of course, I end up typing the filename of the large
one. So am I stuck dumping and loading now to get rid of the enormous

On a side note, I quickly ran 'top' to see how much memory was going to be
used while adding this large file. I was pleased to see that subversion's
memory use never really increased while the httpd process grew to 65MB and
stayed that way. If I add a 2GB file (which I didn't think to try until
just now), what's going to happen to httpd? It'll be a few hours until I
get to try it so if anyone cares to try first, let me know.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 8 21:18:33 2002

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

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