API question -- ResolveUnknownFilesEvent

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

Moderator: SourceGear

Post Reply
surak8
Posts: 16
Joined: Mon Nov 30, 2009 2:04 pm

API question -- ResolveUnknownFilesEvent

Post by surak8 » Wed Apr 07, 2010 7:05 am

I am receiving multiple ResolveUnknownFilesEvent.
My questions are:
1) why exactly am I receiving this?
2) am I expected to take any action?

Thanks in advance for any feedback :)

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Re: API question -- ResolveUnknownFilesEvent

Post by jeremy_sg » Wed Apr 07, 2010 8:59 am

The ClientInstance should handle that event for you. I recommend that you do not add a listener for ResolveUnknownFilesEvent.

The reason that this event occurs is that a file exists in the working folder, but was not fetched from Vault. The common cases for this:

1. The client cache directory was deleted.
2. You're setting a working folder on top of a directory which was populated by a NonWorkingFolder get.

When allowed to resolve the unknown file status, the ClientInstance will set the baseline for that file to a version in the repository.
Subscribe to the Fortress/Vault blog

Post Reply