I use vault checkout, and vault undocheckout from a command propt to use the -wildcard option. Is there a way to do a wildcard search\select from the client app?
This has worked for me for a while now. I got a new machine and was using this procedure, and the checkout worked fine, but when I used the undo checkout it did a undocheckout on everything that I had checked out, not just files specified by the wildcard. This included files that I had check out from a different machine.
I saved the std out to a file and attached it.
Command line:
C:\Program Files\SourceGear\Vault Client>vault checkout -host dbserver2 -user **** -password **** -repository **** -wildcard *.rc $/c++
C:\Program Files\SourceGear\Vault Client>vault undocheckout -host dbserver2 -user **** -password **** -repository ***** -wildcard *.rc $/c++
<!-- Undoing check out of file $/c++/programs/sdxFlip/sdxFlip.rc -->
<!-- Undoing check out of file $/c++/programs/sdxFlip/SqlUtils.cpp -->
<result success="yes" />
undo checkout from command prompt
Moderator: SourceGear
undo checkout from command prompt
- Attachments
-
- vault error.txt
- std out from command window
- (12.07 KiB) Downloaded 302 times
I was able to reproduce this with 3.1.9, but in reviewing the documentation, it's not clear that wildcards are supported for UNDOCHECKOUT.
Are you sure this worked before when you had files with a mix of different extensions checked out? Were you using a different version of Vault at the time?
Are you sure this worked before when you had files with a mix of different extensions checked out? Were you using a different version of Vault at the time?
You can do a wildcard Filename search in the Vault Client in the Search tab, but you currently can't check out the results. You will be able to checkout from the Search Pane in Vault 3.5, due out next month.Is there a way to do a wildcard search\select from the client app?
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
I am not 100% sure that I had a mix of different extensions checked out in the past, but I have not noticed all my files getting checked in. I use this a lot. If wildcards are supported on checkout I would call it a bug if they are not supported on undo checkout and check in. I have been using the same version of Vault for a couple of months now (3.1.8.3771). Will this bug be fixed in 3.5?