GetFileList not recursive
Moderator: SourceGear
GetFileList not recursive
i am using SOS 4.0 and the GetFileList command does not output files from subprojects. i only see the files at the parent project level.
is there a way to get this command to function recursively?
thanks,
steve
is there a way to get this command to function recursively?
thanks,
steve
Alternative to GetFileList -recurisive
Are there any combinations of other commands which can mimic a recursive GetFileList? Imagine that the solution will be put into a batch file in order to have a final output of some text file containing a "snapshot" of a project (recursively described) of all files and their respective versions.
Any thoughts?
Thanks,
Sly
Any thoughts?
Thanks,
Sly
And to get the list of subprojects..
Thank you, Linda.
There does not appear to be a GetProjectList command option. How would you propose to loop through the list of subprojects without knowing them ahead of time?
Thanks,
Sly
There does not appear to be a GetProjectList command option. How would you propose to loop through the list of subprojects without knowing them ahead of time?
Thanks,
Sly
Use the GetProjectTree command:
Code: Select all
- GetProjectTree -
Gets the project tree rooted at the input project, or root project
if none specified and outputs to standard out. This command
returns the structure of the project in the VSS database. If a
SourceOffSite home directory is specified, this command will also
update the project tree in the local cache file. Please note that
this command does not retrieve the files in the project.
Required Params: -server, -name, -password, -database or -alias
Optional Params: -project
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Much obliged
I did not read closely enough to see that it gets output to stdout. I will test this immediately!
Regards,
Sly
Regards,
Sly
BTW..
Are there any reports available which could tell me the current structure of a project, its contents, and the revision number for each item that content?
Perhaps there is something on the server?
As you can probably guess, I am seeking to use the soscmd to do just this. Right now I am seeing the GetProjectTree command take more than five minutes to return a single project structure. I don't know why it is taking so long.
Regards,
Sly
Perhaps there is something on the server?
As you can probably guess, I am seeking to use the soscmd to do just this. Right now I am seeing the GetProjectTree command take more than five minutes to return a single project structure. I don't know why it is taking so long.
Regards,
Sly
Not in one report. GetProjectTree and GetFileList are the available options.Are there any reports available which could tell me the current structure of a project, its contents, and the revision number for each item that content?
SOS has very little reporting, particularly in the Command Line Client. The CLC is designed primarly for automated operations, like gets, checkouts, labeling, etc.
Refreshing or Getting the project tree is a bandwidth-intensive operation. That's why the project tree is cached on the SOS Client side and is only refreshed in a manual operation.Right now I am seeing the GetProjectTree command take more than five minutes to return a single project structure. I don't know why it is taking so long.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager