You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jeff Tupholme <je...@makemyshow.com> on 2004/11/02 15:41:47 UTC

Restoring backup left working copies ahead

Hi,

New to Subversion and this is my first question to the list. I've just 
had to restore my Subversion repository to a revision that is older 
than the working copies on my clients. The trunk is now at rev 36 
whilst one client is at 38 and the other at 39. I don't mind losing the 
changes on the clients as I can easily re-apply them, but I don't know 
how to re-synchronise the working copies with the repository. Whenever 
I try anything I get:

  svn: Reference to non-existent revision '38' in filesystem 
'/var/svn/blah/db'

or

  svn: Reference to non-existent revision '39' in filesystem 
'/var/svn/blah/db'

What should I do to get it all back in step? Any suggestions much 
appreciated.


Thanks,

Jeff


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Restoring backup left working copies ahead

Posted by Max Bowsher <ma...@ukf.net>.
Jeff Tupholme wrote:
> Hi,
>
> New to Subversion and this is my first question to the list. I've just
> had to restore my Subversion repository to a revision that is older
> than the working copies on my clients. The trunk is now at rev 36
> whilst one client is at 38 and the other at 39. I don't mind losing the
> changes on the clients as I can easily re-apply them, but I don't know
> how to re-synchronise the working copies with the repository. Whenever
> I try anything I get:
>
>  svn: Reference to non-existent revision '38' in filesystem
> '/var/svn/blah/db'
>
> or
>
>  svn: Reference to non-existent revision '39' in filesystem
> '/var/svn/blah/db'
>
> What should I do to get it all back in step? Any suggestions much
> appreciated.

Throw away the working copies and check out new ones.

Use "svn diff" and "patch" to port any not-yet-committed changes from the 
old WC to the new WC.

Max.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org