[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: [PATCH] Allow more than one pattern per line in svn:ignore

From: James Goodall <jgoodall_at_dmetrix.com>
Date: 2003-12-10 18:21:08 CET

I haven't looked at how svn_cstring_split_append() works, but I'm guessing
it doesn't handle path quoting or escaping. If I can't use spaces in my
file names, I don't like the patch.

e.g. # svn ps svn:ignore test\ data .

 - James

-----Original Message-----
From: Edmund Horner [mailto:edmund@chrysophylax.cjb.net]
Sent: Wednesday, December 10, 2003 4:08 AM
To: dev@subversion.tigris.org
Subject: [PATCH] Allow more than one pattern per line in svn:ignore

This is a very little patch to allow svn:ignore to hold more than one
pattern per line. It copies the pattern splitting arguments from those
used for global-ignores.

As this is virtually my first toe-in-the-water, I'm don't expect to be
perfect. For one thing I haven't run the tests (I'm not sure how to get
them working on win32), but I have tested it informally.

Edmund Horner.


Allow more than one svn:ignore pattern per line.

* subversion/libsvn_wc/status.c
     (collect_ignore_patterns): Split the svn:ignore property string
         on any of "n\r\t\v " (as is used with global-ignores) to
         allow more allow than one pattern per line.

* doc/book/book/ch06.xml
     (svn-ch-6-sect-2.3.3): Explain that patterns can be separated by
          newlines or by spaces (instead of requiring one per line).

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 10 18:22:10 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.