You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jeff Orrok <jo...@incentco.com> on 2016/09/16 18:00:30 UTC

Re: svn propget -R displays inconsistent paths

If I am in a directory and type `svn propget svn:ignore -R` then the path
on each line is relative to the current working directory as you would
expect.

However if I cd to the parent and then type `svn propget svn:ignore -R
subdir` then subdir is only shown in the path for items that are below the
immediate children of the subdir.

$ cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core)

$ svn --version
svn, version 1.7.14 (r1542130)
   compiled Nov 20 2015, 19:25:09

Copyright (C) 2013 The Apache Software Foundation.
This software consists of contributions made by many people; see the NOTICE
file for more information.
Subversion is open source software, see http://subversion.apache.org/

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using
Neon.
  - handles 'http' scheme
  - handles 'https' scheme
* 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

To my knowledge, subversion is the standard package provided by the CentOS
repos.

Transcript of terminal session follows

11:56~/Work/core-api$ svn propget svn:ignore -R | sed -ne '/./p'
WebContent - answers.home
WebContent/cdn - tmp
WebContent/cdn/images - *.png
WebContent/cdn/merchants - *
WebContent/cdn/program_templates - *
WebContent/docs - *
php_includes/application/libraries - anet_1.1.8
php_uploads - invoices
csv_imports
support/crons/running - *.process
*.pid
support/post-install/snapshots - dev-core.trac_07
eric-production-122915.snapshot
prod.20151216
scion-air-invoicing
legacy-snapshot.template
local-prod-runtime-fix
snapshot.20160310
snapshot.0222
prod-core.20160214.snapshot
support/post-install/snapshots/dev-core.baseline/config - prod-tunnel.db
my-local.db
support/post-install/snapshots/dev-core.baseline/data - branch.brad.201*
branch.*
11:57~/Work/core-api$ cd ..
11:57~/Work$ svn propget svn:ignore -R core-api | sed -ne '/./p'
core-api/WebContent - answers.home
core-api/WebContent/cdn - tmp
core-api/WebContent/cdn/images - *.png
core-api/WebContent/cdn/merchants - *
core-api/WebContent/cdn/program_templates - *
core-api/WebContent/docs - *
core-api/php_includes/application/libraries - anet_1.1.8
core-api/php_uploads - invoices
csv_imports
core-api/support/crons/running - *.process
*.pid
core-api/support/post-install/snapshots - dev-core.trac_07
eric-production-122915.snapshot
prod.20151216
scion-air-invoicing
legacy-snapshot.template
local-prod-runtime-fix
snapshot.20160310
snapshot.0222
prod-core.20160214.snapshot
core-api/support/post-install/snapshots/dev-core.baseline/config -
prod-tunnel.db
my-local.db
core-api/support/post-install/snapshots/dev-core.baseline/data -
branch.brad.201*
branch.*


-- 
Jeff Orrok, Sr. Software Engineer
email: jorrok@incentco.com
cell: 303-995-0138
skype: jeffoire66

Re: svn propget -R displays inconsistent paths

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Jeff Orrok wrote on Fri, Sep 16, 2016 at 12:26:06 -0600:
> As Firefox says, "well, this is embarrassing".
> 
> It looks like I've misinterpreted lines which are actually patterns that
> pertain to a target on a previous line.
> 
> I think I did this because the blank lines are inconsistent
> 
> Here is the command run without filtering through sed.  Note that for
> whatever reason, *.pid does NOT have a blank line before it.

The value of the property is "*.process\n*.pid\n".  That value is
printed literally to stdout.

That changed in 1.8 or 1.9, which print the value in this format:

% svn propget -vR svn:ignore
Properties on 'tools/server-side':
  svn:ignore
    .libs
    svn-populate-node-origins-index
    svnauthz
    svnauthz-validate

Cheers,

Daniel

Re: svn propget -R displays inconsistent paths

Posted by Jeff Orrok <jo...@incentco.com>.
As Firefox says, "well, this is embarrassing".

It looks like I've misinterpreted lines which are actually patterns that
pertain to a target on a previous line.

I think I did this because the blank lines are inconsistent

Here is the command run without filtering through sed.  Note that for
whatever reason, *.pid does NOT have a blank line before it.

11:22~/Work$ svn propget svn:ignore -R core-api
core-api/WebContent - answers.home

core-api/WebContent/cdn - tmp

core-api/WebContent/cdn/images - *.png

core-api/WebContent/cdn/merchants - *

core-api/WebContent/cdn/program_templates - *

core-api/WebContent/docs - *

core-api/php_includes/application/libraries - anet_1.1.8

core-api/php_uploads - invoices

csv_imports

core-api/support/crons/running - *.process
*.pid

core-api/support/post-install/snapshots - dev-core.trac_07

eric-production-122915.snapshot

prod.20151216

scion-air-invoicing

legacy-snapshot.template

local-prod-runtime-fix

snapshot.20160310

snapshot.0222

prod-core.20160214.snapshot

core-api/support/post-install/snapshots/dev-core.baseline/config -
prod-tunnel.db

my-local.db

core-api/support/post-install/snapshots/dev-core.baseline/data -
branch.brad.201*

branch.*

-- 
Jeff Orrok, Sr. Software Engineer
email: jorrok@incentco.com
cell: 303-995-0138
skype: jeffoire66