简体   繁体   English

如何使用命令行管理SVN存储库(无URL)

[英]how to manage a SVN repository using the command line (No URL)

I'm trying to manage my SVN repository by the command line. 我正在尝试通过命令行管理我的SVN存储库。 This repository has been migrated from an original VSS server. 该存储库已从原始VSS服务器迁移。 I need to "extract" a working folder from the SVN repository so to compare all the files of every version and check (in this way) that the migration has been correctly completed. 我需要从SVN存储库中“提取”一个工作文件夹,以便比较每个版本的所有文件并检查(以这种方式)迁移是否已正确完成。

Since I have a lot of folders and repositories, I should create a batch to complete all the operations. 由于我有很多文件夹和存储库,因此我应该创建一个批处理来完成所有操作。

I have read a book about all the commands to use SVN by the prompt line. 在提示行中,我已经读过一本有关使用SVN的所有命令的书。 The problem is that all the commands (as for example "svn checkout" or "svn export") are all referred to the URL of the repository, and I don't have it since I'm not connected to internet, or they are referred to a working copy, and I haven't found any command to create a working copy by the prompt line. 问题是所有命令(例如“ svn checkout”或“ svn export”)都引用到存储库的URL,因为我没有连接到互联网,所以我没有它,或者它们是引用了工作副本,但在提示行中找不到任何创建工作副本的命令。 Anyone may help me? 有人可以帮助我吗?

I thank gratefully who ever will answer. 我非常感谢谁能回答。 :) :)

See this question regarding accessing a local Subversion repository. 这个问题关于访问本地Subversion库。 In short, if your repository is at C:\\path\\to\\repository, then to get a working copy you'd run svn checkout : 简而言之,如果您的存储库位于C:\\ path \\ to \\ repository,则要获取工作副本,请运行svn checkout

> svn checkout file:///C:/path/to/repository

This will check out the root of the repository to the current directory. 这将签出存储库的根目录到当前目录。

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

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