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

Re: svn:ignore and svn add *

From: Ryan Schmidt <subversion-2008a_at_ryandesign.com>
Date: Wed, 13 Feb 2008 14:44:40 -0600

On Feb 13, 2008, at 14:37, Marcelo de Moraes Serpa wrote:

>> So you committed this add? Well, you can undo it like any other
>> revision, as described in the book:
>
> Luckily, in this case, I didn't commit it.

Good! :) Always look at "svn st" before committing to make sure it's
what you want to commit.

In this case, you can just revert the adds, e.g. "svn revert -
R ." (note the "." again). See "Undoing Working Changes":

http://svnbook.red-bean.com/en/1.4/
svn.tour.cycle.html#svn.tour.cycle.revert

>> The better alternative to "svn add *" is "svn add --force ." (note
>> the "." at the end indicating the current directory). Yes, this
>> works; yes, this still obeys the svn:ignores. I tried it just now.
>
> Thanks for the tip, this is what I wanted to know :)

Yeah, "svn add *" is more obvious so people try it first. Don't
worry, you're not the first one this has happened to. :)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-13 21:45:09 CET

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.