You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Yves Martin <ym...@gmail.com> on 2012/04/23 17:46:21 UTC

Trouble with shared object so file with svn_load_dirs.pl

  Hello,

I try to use svn_load_dirs.pl to update my vendor branch on Linux with
svn 1.7.4.
I got latest version from
http://svn.apache.org/repos/asf/subversion/trunk/contrib/client-side/svn_load_dirs

Everything seems to be OK, except for one file - a Unix binary .so
executable file - the script detects it as added whereas it is already
present in the branch working copy and it has not changed at all.

As a result, the "svn add" operation just fails with:
svn: warning: W150002: '/path/to/current/myFileWithSomeCapLetters.so'
is already under version control
svn: E200009: Could not add all targets because some targets are
already versioned
svn: E200009: Illegal target for the requested operation
Press return to quit and clean up svn working directory:

I have checked that:
- file names are exactly equals, case is correct
- files are exactly identical
- file properties in the vendor branch

To clean the situation, I have removed "svn:eol-style" and
"svn:keywords" properties on the existing file in branch but kept
"svn:executable".

After a new checkout of the branch, the operation still fails. Here is
my command
svn_load_dirs.pl -v -v -w vendorbranch -t vendorrelease_2
https://hostname/subversion/repository branches/vendorbranch
vendorrelease_2

How to diagnose what is wrong ?

Thank you in advance for your help

--
Yves Martin

Re: Trouble with shared object so file with svn_load_dirs.pl

Posted by Yves Martin <ym...@gmail.com>.
Le 23 avril 2012 17:46, Yves Martin <ym...@gmail.com> a écrit :

> Everything seems to be OK, except for one file - a Unix binary .so
> executable file - the script detects it as added whereas it is already
> present in the branch working copy and it has not changed at all.
>
> As a result, the "svn add" operation just fails with:
> svn: warning: W150002: '/path/to/current/myFileWithSomeCapLetters.so'
> is already under version control
> svn: E200009: Could not add all targets because some targets are
> already versioned
> svn: E200009: Illegal target for the requested operation
> Press return to quit and clean up svn working directory:

> How to diagnose what is wrong ?

 Hello,

I browse the Perl source and discover that the "global ignores" option
defaults to the variable from .subversion/config and it contains the
"*.so" pattern !

As this ignore list is used when scanning the source / working copy,
the file from the "vendor release" is detected as added.

What I find strange is why the global ignore list is not used to scan
the "vendor release" too.

So here is the solution: I have to define manually the
"global_ignores" option on command line.

--
Yves Martin