You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by nick downing <ni...@yahoo.com> on 2009/01/11 22:49:03 UTC

output of SVN status, question mark lines

hi all,

Just a minor question.  When I do svn status I get output such as this:
?      ad
?      bd
?      a0
?      a1
?      b0
?      b1
which are temporary files and not under version control.  Using svn propedit svn:ignore . I made an exclusion list:
a0 a1 ad b0 b1 bd
yet it doesn't seem to have any effect.  For some reason .o files don't seem to be listed but other files are.  Maybe someone has put .o in a global exclusion list when setting up svn, I'm not sure.  How can I locally suppress specific files in a directory?

Please would you be so kind as to cc: me at nicholas_downing@yahoo.com as I haven't subscribed, I don't have a good system for handling large volumes of email at the moment and it didn't seem worth setting it up for such a minor question.

Many thanks,
cheers, Nick

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1017814

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: output of SVN status, question mark lines

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jan 12, 2009, at 22:34, nick downing wrote:

> [ndowning@charikar] testnick [1:570] svn proplist -v .
> Properties on '.':
>   svn:ignore : a0 a1 ad b0 b1 bd

For the svn:ignore property, you must put one match (e.g. one  
filename) per line, e.g.:

a0
a1
ad
b0
b1
bd

This is different from the global-ignores section of the config file,  
where all matches are listed on a single line.


See the Book:

http://svnbook.red-bean.com/en/1.5/ 
svn.advanced.props.special.ignore.html

"The Subversion runtime configuration system provides an option,  
global-ignores, whose value is a whitespace-delimited collection of  
file patterns."

"When found on a versioned directory, the svn:ignore property is  
expected to contain a list of newline-delimited file patterns that  
Subversion should use to determine ignorable objects in that same  
directory."

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1020882

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: output of SVN status, question mark lines

Posted by nick downing <ni...@yahoo.com>.
Thanks for the response Ryan, here is some more info captured from my terminal session.  Note that since the other day I've created mushrooms.header which I've forgotten to svn add, so I want that to appear as a ? line in the output.  The others I don't.  Also I had been running a 2005 build of svn that is installed systemwide, and I upgraded to the latest which I installed locally in order to try and fix this problem, but it didn't help.

[ndowning@charikar] testnick [1:575] uname -a
Linux charikar.csse.unimelb.edu.au 2.6.9-78.0.5.ELsmp #1 SMP Wed Sep 24 05:40:24 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
[ndowning@charikar] testnick [1:576] gcc --version
gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-10)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[ndowning@charikar] testnick [1:567] svn --version
svn, version 1.5.5 (r34862)
   compiled Jan 12 2009, 10:58:07

Copyright (C) 2000-2008 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_svn : Module for accessing a repository using the svn network protocol.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme

[ndowning@charikar] testnick [1:568] ls
a0    b0    mushrooms.0  mushrooms.4  mushrooms.8
a1    b1    mushrooms.1  mushrooms.5  mushrooms.data
ad    bd    mushrooms.2  mushrooms.6  mushrooms.header
a.sh  b.sh  mushrooms.3  mushrooms.7  splitmush.sh
[ndowning@charikar] testnick [1:569] svn status
?      mushrooms.header
?      ad
?      bd
?      a0
?      a1
?      b0
?      b1
[ndowning@charikar] testnick [1:570] svn proplist -v .
Properties on '.':
  svn:ignore : a0 a1 ad b0 b1 bd

[ndowning@charikar] testnick [1:571] 

Many thanks,
cheers, Nick

--- On Mon, 1/12/09, Ryan Schmidt <su...@ryandesign.com> wrote:
From: Ryan Schmidt <su...@ryandesign.com>
Subject: Re: output of SVN status, question mark lines
To: nicholas_downing@yahoo.com
Cc: users@subversion.tigris.org
Date: Monday, January 12, 2009, 5:29 PM

On Jan 11, 2009, at 16:49, nick downing wrote:

> Just a minor question.  When I do svn status I get output such as this:
> ?      ad
> ?      bd
> ?      a0
> ?      a1
> ?      b0
> ?      b1
> which are temporary files and not under version control.  Using svn
propedit svn:ignore . I made an exclusion list:
> a0 a1 ad b0 b1 bd
> yet it doesn't seem to have any effect.

It should have the effect you want. Could you show us exactly what you typed,
and perhaps exactly what "svn proplist -v ." says now?

> For some reason .o files don't seem to be listed but other files are. 
Maybe someone has put .o in a global exclusion list when setting up svn, I'm
not sure.  How can I locally suppress specific files in a directory?

Yes, .o files are globally ignored by default. See the global-ignores section
of your Subversion config file (e.g. on Linux in ~/.subversion/config).

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1020877

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: output of SVN status, question mark lines

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jan 11, 2009, at 16:49, nick downing wrote:

> Just a minor question.  When I do svn status I get output such as  
> this:
> ?      ad
> ?      bd
> ?      a0
> ?      a1
> ?      b0
> ?      b1
> which are temporary files and not under version control.  Using svn  
> propedit svn:ignore . I made an exclusion list:
> a0 a1 ad b0 b1 bd
> yet it doesn't seem to have any effect.

It should have the effect you want. Could you show us exactly what  
you typed, and perhaps exactly what "svn proplist -v ." says now?

> For some reason .o files don't seem to be listed but other files  
> are.  Maybe someone has put .o in a global exclusion list when  
> setting up svn, I'm not sure.  How can I locally suppress specific  
> files in a directory?

Yes, .o files are globally ignored by default. See the global-ignores  
section of your Subversion config file (e.g. on Linux in  
~/.subversion/config).

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1020649

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: output of SVN status, question mark lines

Posted by Erik Huelsmann <eh...@gmail.com>.
Hi Nick,

On Sun, Jan 11, 2009 at 11:49 PM, nick downing
<ni...@yahoo.com> wrote:
> hi all,
>
> Just a minor question.  When I do svn status I get output such as this:
> ?      ad
> ?      bd
> ?      a0
> ?      a1
> ?      b0
> ?      b1
> which are temporary files and not under version control.

Right, that's what the question mark means. (Well, it doesn't mean
temporary, but it does mean not-under-version-control.)

>  Using svn propedit
> svn:ignore . I made an exclusion list:
> a0 a1 ad b0 b1 bd
> yet it doesn't seem to have any effect.

If you did it exactly that way, I can imagine it didn't: each line
should hold a separate file (pattern) like this:

a?
b0
b1
bd


>  For some reason .o files don't seem
> to be listed but other files are.  Maybe someone has put .o in a global
> exclusion list when setting up svn, I'm not sure.

Exactly. See your Subversion configuration files and search for
"global ignores". There are more items in the list by default, but it
can be customized.

>  How can I locally suppress specific files in a directory?

Using the svn:ignore property on the containing directory: you were on
the right track!

HTH,

Erik.