hgignore Questions

2

Solved

Is there any way to include one .hgignore file in another? e.g., say I have a common .hgignore file in a Mercurial subrepository (named hg-common) that ignores files like desktop.ini & .DS_Sto...
Ravage asked 26/5, 2018 at 17:52

3

Solved

I need an .hgdontignore file :-) to include certain files and exclude everything else in a directory. Basically I want to include only the .jar files in a particular directory and nothing else. How...
Cenesthesia asked 2/10, 2009 at 22:15

2

Solved

In my project's .hgignore, I want to exclude /static/ (i.e., the static folder at the root of the directory), but not /templates/static/. How would I configure .hgignore to allow this?
Rudman asked 29/1, 2012 at 5:36

2

Solved

Trying to do something similar to here: Applying .gitignore to committed files Where you apply the new hgignore file to the already committed files. I have node_modules folder already committed w...
Defamation asked 10/8, 2017 at 8:28

4

Solved

What files should be ignored in Mercurial when using Android Studio (1.0 RC4 Windows) for development? Creating new application project also creates .gitignore file. I have translated that to foll...
Introvert asked 5/12, 2014 at 8:32

6

Solved

I am looking for an expression for the .hgignore file, to ignore all files beneath a specified folder. eg: I would like to ignore all files and folders beneath bin Actually any advice on how the ...
Melisent asked 31/10, 2008 at 15:55

3

Solved

I have the following in my .hgignore file: syntax: glob obj/* bin/* *.suo *.user *.ncb If I comment out the *. filters, the filtering works fine filtering out the files in the bin and obj folder...
Deerhound asked 10/1, 2012 at 4:46

2

Solved

I hate seeing nearly every directory in my repository list each file twice, once with a dot in front of it and once without. I tried adding .* to my .hgignore file, but it has no effect. Is this th...
Adrial asked 7/3, 2010 at 4:26

1

gitignore has the ability to define ignore exception by using optional prefix !, for example, in order not to ignore particular file foo.dll: *.dll # Exclude all dlls !foo.dll # Except for foo.dll...
Belter asked 31/12, 2015 at 3:16

4

Solved

Caveat: I try all the posibilities listed here: How can I ignore everything under a folder in Mercurial. None works as I hope. I want to ignore every thing under the folder test. But not ignore s...
Milkmaid asked 21/11, 2008 at 20:37

1

Solved

I'm posting this as a Q&A to document a workaround for a problem that seems to come up frequently—how to put MySQL Workbench files under version control—but for which I have been unable to find...
Schism asked 9/11, 2015 at 17:32

2

Solved

I could have sworn there was a way to keep a local ignore file in an hg repo, i.e. a file similar in function to .hgignore, but not checked into the repo. This could be used to ignore changes to an...
Aurlie asked 15/6, 2009 at 14:54

2

Solved

I know about .hgignore and how I can ignore files on a project-by-project basis. I want to ignore stuff for all Mercurial repositories. Is there something I can stick in .hgrc? Or put a .hgignore ...
Sruti asked 10/7, 2011 at 22:31

3

Solved

I am looking to use nuget without committing the packages. I want to ignore in mercurial all packages subfolder that are located in the /packages/ folder, but I do not want to exclude the repositor...
Barragan asked 8/6, 2011 at 17:58

1

Solved

As a followup to my question on VS2012, are there any addition that should be made to the .hgignore file for VS2013? Below is the previous answer. #################################################...

5

Solved

Is there a command in mercurial that will list all files currently under source control? I can do a dir /s to list all files in my folder and subfolders, but I have no idea which have been added ...
Brayer asked 8/6, 2010 at 18:20

5

Solved

I have seen samples for Mercurial ignore files for Visual Studio, amongst others. I've just started playing around with Android development, and I also use this time to experimenting with Mercuria...
Zeldazelde asked 9/9, 2010 at 13:57

1

Solved

If so, why? With git, these only showed up for me after resolving conflicts. However with hg and sourcetree, discarding changes creates .orig files. I know there is a command to discard without sav...
Erleena asked 8/5, 2014 at 16:57

1

Solved

Mercurial is presently ignoring a file which I believe shouldn't be ignored. The .hgignore file is remarkably large, and after a cursory read-through it's not obvious which rule(s) is/are the culpr...
Ultramontanism asked 2/4, 2014 at 4:1

1

Solved

I am trying to set up an hg repo for an old project on Windows. I want to ignore images, binaries, and some 3rd party source files, however these files contains different casing for the same patter...

8

Solved

I have a file with database settings in my project which I have set to some defaults. The file is tracked by Mercurial and checked in. Since this file will be edited with different values various d...
Nadianadine asked 18/5, 2010 at 11:3

4

Solved

Using Mercurial, I need to ignore all files and directories except directories "tests" and "languages" and files in those directories. That all must be done with regex and .hgignoere Files: test...
Across asked 14/7, 2010 at 13:44

2

Solved

Mercurial can be configured to ignore files whose filename have a certain extension. For example, *.txt files can be ignored by adding this to ~/.hgignore: syntax: glob *.txt How can I setup my ...
Inexcusable asked 13/5, 2013 at 7:55

2

Solved

I currently use the answer to a similar question for Visual Studio 2010 as my go to hgignore file. Are there any notable additions to include with VS2012? Below is a compiled list from many diff...
Babb asked 3/10, 2012 at 13:22

4

Solved

I'm quite often concerned that my hgignore file may be excluding important files. For example I just noticed that I was excluding all .exe files which excluded some little executable tools which sh...
Lu asked 3/9, 2012 at 9:14

© 2022 - 2024 — McMap. All rights reserved.