how to allow files starting with period and no extension in windows 2003 server?
How can I create this file in a directory in windows 2003 SP2: .hgignore I get error: You must type a file name. ...
How can I create this file in a directory in windows 2003 SP2: .hgignore I get error: You must type a file name. ...
What is a good setup for .hgignore file when working with Visual Studio 2008? I mostly develop on my own, only occasionly I clone the repository for somebody else to work on it. I'm thinking about obj folders, .suo, .sln, .user files etc.. Can they just be included or are there file I shouldn't include? Thanks! p.s.: at the moment I ...
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 expressions are formed would be great ...
Caveat: I try all the posibilities listed here: http://stackoverflow.com/questions/254002/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 srcProject\test\TestManager I try syntax: glob test/** And it ignores test and srcProject\test...
Hi gurus, We're using CakePHP for a new application, and we use Mercurial as the source control tool. (Mercurial uses one .hgignore file in the root directory, unlike (for example) CVS that uses .cvsignore in any directory.) I'd like to exclude the content of the app/tmp/ directory from the source control (since they change all the tim...
Is there any way to ignore changes to some files on a commit with mercurial? I've got a specific situation where we have a default oracle tnsnames.ora file that points to 127.0.0.1, but some developers will modify it to point to other systems, but we don't want to change the default file. In subversion, I've simple added this to the i...
I'm trying to get Mercurial to ignore a configuration file, but I'm failing to get it working. I have created a repository on my server with hg init and cloned that repository to my computer. I then want to be able to edit the configurationj file but not commit those changes back to the server. I have tried creating a .hgignore in the...
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 IDE project file if different IDEs are being used, for example. I'm having trouble finding how it's done. Does anyone recall the details? ...
Hello, I have a problem which I can't seem to understand. I'm using TortoiseHg (version 0.7.5) on windows but on linux I have the same problem. Here it is: My .hgignore file: syntax: regexp ^[^\\/]+$ What I'm trying to achieve is to add to the ignore list the files which are in the root of the hg repository. For example if I have l...
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 can I do this? I'm not that skilled in regular expression syntax. Or can I do it with glob syntax? (I prefer that for readability) Just as a...
Can anyone tell me the .hgignore pattern to track one specific file in a directory and to ignore everything else? I have a "media" directory which contains a "default.png", for obvious purposes, and the rest of the directory will hold user media. We want hg to ignore everything in the media directory excepting the default file. ...
How can ask Mercurial to warn me before I add files which would otherwise be ignored? For example, something like: $ hg add foo.o warning: adding ignored file foo.o There seems to have been a patch submitted to the mailing list: http://www.selenic.com/pipermail/mercurial-devel/2008-February/004993.html But I can't find any further r...
Hi - I'm trying to ignore a file in my project with .hgignore, and just can't figure it out. The file is located in app/views/patterns/_changes.erb (relative to the root of the project, where .hgignore is), and nothing I try seem to work: #.hgignore syntax: glob app/views/patterns/_changes.erb *changes.erb public/files/* # this works ...
Using Mercurial, I need to ignore all files except for those in a certain directory called "keepers". On the face of things, this seemed easy using Regex and Negative Lookahead; however, although I am able to verify my regex in Regex Buddy and other tools, in TortoiseHg, it doesn't work as expected. Files: junk\junk.txt junk\text kee...
Hi friends, I use mercurial for php projects at localhost. and my .hgignore is not working :/ we host it under .hg/ folder, dont we? I googled so much for the issue, my code is exactly same with other examples, but mine is not working :/ /.hg/.hgignore file # Allow *. syntax syntax:glob # Ignore these files .hgignore .htaccess .hg/...
Is it possible, while using glob syntax for an .hgignore file, to recursively ignore certain files and folders, except one? Assuming that you have: a/ a/b a/c a/d Something like: syntax globe: a ^a/b This should ideally ignore c and d and keep b. I know this has been discussed in other SO questions, but it seems they're all using...
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 the wrong syntax, and more importantly, is it a bad idea to try this in the first place? Thanks. ...
Hello I didn't see a question on this subject in the archives, so here goes: For those of you experienced Mercurial users, is this a correct .hgignore file to tell VB.Net Express to ignore files/sub-dirs when adding items in a new repository? bin obj temp *.user *.suo *.ncb Thank you. ...
I've been working for a long time with a .hgignore file that was fine and recently added one new type of files to ignore. When running "hg status", I noticed this: M .hgignore So Mercurial considers the .hgignore to be a file that needs to be tracked (if it's a the root of the project). Now I've read various docs but my points weren...
I'm looking for a way to modify my .hgignore file to ignore all "Properties/AssemblyInfo.cs" files except those in either the "Test/" or the "Tests/" subfolders. I tried using the negative look-behind expression (?<!Test)/Properties/AssemblyInfo\.cs$, but I didn't find a way to "un-ignore" in both folders "Test/" and "Tests/". ...