Wildcard option not working for 'checkout' command in 4.0.1
Moderator: SourceGear
Wildcard option not working for 'checkout' command in 4.0.1
I have been using the 'wildcard' option for the 'checkout' command in 3.x and it seems to no longer work in 4.0.1. I have something like this:
vault.exe checkout $/Projects/Source -wildcard AssemblyInfo.cs
This used to check out all my AssemblyInfo.cs files, but in 4.0.1 it seems to get ignored and all the files get checked out.
Any known issues with this option, or has it changed since 3.x? I haven't seen anything about it.
vault.exe checkout $/Projects/Source -wildcard AssemblyInfo.cs
This used to check out all my AssemblyInfo.cs files, but in 4.0.1 it seems to get ignored and all the files get checked out.
Any known issues with this option, or has it changed since 3.x? I haven't seen anything about it.
Sorry that we broke the checkout command for you. We tried to keep backward compatibility.
You can use the new built in NAnt-style wild card to do what you wanted:
That should check out all AssemblyInfo.cs files under the $/Projects/Source/ directory. You can use this style of wildcard in several commands.
You can use the new built in NAnt-style wild card to do what you wanted:
Code: Select all
vault.exe checkout $/Projects/Source/**/AssemblyInfo.cs
Has the wildcard issue been resolved? I try to check out certain files using this command and I end up with everything checked out!
checkout -user "XX" -password "******" -host "XXXX.XXXXX.com" -repository "XXXX_50" -exclusive -wildcard *.res "$/XXXX_50/Trunk/Common/"
I am using
Vault client is version 4.0.4.15848
Vault server is version 4.0.1.15780
checkout -user "XX" -password "******" -host "XXXX.XXXXX.com" -repository "XXXX_50" -exclusive -wildcard *.res "$/XXXX_50/Trunk/Common/"
I am using
Vault client is version 4.0.4.15848
Vault server is version 4.0.1.15780
Does it work when you use the NAnt style wildcards?
Code: Select all
checkout -exclusive "$/XXXX_50/Trunk/Common/**/*.res"
Jeremy,
yes, the NAnt style checkouts work. I'm scripting an automated build in FinalBuilder 5.5 and it doens't support the NAnt styles. I currently have it scripted via a Command prompt execution using the NAnt but it woudl be eassier to maintain if I coudl use the Vault script in FinalBUilder..
I'm working with those guys as well to come up with a resolution.
yes, the NAnt style checkouts work. I'm scripting an automated build in FinalBuilder 5.5 and it doens't support the NAnt styles. I currently have it scripted via a Command prompt execution using the NAnt but it woudl be eassier to maintain if I coudl use the Vault script in FinalBUilder..
I'm working with those guys as well to come up with a resolution.
The Vault 4.1.2 CLC fixed this bug. Wildcards are again supported for checkout.
Subscribe to the Fortress/Vault blog