How can I extract all changed files of a changeset in Mercurial?

前端 未结 4 409
执笔经年
执笔经年 2021-02-02 03:40

Until recently we have been using SVN for all projects of our web studio, and there is a very convenient feature present in several clients like Subversive and TortoiseSVN that

4条回答
  •  走了就别回头了
    2021-02-02 04:03

    Depending on your ned, there are two command:

    1. To get the changes associated with a particular revision, you can use hg export:

      hg export -r 23
      

    This will generate a diff of all the changes (actually a formatted patch, ready to be applied)

    1. To get the name all the files that were affected, you can use hg log:

      hg log -r 23 -v
      

    This will print the meta-info for the revision, along with the names of the files that were affected.

提交回复
热议问题