Questions tagged [getlatest]

39 questions
1
vote
1 answer

Fastest way to query latest version in large SQL Server table?

What is the fastest way to query for "latest version" on a large SQL table using an update timestamp in SQL Server? I'm currently using the inner join approach, on very large SQL Server weather forecast table by Date, City, Hour, Temperature,…
George
  • 11
  • 2
1
vote
1 answer

How to check changes made in specific files in project

I am working on a solution on Microsoft Visual Studio 2013 Premium, among a large group of developers. Every time someone makes changes in any file, i get the latest version of the solution and the Output Window gives a list with all the modified…
Tasos Moustakas
  • 308
  • 3
  • 12
  • 22
1
vote
1 answer

Visual Studio 2015: how to "Get Latest Version" only for projects belong solution

I'm experiencing a strange behavior of Visual Studio 2015 connected to Team Foundation Server 2010 when "get latest version" of solution. When I perform "get latest version" of solution, Visual Studio 2015 will get all source controlled files and…
Nicola C.
  • 2,717
  • 3
  • 18
  • 25
0
votes
2 answers

How to check when TFS Workspace.Get method is complete?

I am using the Workspace class from the Microsoft.TeamFoundation.Client namespace to get the latest code for a particular branch from a Team Foundation Server. workspace.Get(new string[] { SelectedRelease.ServerPath },…
Sheridan
  • 68,826
  • 24
  • 143
  • 183
0
votes
1 answer

C# TFS Set Latest Information of File programmatically?

I wrote an Visual Studio Extension for our Company, which gets the Specific Version of Files in a Solution based on Microsoft TFS. We use Visual Studio 2015 / 2019. My question is, is there some way to set the "Latest" Information of an File which…
F.Rahm
  • 1
0
votes
1 answer

How to exclude filetypes when getting latest in Perforce

When I get latest revision on a folder it gets all files in that folder. How can I get all files except files with the extension ".ztl" ? Adding this extension to the p4ignore.ini blocks the submit of them but not the get latest.
Hannes
  • 111
  • 1
  • 5
0
votes
1 answer

How to get/filter the latest value of a field?

I have models as below: class ProjectRecord(models.Model): user = models.ForeignKey(User,on_delete=models.CASCADE, null=True, blank=True,related_name='user_projects') project = models.ForeignKey(Project,on_delete=models.CASCADE, null=True,…
Elsa
  • 1
  • 1
  • 8
  • 27
0
votes
1 answer

Check if all files in TFS folder are "latest"

I´d like to check if all files in an specific tfs folder are "latest". If they are not (see picture) a get-latest will be executed. If they are all "latest" no get-latest will be performed. The reason why I´d like to prevent always executing a…
L4c0573
  • 333
  • 1
  • 7
  • 23
0
votes
2 answers

Get Max(date) or latest date with 2 conditions or group by or subquery

I only have basic SQL skills. I'm working in SQL in Navicat. I've looked through the threads of people who were also trying to get latest date, but not yet been able to apply it to my situation. I am trying to get the latest date for each name, for…
Yeye
  • 11
  • 1
0
votes
4 answers

Distinct and latest submissions

I have a table where each customer can submit many requests, but only latest requests would be entertained. For example, Customer1 may have only submitted 1 request and CustomerX may have submitted 10 requests. So when I pull the report it would…
almavrick
  • 13
  • 1
0
votes
1 answer

How to automatically get latest version from TFS server in Team Explorer 2013?

We are using Team Explorer 2013 with TFS to share test scripts in our project. But, we need all the latest scripts that have been updated before we run the test suite. We are unable to find an option in Team Explorer 2013 as suggested in other…
Kaushik
  • 553
  • 3
  • 11
  • 27
0
votes
1 answer

Error when scheduled build in Agent queue tries to sync repository

I am using an TFS agent to schedule some Build using triggers. My issue is that when the build starts it wants to get latest version (sync repository). But I get an unusual error: I have literally no ideea where to begin, it's like it could reach…
TBogdan
  • 737
  • 7
  • 17
  • 34
0
votes
1 answer

Automatically checking out TFS changes from one machine to another

I'm writing Protractor/Jasmine E2E tests on a local machine in Visual Studio 2015 which has my project stored through TFS and then I am running those tests each night on another machine. I may be misunderstanding the concept here and/or missing the…
d.rodriguez
  • 319
  • 6
  • 17
0
votes
1 answer

TFS: Enforce checkout of latest version for non-mergeable files

We have some files with binary content in our TFS repository. To avoid conflicts we already disabled the option "Enable file merging and multiple checkout" for those file types. But we still run into problems when someone checks out an older than…
Martin
  • 1
0
votes
2 answers

C# WPF SQL) How to know latest date(where user inputed a record) or biggest value in specific month in SQL database table programmatically?

This is not about last day of specific month. I'm trying to calculate CAGR ratio (compound annual(month) growth rate). So, at the last inputed date, there's always biggest value in the specific month meaning the value only increase. However, there's…
Kay Lee
  • 922
  • 1
  • 12
  • 40