ignore

Ignore SVN ignore... possible?

So I have some files I want to ignore in a subversion repository, but I don't want my ignore patterns for this to be propagated to the repository. In other words, I added some private files in my checkout that I want to keep, but they only exist for me and wouldn't make sense to be ignored for everyone, so if I use the svn:ignore, this ...

Can you "ignore" a file in Perforce?

I sometimes use the feature 'Reconcile Offline Work...' found in Perforce's P4V IDE to sync up any files that I have been working on while disconnected from the P4 depot. It launches another window that performs a 'Folder Diff'. I have files I never want to check in to source control (like ones found in bin folder such as DLLs, code gen...

How do I configure the TortoiseSVN 'Global ignore pattern' properly?

I would like TortoiseSVN (1.5.3) to ignore certain folders, their contents and certain other files wherever they might appear in my directory hierarchy but I cannot get the global ignore string right. Whatever I do, it either adds to much or ignores too much What is the correct 'Global ignore pattern' to ignore.... Folders : bin obj r...

Python UnicodeDecodeError - Am I misunderstanding encode?

Any thoughts on why this isn't working? I really thought 'ignore' would do the right thing. >>> 'add \x93Monitoring\x93 to list '.encode('latin-1','ignore') Traceback (most recent call last): File "<interactive input>", line 1, in ? UnicodeDecodeError: 'ascii' codec can't decode byte 0x93 in position 4: ordinal not in range(128) ...

How to keep SVN from updating a directory already in repository

This isn't, I don't think, a standard svn ignore question. I have a repository with a huge directory in it that I don't want. Because others using the repository do, I can't just delete it from the tree. BUT, I don't want to redownload this directory every time I do a svn up. I can understand that ignore will prevent directories that...

Git ignore file for VB.NET projects

I wan to place a VB.NET project under Git control in Windows (was previously under Visual Source Safe - long sad story of repository corruption, etc.). How should I set up the ignore file? The exclusions I'm thinking of using are: *.exe *.pdb *.manifest *.xml *.log (is Git case sensitive on Windows? Should I exclude *.l og as well?) *....

Inserting an object to the db using hibernate, only if it doesn't exist

Let's say I have a mapped User object with a user_id as a primary key, and a mail column with a unique constraint. I want my program to save a User object to the users table only if it doesn't exist. I can do the following thing in my insert function: begin transaction query for a user with the given mail if it doesn't exist, create a...

git, don't show me *.pyc in the list of untracked files!

When doing: >git status It shows a big list of .pyc files under "untracked files". I don't want it to show these, as it adds noise. In other words, how do I make git ignore .pyc files all the time and for all projects? EDIT I'm not asking for a way to spread my ignored files to other people, I really just mean "for all projects", ...

Get Emacs to ignore *.orig files

I end up having a bunch of *.orig files sitting around, from hg reverts. It's annoying when I find myself editing foo.c.orig instead of foo.c by mistake. (I use ido-mode and the first match is not always the shortest.) Is there a way to tell Emacs to ignore *.orig files as though they were *~ files? I'm not having much luck with goog...

Ignore modified (but not committed) files in git?

Can i tell git to ignore files that are modified (deleted) but should not be committed? The situation is that i have a subdir in the repo which contains stuff I'm not interested in at all, so I deleted it to prevent it showing up in auto-completions and the like (in the IDE). But now, if I add that folder to .gitignore, simply nothing ...

Nunit ignore all tests

I can add an attribute on a test to ignore it [Test] [Ignore("Foo Bar")] Is there anyway to ignore all tests in a file (at the TestFixture level) ? ...

Started using git recently ... just noticed clones of my files with ' ~ ' appended in the end... why is this happening

I used git to commit changes in my repository, followed these steps git add . git commit -m "message" but noticed a clone of the file where changes were made also present in the repository new file had '~' symbol appended at the end. why did this happen ? And how can I prevent it in the future ? Also some thoughts on how to remove t...

MySQL + Drupal: Index ignored in INNER JOIN

Our environment: Drupal+MySQL Examining the query log indicates that the following query, originating from Drupal core's node_load function is taking considerable amount of time. EXPLAIN on the node_load query reveals that the index is not used on the USER table. mysql> explain SELECT n.nid, n.vid, n.type, n.status, n.created, n.chang...

Is there a better way to get visual studio to ignore try/catch in debug mode

I want the designer to catch the error when I am debugging and I want the user to see my friendly message if an error occurs for them. I know I can acomplish this with the following: #If Debug=False Then Try #End If 'some code here #If Debug=False Then Catch ex as exception Messagebox.Show("Errors suck") End Try #End If I...

Subversion: ignore modifications to a file locally on one client only

Is it possible to ignore changes to a file in subversion locally on one client only, without propagating the ignore to the whole repository. The particular problem I'm dealing with is that I've checked out a project and modified a bunch of files including the Makefile, which is already part of the repository. Now the environment I'm wor...

SubSonic configuration - how to ignore certain tables

In the database I have about 150 tables - most of them from previous versions of the application I currently work on. For my app I only need about 20 tables - is there a way to ignore some of the tables by setting some parameter in web.config? ...

How to ignore parent css style

I'm wondering how to ignore a parent style and use the default style (none). I'll show my specific case as an example but I'm pretty sure this is a general question. <style> #elementId select { height:1em; } </style> <div id="elementId"> <select name="funTimes" style="" size="5"> <option value="test1">fish</option> ...

Ignore client generated files in Perforce workspace view

Is there a way to have Perforce ignore new files in a client workspace in the workspace view? I have 120 java files that generate over 700 class files, so managing these files in a single folder view is tedious. I recognize generating the output in a separate folder is an elegant solution but not one that is feasible at the moment. ...

Mercurial ignore file

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...

Diff Ignoring GUIDS

When using Diff, how would one go about ignoring line differences that only diff on GUID's? Something along the lines of: diff -I "^.*[a-zA-Z0-9]{8}\-[a-zA-Z0-9]{4}\-[a-zA-Z0-9]{5}\-[a-zA-Z0-9]{5}\-[a-zA-Z0-9]{12}.*$" Where obviously the above doesn't work, but just to get an idea of what is needed. ...