schacon/hg-git

Wrong git exclude file generated

RalfJung opened this issue · 4 comments

When initially calling "hg gexport" with intree=true, the script creates a file called ".git/info/excludes". Adding anything to that file does not have any effect through, it should be called ".git/info/exclude".

(btw, thanks for this great tool which allows me to keep my git workflow with a remote hg repo!)

I believe this is a dulwich issue - what version are you using? Have you tried upgrading it?

I installed version 0.4.1-1 from the ubuntu repositories. Since I try to keep the amount of manually installed applications and libraries to a minimum, I did not try to upgrade it.

You should upgrade the package - this is fixed after http://github.com/jelmer/dulwich/commit/b90325bd or dulwich 0.6.0.

Okay, I managed to install dulwich locally into the hggit-folder, and now that issue is gone. Thanks a lot!