Search found 48 matches
- Mon Oct 30, 2006 8:31 am
- Forum: Gold Support (Vault) -- Read-only
- Topic: Daylight Savings Time Bug?
- Replies: 2
- Views: 3484
Daylight Savings Time Bug?
Hello, I have a custom application that uses the Vault API. I am running version 3.1.2 for both client and server. I believe I am witnessing a difference between how time conversions from GMT to local time are performed for history queries vs. file gets. I'll try my best to explain as clearly as I c...
- Tue Mar 07, 2006 12:14 pm
- Forum: Gold Support (Vault) -- Read-only
- Topic: API to get past file version does not have correct timestamp
- Replies: 6
- Views: 5075
I have to query for the ObjVerID as well, so it's not like I have the date left over from a just prior action. But, maybe I can combine getting the Date and ObjVersionID which will help a bit. As for your point #2, I'll have to look into it. I have noticed that whenever a file is placed in the cache...
- Tue Mar 07, 2006 11:45 am
- Forum: Gold Support (Vault) -- Read-only
- Topic: API to get past file version does not have correct timestamp
- Replies: 6
- Views: 5075
I would prefer to use GetByDisplayVersion, and I tried this originally, but it didn't use the cache. Check out the support thread I created back then:
http://support.sourcegear.com/viewtopic.php?t=4675
http://support.sourcegear.com/viewtopic.php?t=4675
- Tue Mar 07, 2006 11:19 am
- Forum: Gold Support (Vault) -- Read-only
- Topic: API to get past file version does not have correct timestamp
- Replies: 6
- Views: 5075
I'm using the Get method instead of GetByDisplay version because I want to make use of the cache, so the command line client code won't work for me. My way works as long as I make the history query to get the check-in date. Is there any faster way to lookup a check-in date for a specific version of ...
- Tue Mar 07, 2006 7:53 am
- Forum: Gold Support (Vault) -- Read-only
- Topic: API to get past file version does not have correct timestamp
- Replies: 6
- Views: 5075
API to get past file version does not have correct timestamp
Hello, To get a specific older version of a file with the API I am doing the following: ----------------------------------------------------------------- svFile = g_svCI.TreeCache.Repository.Root.FindFileRecursive(FullPath) svFileClone = svFile.Clone(svFile.Parent) svFileClone.Version = OlderVersion...
- Thu Dec 15, 2005 5:31 pm
- Forum: Gold Support (Vault) -- Read-only
- Topic: .NET API Client to store baselines in working folder.
- Replies: 3
- Views: 3007
Hum... It looks like if I set StoreDataInWorkingFolders to true after I set a new working folder association, it works. Before I was setting storedatainworkingfolders after calling .Init of the client object... I think your response is talking more about the location of the cache files than the loca...
- Thu Dec 15, 2005 3:04 pm
- Forum: Gold Support (Vault) -- Read-only
- Topic: .NET API Client to store baselines in working folder.
- Replies: 3
- Views: 3007
.NET API Client to store baselines in working folder.
Hello, I have a custom client that uses the .NET API. I would like this client to store basline files in the working folders, so when I create the client instance I call: .WorkingFolderOptions.StoreDataInWorkingFolders = True However, when I do a get, no _sgvault folder is created in the working fol...
- Mon Nov 21, 2005 3:44 pm
- Forum: Gold Support (Vault) -- Read-only
- Topic: Vault API Client has intermittent cache corruption.
- Replies: 8
- Views: 7054
- Mon Nov 21, 2005 2:57 pm
- Forum: Gold Support (Vault) -- Read-only
- Topic: Vault API Client has intermittent cache corruption.
- Replies: 8
- Views: 7054
Thank you Dan, Could you please explain the difference between .Refresh and .DoLocalRefresh? I am worried that perhaps I misunderstand when it is appropriate to call each one. You say that .Refresh is a server side op... I am under the impression that it fetches new tree folder/file information from...
- Fri Nov 18, 2005 2:52 pm
- Forum: Gold Support (Vault) -- Read-only
- Topic: Vault API Client has intermittent cache corruption.
- Replies: 8
- Views: 7054
Both instances are using the same account. It is equivalent to opening two instances of the Vault Client GUI on one machine (both logged in as the same user). I believe I have done this before with the client GUI with no issues, so the Client GUI must be doing something to keep the cache in order th...
- Fri Nov 18, 2005 1:54 pm
- Forum: Gold Support (Vault) -- Read-only
- Topic: Vault API Client has intermittent cache corruption.
- Replies: 8
- Views: 7054
Some more information
It looks like this problem occurs when more than one instance of the application is running on the machine at a time. I assume they both write to the same disk cache, and my current hypothesis is that one instance makes some changes to disk that confuses the other instance. Does this sound like a fe...
- Fri Nov 18, 2005 9:20 am
- Forum: Gold Support (Vault) -- Read-only
- Topic: Vault API Client has intermittent cache corruption.
- Replies: 8
- Views: 7054
Vault API Client has intermittent cache corruption.
Hello, I have a custom application that uses the Vault API. I am finding that periodically this application loses the ability to get files, or reports incorrect information during checkin (local version needs merge when it doesn't, or local copy hasn't been modified when it has). In any of these cas...
- Wed Oct 12, 2005 9:14 am
- Forum: Gold Support (Vault) -- Read-only
- Topic: Obliterate Performance - Custom Stored Procedure
- Replies: 4
- Views: 4503
Thanks for the clarification Ian. Unfortunately, I'm in a similar position to the other user. I need to obliterate a large amount of data (Gigs) and haven't been successful through the GUI. I'm not sure what else to do. If there was some way to export files (with their history) from one database to ...
- Wed Oct 12, 2005 8:35 am
- Forum: Gold Support (Vault) -- Read-only
- Topic: Obliterate Performance - Custom Stored Procedure
- Replies: 4
- Views: 4503
- Tue Oct 11, 2005 12:00 pm
- Forum: Gold Support (Vault) -- Read-only
- Topic: Obliterate Performance - Custom Stored Procedure
- Replies: 4
- Views: 4503
Obliterate Performance - Custom Stored Procedure
Hello, Like many other users, I have run into problems with the very slow performance of the 'Obliterate' function. Reviewing the posts that have been made on this topic I saw a suggestion to use SQL to directly call the spobliteratefsobject stored procedure. The only problem with this is that it re...