On Thu, Apr 22, 2010 at 12:49 PM, Cooke, Mark <mark.co...@siemens.com>wrote:

> >>
> >> I have identified a single corrupt revision in the repository.
> >>
> >> Is restoring that  ** specific **  revision from a tape
> >> backup a reasonable approach or is it a hack and could cause
> >> further problems down the track.
> >>
> > I don't see any other option than this either, even if this
> > is hack, I have done similar thing for one of our
> > repositories  and haven't faced any problem in future, so
> > even if this is hack I don't see any problem with the approach.
> >
> Out of interest, how can you restore a single revision into a repo?  I
> am assuming reasonably clever use of dump and restore?  Including from a
> recovered version of the repo on a spare svn server?  Or is there a
> quicker/easier way?
>
>
 There is quicker and wicked way to do it at least the way I did it, I am
not sure if the approach was right or wrong but  this will only work if you
have backup of repository  at some point which is not corrupted just go to
the db directory  of repository copy that revision and past it in your
corrupted repository but as I said this is hack and not a clean approach but
worked for me, I am not recommending it to anyone to try it at your own
risk, that was a last resort for me and worked.

Regards,
Vishwajeet Singh
+91-9657702154 | dextrou...@gmail.com | http://bootstraptoday.com
Twitter: http://twitter.com/vishwajeets | LinkedIn:
http://www.linkedin.com/in/singhvishwajeet

Reply via email to