如何获取 svn 远程存储库 URL? [英] How to get svn remote repository URL?

查看:55
本文介绍了如何获取 svn 远程存储库 URL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的本​​地系统上有一个 svn 工作副本.我想获取远程存储库 URL.是否有一些命令可以执行此操作?

I have an svn working copy on my local system. I want to get the remote repository URL. Is there some command for doing this?

推荐答案

尝试:

svn info .

这应该提供有关当前工作副本的一些信息,包括远程 URL.

This should give some information about the current working copy, including the remote URL.

来自手册,示例输出是:

$ svn info foo.c  
Path: foo.c  
Name: foo.c  
URL: http://svn.red-bean.com/repos/test/foo.c  
Repository Root: http://svn.red-bean.com/repos/test  
Repository UUID: 5e7d134a-54fb-0310-bd04-b611643e5c25  
Revision: 4417  
Node Kind: file  
Schedule: normal  
Last Changed Author: sally  
Last Changed Rev: 20  
Last Changed Date: 2003-01-13 16:43:13 -0600 (Mon, 13 Jan 2003)  
Text Last Updated: 2003-01-16 21:18:16 -0600 (Thu, 16 Jan 2003)  
Properties Last Updated: 2003-01-13 21:50:19 -0600 (Mon, 13 Jan 2003)  
Checksum: d6aeb60b0662ccceb6bce4bac344cb66  

这篇关于如何获取 svn 远程存储库 URL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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