Way to see all files ever checked into Visual SourceSafe by a user?

耗尽温柔 提交于 2019-12-20 14:49:53

问题


Is there a way in Microsoft Visual SourceSafe to see all the files I've ever checked-in?


回答1:


With a project selected, go to Tools, Show History, tick Recursive, and enter your user name into User. Click OK.




回答2:


The command line may be faster, more efficient for this.

From the command line:

  1. cd C:\Program Files\Microsoft Visual SourceSafe
  2. SET SSDIR=<path to folder containing srcsafe.ini>
  3. ss Status $/ -R -U<username> > checked-out-by-username.txt

And then check the contents of checked-out-by-username.txt for your check-outs.

For example:

My srcsafe.ini was in C:\Program Files\Microsoft Visual SourceSafe\MasterDatabase. And my username was bpaetzke.

So, my command line looked like this:

  1. cd C:\Program Files\Microsoft Visual SourceSafe
  2. SET SSDIR=MasterDatabase
  3. ss Status $/ -R -Ubpaetzke > checked-out-by-bpaetzke.txt

If you want to get all users' check-outs, remove the -U<username> and give the output file a generic name.

Other command line info:

  • commands
  • options


来源:https://stackoverflow.com/questions/2493441/way-to-see-all-files-ever-checked-into-visual-sourcesafe-by-a-user

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!