how to ignore files in kiln/mercurial using tortoise hg “that are part of the repository”

后端 未结 4 1205
南方客
南方客 2020-11-27 23:46

We use tortoise hg with Kiln. In my vs 2010 c# project there are some files that are part of the repository but I would like tortoise hg to ignore them when I make a commit.

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-28 00:03

    The answer by Christian is the right one, but I want to mention that TortoiseHg supports what you want with their Auto Exclude List.

    One problem with an exclude list is that it cannot work with merges: you must commit all files when you merge and so you'll have to do a little dance with shelve, merge, commit, and unshelve.

提交回复
热议问题