.hg in .gitignore breaks
Created originally on Bitbucket by prologic (James Mills)
If you have .hg/
in the .gitignore
file of a git repository
things no longer work; e.g:
prologic@daisy
Sat Feb 01 22:18:07
~/docker
$ hg st
abort: extra patterns: path contains illegal component: .hg
prologic@daisy
Sat Feb 01 22:18:07
~/docker
$ cat .gitignore
# Docker project generated files to ignore
# if you want to ignore files created by your editor/tools,
# please consider a global .gitignore https://help.github.com/articles/ignoring-files
.vagrant*
bin
docker/docker
.*.swp
a.out
*.orig
build_src
.flymake*
.idea
.DS_Store
docs/_build
docs/_static
docs/_templates
.gopath/
.dotcloud
*.test
bundles/
.hg/
.git/
vendor/pkg/
pyenv