如何按日期对SVN LS -R输出进行排序 [英] How to sort SVN LS -R output by date

查看:154
本文介绍了如何按日期对SVN LS -R输出进行排序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想列出我svn中的所有文件,按上次提交的日期排序。 svn ls -Rv 列出所有文件,但不接受 -t 开关。有人知道怎么做吗?

I want to list all the files in my svn, sorted by date of last commit. svn ls -Rv lists all the files, but it doesn't accept a -t switch. Does anyone know how to do this?

(我见过对于 svn身份的类似问题,但是对我来说,如何实现更改此值以与 svn ls 一起使用。)

(I have seen an answer to a similar question for svn status, but it wasn't obvious to me how to change this to work with svn ls.)

仍然不回答:能够进行排序也将很有帮助按日期添加到SVN的文件。

STILL UNANSWERED: It would also be helpful to be able to sort the files by date added to SVN.

推荐答案

在我的Windoz框上,下面的工作

On my Windoz box the below does the job

svn ls -Rv | sort

对于Unix,您很可能必须使用开关- n

For Unix you will, most likely, have to specify the numeric sort order with the switch "-n"

这篇关于如何按日期对SVN LS -R输出进行排序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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