如何从命令行检出特定的 Subversion 修订版? [英] How to checkout a specific Subversion revision from the command line?

查看:17
本文介绍了如何从命令行检出特定的 Subversion 修订版?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用命令行检出 Subversion 中文件夹的特定修订版.

I want to checkout a specific revision of a folder in Subversion using the command line.

我在 TortoiseProc.exe 中没有看到指定修订号的选项,

I don't see an option for specifying the revision number in TortoiseProc.exe,

TortoiseProc.exe /command:checkout <url>

如何获得我想要的修订版?TortoiseProc.exe 是我想做的合适的工具吗?

How do I get the revision I want? Is TortoiseProc.exe the right tool for what I want to do?

推荐答案

如果您已经在本地检出它,那么您可以 cd 到它检出的地方,然后使用以下语法:

If you already have it checked out locally then you can cd to where it is checked out, then use this syntax:

$ svn up -rXXXX

ref: 结帐来自命令行的 subversion 的特定修订

这篇关于如何从命令行检出特定的 Subversion 修订版?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆