API to Check Files Checked Out By Me
Moderator: SourceGear
API to Check Files Checked Out By Me
I have written a command line (CL) code that will check in files that I have checked out on "my machine". But if I work on a different machine and check out a file, "my machine" does not know this and will not check the file in.
So what I need is a CL code that will check in any and all files checked out to me, regardless of where I checked it out.
So is there some documentation that I can use that will do help me?
Do you have a script that will assist in doing this for me.
Thanks
btd
Vault.exe COMMIT -server VaultServer -user me -password abcd -repository MyRepp -unchanged checkin
So what I need is a CL code that will check in any and all files checked out to me, regardless of where I checked it out.
So is there some documentation that I can use that will do help me?
Do you have a script that will assist in doing this for me.
Thanks
btd
Vault.exe COMMIT -server VaultServer -user me -password abcd -repository MyRepp -unchanged checkin
API to Check Files Checked Out By Me
No that won't accomplish what I want. What I am looking for is a vault command that will search a repostiory for all files checked out by a user defined user. This way, I'm sure all the files are checked in regardless of what serevr they were checkedout from.
So is this available? And do you know where the documenation for vault comamnds is?
Thanks
btd
So is this available? And do you know where the documenation for vault comamnds is?
Thanks
btd
There isn't a way currently, but I have an open feature request to make an admin function that can force a check in. That way you'd use the admin tool for checking in no matter where you checked out at. I can add your "vote" if you want.
In the meantime, you might want to save your script in a file, then check it into Vault too, then no matter where you check out code from, you can also pull down your script from Vault to that machine and easily use it.
In the meantime, you might want to save your script in a file, then check it into Vault too, then no matter where you check out code from, you can also pull down your script from Vault to that machine and easily use it.
API to Check Files Checked Out By Me
Yes, please add my vote to include this feature in a future release.
Also, if possible, can you extend the CL language to include CODE that will allow me to check in code by a USER DEFINED USER?
Thanks
btd
Also, if possible, can you extend the CL language to include CODE that will allow me to check in code by a USER DEFINED USER?
Thanks
btd
I added your vote.
On the command line part, I want to make sure I understand what you mean by a "USER DEFINED USER." You mean to check in another user's code even though you are currently logged in? Or do you mean that the same admin function we just talked about also be able to be done via command line?
On the command line part, I want to make sure I understand what you mean by a "USER DEFINED USER." You mean to check in another user's code even though you are currently logged in? Or do you mean that the same admin function we just talked about also be able to be done via command line?
API to Check Files Checked Out By Me
Sure, and I appreciate you asking for clarification.
I'm not sure what the new "Vault Admin tool" will do.
What I mean is... In addition to the adding this function to the admin tool, I would like a COMMAND LINE function/method that will allow me to check in any and all files from any server by a userid of choice. Right now, I am only able to check in code from the server I am looged into. So for example, if I log on to a different server and check out a file, then back on the other server, I would like a COMMAND LINE FUNCTION/METHOD that would allow me to check in files REGARDLESS of which server it was checked out from. It's my understanding that this code is not avaialble.
Make sense?
Tom
I'm not sure what the new "Vault Admin tool" will do.
What I mean is... In addition to the adding this function to the admin tool, I would like a COMMAND LINE function/method that will allow me to check in any and all files from any server by a userid of choice. Right now, I am only able to check in code from the server I am looged into. So for example, if I log on to a different server and check out a file, then back on the other server, I would like a COMMAND LINE FUNCTION/METHOD that would allow me to check in files REGARDLESS of which server it was checked out from. It's my understanding that this code is not avaialble.
Make sense?
Tom