Ask a questionAsk a question
 

Answertf merge not recognising my source and target

  • Thursday, November 05, 2009 11:44 AMhodgezappa Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    I'm using the command line tool to issue a merge command (TFS2005) my command is this:
    tf merge /force “$/somepath/somefolder-test” “$/anotherpath/anotherfolder-mainline” /recursive /version:C30088~C30088
    I have triple checked that my source and target paths are correct and that the changeset number is right, i keep getting this error:
    Exactly two items (source and target) are required.

    i am specifying the source and target so why is it saying this?

    Any help would be appreciated.

    HodgeZappa

Answers

  • Thursday, November 05, 2009 3:01 PMhodgezappa Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hello, thanks for your response, the issue was that i'd pasted the text from word, word was using some fancy double quotes instead of the ones you'd see in notepad.  So i replaced the quotes and tried again and its fine now. ahhhh

All Replies

  • Thursday, November 05, 2009 2:26 PMJehan33 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    Syntax of the tf merge command is fine, the issue may be the path given.

    tf merge /force “$/somepath/somefolder-test” “$/anotherpath/anotherfolder-mainline” /recursive /version:C30088~C30088


  • Thursday, November 05, 2009 3:01 PMhodgezappa Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hello, thanks for your response, the issue was that i'd pasted the text from word, word was using some fancy double quotes instead of the ones you'd see in notepad.  So i replaced the quotes and tried again and its fine now. ahhhh