Discussion:
output of SVN status, question mark lines
nick downing
2009-01-11 22:49:03 UTC
Permalink
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 ***@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-***@subversion.tigris.org].
Erik Huelsmann
2009-01-13 13:00:44 UTC
Permalink
Hi Nick,

On Sun, Jan 11, 2009 at 11:49 PM, nick downing
Post by nick downing
hi all,
? 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.)
Post by nick downing
Using svn propedit
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
Post by nick downing
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.
Post by nick downing
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.
Ryan Schmidt
2009-01-13 01:29:00 UTC
Permalink
Just a minor question. When I do svn status I get output such as
? ad
? bd
? a0
? a1
? b0
? b1
which are temporary files and not under version control. Using svn
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-***@subversion.tigris.org].
nick downing
2009-01-13 04:34:46 UTC
Permalink
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.

[***@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
[***@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.

[***@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

[***@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
[***@charikar] testnick [1:569] svn status
?      mushrooms.header
?      ad
?      bd
?      a0
?      a1
?      b0
?      b1
[***@charikar] testnick [1:570] svn proplist -v .
Properties on '.':
  svn:ignore : a0 a1 ad b0 b1 bd

[***@charikar] testnick [1:571]

Many thanks,
cheers, Nick

--- On Mon, 1/12/09, Ryan Schmidt <subversion-***@ryandesign.com> wrote:
From: Ryan Schmidt <subversion-***@ryandesign.com>
Subject: Re: output of SVN status, question mark lines
To: ***@yahoo.com
Cc: ***@subversion.tigris.org
Date: Monday, January 12, 2009, 5:29 PM
Post by nick downing
? ad
? bd
? a0
? a1
? b0
? b1
which are temporary files and not under version control. Using svn
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?
Post by nick downing
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-***@subversion.tigris.org].
Ryan Schmidt
2009-01-13 04:41:49 UTC
Permalink
Post by nick downing
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-***@subversion.tigris.org].
Loading...