Visual SourceSafe 2005 - 如何获取特定日期范围内更改的文件(命令行工具)
在这里,我尝试执行 GET 操作来提取在给定日期范围内已签入/更改的文件列表,不包括在该时间范围内未更改的文件。
这是我正在使用的命令:
ss Get $\MY_PROJECT to . -Vd8/01/10;12:00a~08/03/10;11:59p -R
一开始,它实际上似乎做了我想要的事情 - 它会持续处理一段时间,试图找出已更改的文件。然后,突然间,它将剩余的未更改的文件转储到同一目录中。
有办法实现我所需要的吗?如果是的话,还缺少什么?谢谢!
Here I was trying to perform a GET operation to pull a list of files that have been checked in/changed for a given date range, excluding the ones that have not been changed in that time frame.
Here's the command I'm using:
ss Get $\MY_PROJECT to . -Vd8/01/10;12:00a~08/03/10;11:59p -R
In the beginning it actually seems to do what I want - it keeps crunching for a while trying to figure out the files that have changed. Then, all of a sudden, it dumps the remaining non-changed files in the same dir.
Is there a way to achieve what I need? If yes, what's missing? Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
试试这个(我的 vss 在远程服务器上):
SET SSDIR=\$myserver\myvss\myproject
"C:\Program Files\Microsoft Visual SourceSafe\SS.exe" History $/myproject -Vd31/12/10~17/ 11/10 -R
请注意,结束日期早于范围内的开始日期。
我只需要更改内容的列表,而不需要文件,这就是我使用历史记录的原因。
Try this (my vss is on a remote server):
SET SSDIR=\$myserver\myvss\myproject
"C:\Program Files\Microsoft Visual SourceSafe\SS.exe" history $/myproject -Vd31/12/10~17/11/10 -R
Please note that the end date is BEFORE the start date in the range.
I only needed a list of what changes and not the files, that's why I used history.