ignore

How can I delete all unversioned/ignored files/folders in my working copy?

If I have a working copy of a Subversion repository, is there a way to delete all unversioned or ignored files in that working copy with a single command or tool? Essentially, I'm looking for the SVN analogue to git clean. Either a command line or GUI solution (for TortoiseSVN) would be acceptable. ...

Maven Mojo & SCM Plugin: Add file to ignore list / set SVN property

Hi there. I'm using maven-scm-plugin from within an own Maven Mojo via an injected ScmManager object and am trying to figure out how to add a file to the SCM ignore list. The methods that ScmManager provides don't seem to support this. An ideal solution would work in all SCM systems that maven-scm-plugin supports. I'm not sure though i...

How to ignore %% from being evaluated?

Hi, one of my variables has the value %val% - this is exactly the name! So: set variable=%val% What happens now is that when running the script the variable will be set to nothing as the %val% is being evaluated! But this is not what I want... How can I tell DOS to ignore the %-sign here? Can anybody out there help me with my questio...

Does JUnit 3 have something analogous to @Ignore

I'm forced to use JUnit 3. If I were using JUnit 4, I would occasionally use @Ignore since several of my tests take a bit of time. Is there anything analogous in JUnit 4? Commenting out tests is sloppy, and changing the name (from testXxx()) could lead to forgotten tests. @Ignore is great, because it always reminds you which tests we...

oracle insert if row not exists

insert ignore into table1 select 'value1',value2 from table2 where table2.type = 'ok' When I run this I get the error "missing INTO keyword" . Any ideas ? ...

ignoring WARNINGs in Django

Hay, my model is a through a "Data truncated for column 'password' at row 1" warning. This is fine, the data does get truncated, but it get fills back in by a different function later on. How can i get django a ignore this warning? I think it's called on the Save() method. ...

Tortoise - cannot delete / ignore folder - keeps telling me I need to clean up

Hi all I have decided to remove the bin folder from one of my web apps from Source Control. It contains only external dlls which are stored in another folder anyway. I right click and choose 'Delete and add to ignore list' but the error message below: Directory 'C:\Kctc\Trunk\Moose\Bin\de is missing Directory 'C:\Kctc\Trunk\Moose\Bin\...

Tortoise - is it possible to ignore new folder before committing it?

Hi all I just added a class library project to my .NET solution. When I built it, it created the bin and obj folders, which I want to exclude from version control. However, Tortoise won't let me ignore the folders before the first commit. (I think it says 'Cannot add to ignore list' or something similar). I have to check the whole lot ...

Ignoring lines that begin with #

I am reading in a flat text file, normally the first few lines are comments, how can I tell me script to ignore them? The relevant section of the script is: <?php $delimiter = chr(1); $eoldelimiter = chr(2) . "\n"; $fp = fopen('app2','r'); if (!$fp) {echo 'ERROR: Unable to open file.</table></body></html>'; exit;} $loop = 0; while (!f...

How can I diff two files, but ignore differences in Perl/C/C++ comments?

Hi, I would like to take the diff of two source code files, but I don't want it to report any differences for lines that only contain a programming language comment. The types of comments I would like it to ignore are: // ... # ... /* ... */ ...

Ignoring a directory chain in git?

I need to ignore the following. In paths like /a/b/c/d/e/f/g, I need to ignore /d/e/f/g. I also need to be able to ignore every place /d/e/f/g appears beneath a. I tried d/e/f/g, but that did not work. Thoughts? ...

ignore palm on iPad ideas?

Anyone have any ideas on how to ignore when the user puts their palm on the iPad when drawing? Apparently there's a program that does this called "Penultimate", but I'd like to put this functionality in my drawing portion of my program. Any ideas appreciated. Thanks! ...

how to use IGNORE?

i have mysql code for input data: $sql = "INSERT IGNORE INTO inspection_report "; $sql.= "(Model, Serial_number, Line, Shift, Inspection_datetime, Range_sampling, Packing, "; $sql.= "Accesories, Appearance, Tuner, General_operation, Class, Status, Remark, "; ...

SQL INSERT IGNORE: skip values in a special case

Hi, I'm trying to skip an INSERT in a particular case, where one of two involved values is a specific value: // this can work if Beech allready exists INSERT IGNORE INTO my_table (col_wood_name, col_type) VALUES ("Beech", 0) // this should be skipped if Beech allready exists with col_type = 1 INSERT IGNORE INTO my_table (col_wood_name,...

Ignore an entire directory in Visual Studio before a build?

I currently have a project I am building in Visual Studio 2005 and I need to be able to build the part of the project some of the time with directory A and sometimes with directory B and never both. If you right click a file (foo.f) --> Click Propeties --> you can change the "Exclude File From Build" from NO to YES and the project will ...

How do I configure BeyondCompare to ignore SCM replaced text in comments?

I do have some text sequences that are replaced by the SCM (Perforce in my case). I do want to configure BeyondCompare to consider these sequences as unimportant differences in order to be able to ignore them when I compare files. In my case it's about Python source files and the sequences are looking like # $Id: //depot/.../filename#...

is there any way to ignore reading in certain lines in a text file?

I'm trying to read in a text file in a c# application, but I don't want to read the first two lines, or the last line. There's 8 lines in the file, so effectivly I just want to read in lines, 3, 4, 5, 6 and 7. Is there any way to do this? example file USE [Shelley's Other Database] CREATE TABLE db.exmpcustomers( fName varchar(100) NULL...

ignore maven dependency during specific execution phase

I have a (custom) embedded jetty launcher which I had been using to develop/test my web application (before moving to maven). I am able to trick m2eclipse into putting the maven managed dependencies to libraries for the war file onto the launcher classpath (when run from eclipse). I did this by creating two dependencies for the same ...

Ignore few children for comparison when comparing xml documents with XMLUnit

Hi, Is it possible to ignore few children in elements when comparing xml documents with xmlunit. i want to ignore any empty text nodes in the element when comparing them. Best Regards, Keshav ...

Regex - ignore certain characters in quotes

Hello fellow developers, I tried searching for the answer to this, but I couldn't find anything too helpful in this situation. It's possible that I'm not searching the correct terms. I'm having trouble with this regex. Consider this string: $str = "(1, 2, 'test (foo) bar'), (3, 4, '(hello,world)')"; I want to end up with a multi...