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

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

问题描述

我想使用命令行在 Subversion 中检出文件夹的特定版本。 / p>

TortoiseProc.exe

$ b中看不到用于指定修订号的选项
$ b

  TortoiseProc.exe / command:checkout< url> 

如何获得所需的修订? TortoiseProc.exe 是我想要做的正确工具吗?

解决方案

如果您已经在本地将其检出,则可以 cd 检出它,然后使用以下语法:

  $ svn up -rXXXX 

ref:< a href = http://betterlogic.com/roger/2011/11/checkout-a-specific-revision-from-subversion-from-command-line rel = noreferrer>从command的subversion中检出特定版本行


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

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

TortoiseProc.exe /command:checkout <url>

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

解决方案

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: Checkout a specific revision from subversion from command line

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

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