开发者

VisualSVN How to roll back the revision number?

The company I work in has suffered a major server failure. During this failure the SVN Repository was lost. But there is still hope ! We have an old backup of the repository which I've managed to successfully restore using VisualSVN.

The problem I'm facing now is that I can't update / commit pre-failure checkedout folders. The reason for this problem is that for i开发者_高级运维nstance: a local folder has a revision number of 2361, while the repository itself holds a revision number of 2290, which is older.

Is there a way to deal with this issue ? Can I some how change the revision numbers on either the local copy or the server copy?

A few points:

  • I'm using TortoiseSVN 1.6.6.
  • I can checkout folders from the repo and the connection is active.
  • I've picked one of my folders and used the Relocate option on it. This helped me see that there is something wrong with the revision number
  • I've experimented a bit with the merge option but this lead me now where special. (I'm open for suggestions )

Thank you for your time,

Ita


You'll need to checkout your project into a new working copy, then use whatever tools that you have to move the changes into the new working copy.

You simply can't turn back the revision number. Your current working copy potentially contains changes that aren't in the older backup of the repository, and the working copy doesn't treat them as 'different from the repository'.

As your repository was lost, so was any chance of reconciling your current working copy.


Checkout the newest revision of the restored backup into a working copy. do an svn export of and old working copy and simply copy all files/folders onto the previously checkout working copy. Than do an svn add if needed and commit. This should summ all changes.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜