Поделиться через


New CommandLine Option for Branch in Orcas

In Orcas we have added an additional option to the branch command which gives the user a fast way to create a branch without having to download any of the files or get operations locally. The option is /silent and instructs the server to not send back any get operations. Ofcourse this means you will not see the scrolling list of files and there will be no status until the command completes.

To use it:

D:\temp_dd\ws>tf branch src tgt /silent

D:\temp_dd\ws>tf status
File name Change Local path
--------- ------ --------------------------------------------------------------
$/proj
tgt       branch D:\temp_dd\ws\tgt

$/proj/tgt
1.txt     branch D:\temp_dd\ws\tgt\1.txt

2 change(s)

We have found it very useful for our large devdiv branch creations.

Cheers,

Chandru

P.S. The usual caveat applies that this might change before Orcas ships.

Comments

  • Anonymous
    May 11, 2007
    The comment has been removed

  • Anonymous
    May 13, 2007
    do you think about a /silent option for rollback operation?

  • Anonymous
    May 14, 2007
    Mathieu - I am not sure what you mean by "a /silent option for rollback operation". Can you clarify? Chandru