sift icon indicating copy to clipboard operation
sift copied to clipboard

Request: support to ignore files/dirs from .hgignore

Open MiguelLatorre opened this issue 9 years ago • 3 comments

Wow. I 've just saw #13 is already implemented. Since hg and git are friends ... It would be great to also ignore the files and directories specified in .hgignore files.

MiguelLatorre avatar Dec 23 '15 13:12 MiguelLatorre

Thanks for the suggestion - I am just now working on the release of version 0.6.0 that will include .gitignore support, it should be up within the next hour (I will post some comments on #13).

I do not use mercurial, but I guess there might be some more users with interest in this feature. If I can reuse some parts of the gitignore implementation, this should be easier to implement now - but I guess it will too take some time.

svent avatar Dec 23 '15 13:12 svent

Thanks for the quick response. I use git just for cloning and pulling but hg in my everyday's work. Unfortunately I know nothing about go. For a fast overview, I post the links to the docs about the two *ignore files. https://git-scm.com/docs/gitignore https://www.selenic.com/mercurial/hgignore.5.html

MiguelLatorre avatar Dec 23 '15 17:12 MiguelLatorre

I just read through the specification for .hgignore files - it looks nice on the first view, but the details are quite complicated.

On the other side most people seem to use only the basic functionality, so I might implement this as a "light" variant without full support of all possible options and variants.

All in all this is currently a lower priority for me as the effort seems to be quite high and I already work on other features - I will hopefully implement this in the upcoming year.

svent avatar Dec 23 '15 23:12 svent