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

Using "ignore" (perh. also Windows Explorer Extension)

From: Bradburn, Edward <edward.bradburn_at_coremedia.com>
Date: 2006-07-18 12:01:29 CEST

Hi Folks,

I have been trying for a while to make sense of the "ignore" command but
must admit to defeat.

There may well be a problem with my usage, however, so I thought that I
would ask on the list.

First, some details:

 - Windows XP
 - Tortoise-Subversion used "natively" -- no server, database held on a
network share

Everything has been working well for months, until I decided to do the
following:

 - Copy two large project folders from elsewhere on my hard drive to the
Subversion folder
 - Modify Subversion to not recognize PDF and ZIP in the parent folder for
these two folders
 - Add the files to Subversion

So far I have had no success with the ignore setting. I can try as a I might
to set the PDF and ZIP "ignore" using the Windows Explorer Extension, but
this setting seems to be itself ignored on occasion.

Neither add nor commit-with-add seem to work:

1. Using "Add". I go to a folder that I have already added to version
control:

  parent/folder

This folder not only shows a green "tick" but also (using right-click
context menu and "Properties") has its ignore list set to "*.pdf" and
"*.zip". I then want to add a subfolder of this folder. I right-click on
this subfolder and select "Tortoise SVN -> Add". I get a long list of files
and folders in this subfolder -- and amongst them are many many ZIP and PDF
files. What am I doing wrong here?

2. Using "Commit-and-Add". This is the same as 1. above, except that I do
not select the subfolder. Instead, I just right-click in the folder itself
(the one with the green "tick" and the ignore list) and select "SVN Commit".
I again get a long list of non-versioned files and folders from the
subfolder, and, again, there are many many non-versioned PDFs and ZIPs in
the selection.

Just to make absolutely sure, I now repeat the "ignore" process:
 - I go to the folder for which I want to add the sub-folder and
right-click, check the Properties.
 - I remove the current ignore settings.
 - I then once again add the ignore settings "*.pdf" and "*.zip".
 - I then try another "commit" on this folder.
 - Same result, the PDFs and ZIPs are still there in the list of possible
non-versioned files to add.

The only thing that I can conclude is that I have somehow got the file glob
wrong. I have read and re-read section 5.11 of the Tortoise Subversion help,
but cannot see how the ignore list would look any different.

So what else could it be?

Cheers,

Ed Bradburn

--
Edward Bradburn | Technical Editor
CoreMedia | Ludwig-Erhard-Str. 18, 20459 Hamburg, Germany
Tel +49 40.325587.535 | Fax +49.40.325587.999
edward.bradburn@coremedia.com | www.coremedia.com
-------------------------------------------------------
Any Content, Anywhere, in a Trusted Universe:
CoreMedia CMS and CoreMedia DRM
-------------------------------------------------------

  • application/x-pkcs7-signature attachment: smime.p7s
Received on Tue Jul 18 14:19:38 2006

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