【问题标题】:Is there a command which will print the path of the file in the repo-browser in the command line是否有一个命令将在命令行中的 repo-browser 中打印文件的路径
【发布时间】:2010-11-06 02:40:27
【问题描述】:

Is there a command which will print the path of the file in the repo-browser in the command line?的骗子

是否有一个命令可以在命令行中打印 repo-browser 中文件的路径?

SVN diff 只打印文件名。

谢谢。

【问题讨论】:

  • 我觉得你的问题很难理解。也许你可以举一个你正在寻找的东西的例子——理想的命令(和输出)是什么样的?
  • 你不应该两次问同一个问题。请耐心等待。

标签: svn file command-line command path


【解决方案1】:

您可以使用svn info <file> 获取有关文件的详细信息。这包括 URL,如果是文件,则 URL 包括其在存储库中的路径。如果您只需要没有存储库根目录的路径,您也可以在输出中获得存储库根目录,以便轻松过滤它。

【讨论】:

    猜你喜欢
    • 2010-11-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-05-15
    • 1970-01-01
    • 2012-04-07
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多