Mercurial - How do I create a .zip of files changed between two revisions?

前端 未结 9 2142
迷失自我
迷失自我 2021-02-04 16:29

I have a personal Mercurial repository tracking some changes I am working on. I\'d like to share these changes with a collaborator, however they don\'t have/can\'t get Mercuria

9条回答
  •  悲&欢浪女
    2021-02-04 16:50

    I know you already have a few answers to this one but a friend of mine had a similar issue and I created a simple program in VB.Net to do this for him perhaps it could help for you too, the prog and a copy of the source is at the bottom of the article linked below.

    http://www.simianenterprises.co.uk/blog/mercurial-export-changed-files-80.html

    Although this does not let you pick an end revision at the moment, it would be very easy to add that in using the source, however you would have to update to the target revision manually before extracting the files. If needed you could even mod it to create the zip instead of a folder of files (which is also nice and easy to manually zip)

    hope this helps either you or anyone else who wants this functionality.

提交回复
热议问题