I'm not expert using Sourcetree, even though it's almost an year that I use it for basic operations. Lately I noticed that every time I add new files in my project, they're not added to the verioning system and it took a while for me to understand why. I eventually found out that they are ignored, even though they shouldn't be because they're not listed in the .hgignore file (not even as a content of an ignored directory).
So far the solution is to manually check if the file have been ignored and then add them, but as it easy to imagine, it's not the most confortable situation. I'm always worried to forget something and lose some files.
Can someone try to explain me what's happening?
This may well be because you're looking at the wrong .hgignore. There's a global .hgignore file also. An easy way to look for all of your hgignore files is to call "locate .hgignore" at the terminal. You'll probably find one alled /Users/<username>/.hgignore_global. This may well have an ignore pattern in it which is causing those files to be ignored.
Does a syntax defined in .hgignore_global carry over to .hgignore files? The default for .hgignore files is regexp, but I notice in my .hg_ignore file that the syntax is defined as glob.
I assume that the syntax reverts when a new .hgignore file is encountered.
(I assume that some upgrade created the !/.hgignore_global file.)
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
...staring into the background. Once the image pops out in 3D, you can look around the picture and enjoy. If you will see if you are a true illusion master! :) You did it? :) Wow! Awesome! As a bonus...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs