2

When I list my pending merges between Branch1 and Branch2 on Visual Studio it shows them. But If I use tf it doesn't. The command I am using to list my pending merges with TF is:

tf merge /candidate Branch1 Branch2

And I get

There are no changes to merge.

Why is TF showing no pending merges?

I am using Visual Studio 2013 with TFS 2013.

Dzyann
  • 5,062
  • 11
  • 63
  • 95
  • Not sure, but do you also use the "/recursive" flag? If not, I could imagine that it only checks the root folders itself for changes, where usually aren't any. – MikeR Apr 20 '15 at 07:43
  • @MikeR - Yes, i didn't realize of that. Also need to make sure you are standing in the correct folder on the command prompt, by mistake a couple of times I was testing from the wrong folder. If you add your comment as an answer I will accept it. – Dzyann Apr 27 '15 at 13:13

1 Answers1

1

You need to add the /recursive flag, otherwise tf merge will only compare the folders and will not check the child elements.

Of course you need to be in the workspace at the right location, to run the command.

MikeR
  • 3,045
  • 25
  • 32