简体   繁体   English

如何获取按上次更改日期/转换顺序排列的subversion工作空间中的所有文件的列表?

[英]How do I get a list of all files in a subversion workspace ordered by last changed date/rev?

I'd like to get a full inventory of files in a workspace (roughly similar to 'find .' output) ordered by the date (or revision number. . same thing) of last commit to that file. 我想在工作区中获得完整的文件清单(大致类似于'find。'输出),按照上次提交到该文件的日期(或修订号。同一件事)排序。 The goal is to identify which files are most and least actively modified. 目标是确定哪些文件最多且最不主动修改。 Svn info provides the relevant date but doesn't work recursively. Svn info提供相关日期,但不能递归地工作。 I have access to the svn command line client, standard *nix command line utilities, and php, though I'd prefer a one-liner to a long script. 我可以访问svn命令行客户端,标准* nix命令行实用程序和php,虽然我更喜欢单行到长脚本。

Something like 就像是

$ svn list -v -R | sort | sort -n

should work. 应该管用。

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

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