MSDN > フォーラム ホーム > Getting Started With Visual Studio Team System > How to Update the comment after check in
質問する質問する
 

回答済みHow to Update the comment after check in

回答

  • 2006年7月26日 17:23Adam Singer - MSFT ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     回答済み

    I assume you mean the contents of the "Comment" field in the checkin dialog?

    You can modify any checkin which you either created or have "ReviseOther" permission to all the items in the changeset. Suppose you want to update changeset 10. From the a Visual Studio Command Prompt, you can type "tf changeset 10" from within working folder of your workspace and then modify and save the changeset. From the IDE, you can open the changeset one of several ways- get the history of an item modified in the changeset and then right-click and select "Details" on the changeset you wish to update; select a item modified in the changeset and select the menu "Edit" -> "Go to..." to bring up the "Find Changesets" dialog and then search for the changeset, etc. No matter how you bring up the dialog in the IDE, it should give you the option to update the comment and checkin notes.

    Hope this helps-

    Cheers,
    Adam

  • 2006年8月16日 18:44Adam Singer - MSFT ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     回答済み

    How did you open the changeset? In the Beta3 and Beta3 Refresh versions, the Changeset dialog would not always open in "editable" state. However, in the RTM version, it always will. Please consider upgrading- there were many bug fixes and updates between Beta3 Refresh and RTM, including a fix for the issue you mention with changes not being uploaded.

    To work around that, you can specify "tf changeset <number> /server:<servername> /comment:<new comment>". Then, add one space to the comment in the window and click save. This will update the comment you specified on the command line. If you have a very long comment, you can type it into a text file (e.g. "comment.txt") and then use the command option "/comment:@comment.txt".

    Hope this helps-

    Cheers,
    Adam

すべての返信

  • 2006年7月26日 17:23Adam Singer - MSFT ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     回答済み

    I assume you mean the contents of the "Comment" field in the checkin dialog?

    You can modify any checkin which you either created or have "ReviseOther" permission to all the items in the changeset. Suppose you want to update changeset 10. From the a Visual Studio Command Prompt, you can type "tf changeset 10" from within working folder of your workspace and then modify and save the changeset. From the IDE, you can open the changeset one of several ways- get the history of an item modified in the changeset and then right-click and select "Details" on the changeset you wish to update; select a item modified in the changeset and select the menu "Edit" -> "Go to..." to bring up the "Find Changesets" dialog and then search for the changeset, etc. No matter how you bring up the dialog in the IDE, it should give you the option to update the comment and checkin notes.

    Hope this helps-

    Cheers,
    Adam

  • 2006年8月16日 17:08Mamatha ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     

    I had to update a comment on a changeset, but I have the changeset comment (created by me) as a read-only text.

    I am using beta3 Refresh with Contributor user rights on the project.

    AlsoI tried to update it from the command-line using the tf changeset <changesetnumber> /server:<servername>, which brings the changeset dialog with editable comment window. I change the comment and click "Save" , but my changes are not published on the server.

    Any inputs/thoughts to this.

  • 2006年8月16日 18:44Adam Singer - MSFT ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     回答済み

    How did you open the changeset? In the Beta3 and Beta3 Refresh versions, the Changeset dialog would not always open in "editable" state. However, in the RTM version, it always will. Please consider upgrading- there were many bug fixes and updates between Beta3 Refresh and RTM, including a fix for the issue you mention with changes not being uploaded.

    To work around that, you can specify "tf changeset <number> /server:<servername> /comment:<new comment>". Then, add one space to the comment in the window and click save. This will update the comment you specified on the command line. If you have a very long comment, you can type it into a text file (e.g. "comment.txt") and then use the command option "/comment:@comment.txt".

    Hope this helps-

    Cheers,
    Adam