On Dec 11, 2007, at 06:25, Kuang-Chun Cheng wrote:
> On Dec 11, 2007 8:13 PM, Andy Levy wrote:
>
>> On Dec 11, 2007 6:55 AM, Kuang-Chun Cheng wrote:
>>
>> > My SVN repo. crash last week. I had re-install my RH5.1 and re-
>> install
>> > backup SVN repo. ....
>> >
>> > My project has up-to-date revison 4 in backup repo. But my
>> working copy
>> > already has revison 8.
>> > I knew I will lost history of revision 5,6,7 .... that's OK.
>> But how can
>> > I re-commit my revison 8 into repository and make it revison 5
>> in both
>> > repo. and working copy ???
>>
>> Copy your changes to a safe place, check out a new working copy, copy
>> your changes into that new WC, then commit.
>
> Any easier way to do that ?
> Can I force working copy to old revision (rev 4 in my case)
> without revert my modification ? Thanks a lot.
Nope, no easier way. Do it the way Andy said.
Subversion does not make this situation "easy" because it should
never arise if you have up to date backups of your repository.
Therefore, it is imperative that you have up to date backups of your
repository at all times. Best practice: back up from the post-commit
hook, after every commit.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 11 19:49:45 2007