Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Mercurial (Hg) ignores *.dlls on purpose?!

Discussion in 'Formats & External Tools' started by michal_k, Oct 29, 2015.

  1. michal_k

    michal_k

    Joined:
    Jul 31, 2014
    Posts:
    33
    Hi,

    I'm using Mercurial with TortoiseHg as my VCS. I'm using Windows.
    Recently, I've found that *.dll files are somehow ignored automatically because when I've commited ALL changes files on 1 machine, on second machine there were missing libraries!!! Like SharpCompress, LitJSON...

    How to change this and force Mercurial to track DLL files?

    Here is my .hgignore file - nothing related to dlls here!!! Also I've checked in other repos, even without any hgignore same thing happens.

    Code (CSharp):
    1. syntax: glob
    2. # =============== #
    3. # Unity generated #
    4. # =============== #
    5. Temp/**
    6. Library/**
    7.  
    8. # ===================================== #
    9. # Visual Studio / MonoDevelop generated #
    10. # ===================================== #
    11. ExportedObj/**
    12. obj/**
    13. *.svd
    14. *.userprefs
    15. *.csproj
    16. *.pidb
    17. *.suo
    18. *.sln
    19. *.user
    20. *.unityproj
    21. *.booproj
    22.  
    23. # ============ #
    24. # OS generated #
    25. # ============ #
    26. .DS_Store
    27. .DS_Store?
    28. ._*
    29. .Spotlight-V100
    30. .Trashes
    31. ehthumbs.db
    32. Thumbs.db
    33. build/
    34. builds
    35.  
    36. build.properties
    37. syntax: regexp
    38. .apk
    39.  

    Thanks for any input.
     
  2. michal_k

    michal_k

    Joined:
    Jul 31, 2014
    Posts:
    33
    OK, problem solved!

    Turns out Sourcetree somehow added a global hgignore:
    http://stackoverflow.com/a/25097950

    at C:\Users\...\Documents\hgignore_global.txt

    I don't know how this work because my C:\Users\...\mercurial.ini does not contain any reference to that file generated by SourceTree!!!

    Weird...
     
  3. cparki3

    cparki3

    Joined:
    Jan 13, 2014
    Posts:
    41
    I know this is old but thanks for figuring this out! I just switched from github to bitbucket and had this same issue.