Questions tagged [getlatest]

39 questions
681
votes
25 answers

How can I get the latest tag name in current branch in Git?

What's the simplest way to get the most recent tag in Git? git tag a HEAD git tag b HEAD^^ git tag c HEAD^ git tag output: a b c Should I write a script to get each tag's datetime and compare them?
culebrón
  • 34,265
  • 20
  • 72
  • 110
183
votes
19 answers

Why doesn't TFS get latest get the latest?

Why Why WHY doesn't TFS's get latest work consistently? You would have thought that feature would have been tested thoroughly. What I have to do is, get specific version, then check both overwrite writetable files + overwrite all files. Is my local…
Blankman
  • 259,732
  • 324
  • 769
  • 1,199
108
votes
6 answers

Scripting TFS Command Line for Get Latest Version, Check Out and Check in, programmatically

I use WinXP, VS 2008 and Team Explorer to connect to Team Foundation Server. I need to script (e.g. BAT file script) the following: Get latest version of folder in Team Project. Check out files of folder in Team Project. Check in files of folder in…
Kiquenet
  • 14,494
  • 35
  • 148
  • 243
6
votes
1 answer

Is it possible to get the latest version in TFS using some console client?

Currently I found two ways to get the latest version - in Visual Studio using Team Explorer and in Windows Explorer using TFS Power Tools Shell Extensions. Because our TFS server is located vary far from developers working with it is very slow and…
abatishchev
  • 98,240
  • 88
  • 296
  • 433
5
votes
1 answer

Visual Studio 2012 - Get latest and list changed files?

Is there a way to have visual studio 2012 list the files which were updated in the workspace by a get latest operation?
MushinNoShin
  • 4,695
  • 2
  • 32
  • 46
4
votes
1 answer

Get latest and difference between workspaces in TFS

I want to get latest changes along with the difference between local workspace and serverion version from TFS for that I used this code which I got from here private static void GetLatest(string username, string password, string…
Aditya Korti
  • 692
  • 2
  • 12
  • 28
4
votes
1 answer

Get latest method always re-downloading

I'm using TFS SDK and I have a method which allows to get latest versions of projects. But when I was call method, it always re-downloading files. This also takes a long time. I tried that, I get changeSet and I compare particularly items. If item…
mozkarakoc
  • 269
  • 6
  • 14
2
votes
2 answers

P4V Get Latest does nothing

I do not want to go "Get Revision" > "Force". Because half of my stuff is already downloaded. I don't want to overwrite what I already have. P4V Can clearly see that what is in the depot and what is local is completely different. How can I get…
Lens
  • 19
  • 4
2
votes
0 answers

Elasticsearch aggregation on latest documents

I have a document which can be modified any number of times a day. I've ordered these document in time series creating index for each day. And each day would have multiple versions of the same document with different modified date. Document…
Krishna
  • 51
  • 8
2
votes
2 answers

Generate bower file automatically?

In current project I have pretty big bower file. Many dependencies are out of dated and have hardcoded version like ~1.2. I have replaced it with "latest" and run bower install/update and everything went ok. The problem is that I don't want to have…
Krzysztof Kaczor
  • 5,408
  • 7
  • 39
  • 47
2
votes
1 answer

Enforce GetLatest on file read

Is it possible to force the user to get latest of a file before reading from it? An example would be for our custom Code Analysis rule set (.ruleset). I do not want someone to run Code Analysis on an old version of the rule set. We are using …
Dave New
  • 38,496
  • 59
  • 215
  • 394
2
votes
1 answer

mysql - Latest record with matching value and having the latest be positive

I am posting for the first time. I have been trying to figure out the issue with this report. In this report,i want to show the serial numbers for the products that were sold and not returned (+ not - price) most recently. I want to check whether a…
user2402877
  • 33
  • 1
  • 6
1
vote
1 answer

Visual SourceSafe - Disable "Get Latest On Checkout"

I looked for an option to switch off "Get Latest On Checkout" in Visual SourceSafe 2005 and integrated VS2008 menus, but couldn't find one. Is it possible?
henginy
  • 2,041
  • 1
  • 16
  • 27
1
vote
1 answer

Mysql fetch last element of group

Good morning, I am trying to get the most up to date element of a group from the database but no luck so far. Ideas anyone? I guess the solution is quite easy but I am really stuck there... Data:…
AUe
  • 35
  • 4
1
vote
0 answers

MySQL select total latest updates of a type in the last N days

In MySQL, I have a table things which holds things owned by a user_id. The table thing_updates holds updates to things, and have a status and a date_submitted which is a unix timestamp of when the update was made. things do not necessarily have a…
Dion Moult
  • 109
  • 4
1
2 3