MSDN > Home page del forum > Getting Started With Visual Studio Team System > How to Update the comment after check in
Formula una domandaFormula una domanda
 

Con rispostaHow to Update the comment after check in

Risposte

  • mercoledì 26 luglio 2006 17.23Adam Singer - MSFT Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     Con risposta

    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

  • mercoledì 16 agosto 2006 18.44Adam Singer - MSFT Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     Con risposta

    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

Tutte le risposte

  • mercoledì 26 luglio 2006 17.23Adam Singer - MSFT Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     Con risposta

    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

  • mercoledì 16 agosto 2006 17.08Mamatha Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     

    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.

  • mercoledì 16 agosto 2006 18.44Adam Singer - MSFT Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     Con risposta

    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