On Feb 13, 2008 3:23 PM, Marcelo de Moraes Serpa <celoserpa_at_gmail.com> wrote:
> I have a directory tree like this:
>
> bin/
> buildout.cfg
> buildout.cfg.old
> develop-debug/
> develop-products/
> eggs/
> parts/
> wiki/
> bootstrap.py
> datatransp.ldif
> develop-eggs
> downloads
> EXTERNALS.txt
> products/
> src/
> var/
>
> After some hours working, I want to add everything I added or modified
> inside these dirs except for:
> bin/
> develop-debug/
> eggs/
> parts/
> wiki/
> var/
>
> So, what I did was to "svn propedit svn:externals . " and added this to the
> list:
> bin/
> develop-debug/
> eggs/
> parts/
> wiki/
> var/
>
> However, when I run svn add *, all these dirs and its sub-contents get added
> to the repository. What am I doing wrong?
Your shell is expanding the asterisk, so svn sees:
svn add dir1 dir2 file1 file2
When svn is passed an explicit list of file/directory names,
svn:ignore and global-ignores are overridden - I think the assumption
is that since you are explicitly passing the name to SVN, you really
do want it added, regardless of ignores.
> Also, is there a way to undo the last operations you did on a working copy
> (in this case, I added a bunch of unecessary data)?
See svn help revert
---------------------------------------------------------------------
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:31:44 CET