You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by tn...@lexmark.com on 2003/10/23 22:26:32 UTC

svn ignore property wierdness

Hi SVN Community:

I am trying to set up the svn:ignore property for some specific files.

Here's a trace of the commands:

mls:/m/mls/wc/src->svn pl -v vp
mls:/m/mls/wc/src->svn ps svn:ignore ".workspace .vp_src_dir" vp
property `svn:ignore' set on 'vp'
mls:/m/mls/wc/src->svn pl -v vp
Properties on 'vp':
  svn:ignore : .workspace .vp_src_dir

mls:/m/mls/wc/src->cd vp
mls:/m/mls/wc/src/vp->ls
buildvp*  buildvp~*  Makefile  Makefile~  .svn/  .vp_src_dir  .workspace  .workspace~
mls:/m/mls/wc/src/vp->svn status
?      .vp_src_dir
?      .workspace
 M     .
M      buildvp
M      Makefile
mls:/m/mls/wc/src/vp->

So, if I put in only ".workspace" or only ".vp_src_dir", it ignores the one I specify.

I just can't get it to ignore both ...  I tried spaces on both sides of the filespecs.  Maybe I need *.workspace and *.vp_src_dir ???

Any ideas?  Am I doing something really dumb?

Thanks,
Tim




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svn ignore property wierdness

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
tnoell@lexmark.com wrote:

> Hi SVN Community:
> 
> I am trying to set up the svn:ignore property for some specific files.
> 
> Here's a trace of the commands:
> 
> mls:/m/mls/wc/src->svn pl -v vp
> mls:/m/mls/wc/src->svn ps svn:ignore ".workspace .vp_src_dir" vp
> property `svn:ignore' set on 'vp'
> mls:/m/mls/wc/src->svn pl -v vp
> Properties on 'vp':
>   svn:ignore : .workspace .vp_src_dir
> 
> mls:/m/mls/wc/src->cd vp
> mls:/m/mls/wc/src/vp->ls
> buildvp*  buildvp~*  Makefile  Makefile~  .svn/  .vp_src_dir  .workspace  .workspace~
> mls:/m/mls/wc/src/vp->svn status
> ?      .vp_src_dir
> ?      .workspace
>  M     .
> M      buildvp
> M      Makefile
> mls:/m/mls/wc/src/vp->
> 
> So, if I put in only ".workspace" or only ".vp_src_dir", it ignores the one I specify.
> 
> I just can't get it to ignore both ...  I tried spaces on both sides of the filespecs.  Maybe I need *.workspace and *.vp_src_dir ???
> 
> Any ideas?  Am I doing something really dumb?

svn:ignore is a newline delimited list of items to ignore.  you want 
each item to be on it's own line.  i'd probably be easier to use svn 
propedit than svn propset to accomplish this.

-garrett


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org