简体   繁体   English

命令行帮助:将文件更新到SVN / Subversion中的特定旧版本?

[英]Command line help for : Updating a file to a specific older revision in SVN /Subversion?

I hope the subject line is clear. 我希望主题清楚。 I am aware of the command line svn update -r [REV] updates my working copy to a specific revision. 我知道命令行svn update -r [REV]将我的工作副本更新为特定的修订版。 However i just want a specific file to update to that version. 但是我只想将特定文件更新到该版本。 Any help in this regard is deeply appreciated. 在这方面的任何帮助深表感谢。

Regards 问候

svn help update gives: svn help update提供:

usage: update [PATH...] 用法:更新[PATH ...]

If no revision given, bring working copy up-to-date with HEAD rev. 如果未提供修订,请使用HEAD rev更新工作副本。 Else synchronize working copy to revision given by -r. 否则,将工作副本同步到-r给定的修订版。

So, svn update -r XXX path\\to\\file should do it. 因此, svn update -r XXX path\\to\\file应该可以执行此操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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