v4.1.4: history of all checkout

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
kha
Posts: 221
Joined: Fri Sep 12, 2008 8:25 am

v4.1.4: history of all checkout

Post by kha » Mon Aug 31, 2009 9:48 am

Is there anyway we can get a history of all the checkouts in a repository? I see there is history for checkin, but no history for checkout "action".

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: v4.1.4: history of all checkout

Post by lbauer » Mon Aug 31, 2009 1:55 pm

Checkouts don't modify items in source control, so they are not recorded in history. Only check-ins can make a change. Is there a reason you want to track checkouts?

If you do need to track checkouts, you could do this with the Vault server log. If you put the logging into debug mode, it will log every transaction. Of course the log can get very large after a while. You would need to parse out all of the check-in operations.

You can enable debug server logging in the Admin Web Client under Server Settings->Logging->Log Level.
Linda Bauer
SourceGear
Technical Support Manager

kha
Posts: 221
Joined: Fri Sep 12, 2008 8:25 am

Re: v4.1.4: history of all checkout

Post by kha » Mon Aug 31, 2009 2:13 pm

We have a developer who needs to check in everything he checkedout since he is no longer participate in that repository.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: v4.1.4: history of all checkout

Post by lbauer » Tue Sep 01, 2009 10:22 am

Thanks for the info. It is possible to see what files the user currently has checked out.

In the Vault GUI Client, select the Search tab, and in the Search By drop down, select Checked Out By and enter the username. If you can log in as the developer, you can undo the checkout by selecting the files in the search results, right-click and Undo Checkout.

Or you can log in as the user, select the root folder $/, right-click and choose Undo Checkout, recursive.

Finally, you can undo checkouts from the Vault Admin Web Client. This setting is in the Admin Web Client under Source Control Repositories->(Repository name)->Undo Checkout. This will show all checked out files by all users, but you can sort by username to see all checkouts by your user.
Linda Bauer
SourceGear
Technical Support Manager

kha
Posts: 221
Joined: Fri Sep 12, 2008 8:25 am

Re: v4.1.4: history of all checkout

Post by kha » Tue Sep 01, 2009 11:12 am

Thanks, Linda for instructions. I got it!

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: v4.1.4: history of all checkout

Post by lbauer » Tue Sep 01, 2009 12:18 pm

You're welcome -- glad that helped. : )
Linda Bauer
SourceGear
Technical Support Manager

Post Reply