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

Re: svn add doesn't honor svn:ignore or global ignore?

From: Ryan Schmidt <subversion-2006d_at_ryandesign.com>
Date: 2006-10-31 16:46:42 CET

On Oct 31, 2006, at 02:05, Reinhard Brandstšdter wrote:

> Well I tried to call "svn add ." but this won't work within the /
> etc directory
> because "/etc" is already under version control. (It's an in-place
> import)
> So for the first initial check-in i see no other way than doing a
> svn add *
> and then doing an svn del on unwanted files, svn del shadow for
> example.

You definitely want "svn revert shadow" instead of "svn del shadow".
"svn del shadow" would print an error message to you, telling you to
use "--force" if you really want to, and if you "svn del --force
shadow" then your shadow file will truly be deleted from disk
forever. "svn revert shadow", on the other hand, merely unschedules
the scheduled addition to the repository and leaves the file on the
disk, which is what you want.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 31 16:47:38 2006

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

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