简体   繁体   中英

Update to a particular revision in SVN?

I performed an svn co -r XXX ... . I deleted a file and then [accidentally] performed svn up . That updated to HEAD, so I lost my changes at XXX.

Is it possible to perform an update against a particular revision? If so, how?

Related, it is possible to undo the update to HEAD so I go back to XXX + local revisions?

使用svn update -r <old revision number>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM