[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: 'svn status' reporting file not found when pathname contains an intermediate symlink

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Tue, 26 Jan 2016 19:18:49 +0100

On 26.01.2016 16:55, Brent Webster wrote:
> I have a script within an absolute directory path: ots/osm1s/Target/sdcard/proj/test.sh
> It exists:
> >> ls –I ots/osm1s/Target/sdcard/proj/test.sh
> 1376926 ots/osm1s/Target/sdcard/proj/test.sh
>
> >> svn status ots/osm1s/Target/sdcard/proj/test.sh
> >>
> # i.e. no mods
>
> An intermediate symlink is setup and created in
> >> cd ots/development
> >> ln –s ../osm1s OSM1S
>
> From a Linux perspective, this link is valid
> >> ls –i ots/development/OSM1S/Target/sdcard/proj/test.sh
> 1376926 ots/development/OSM1S/Target/sdcard/proj/test.sh
> # i.e. the inode is the same
>
> It is special:
> >> svn pl ots/development/OSM1S
> Properties on ‘ots/development/OSM1S’:
> svn:special
>
> but when I query it
> >> svn status ots/development/OSM1S/Target/sdcard/proj/test.sh
> svn: warning: W155010: The node '/svn/xxx/aSymlinkBug/ots/development/OSM1S/Target/sdcard/proj/test.sh' was not found.
>
> Note: Querying the status at the symlink reports nothing i.e no mods which is correct
> >> svn status ots/development/OSM1S
> >>
>
> But as soon as I go past the symlink, the behaviour is erratic
> >> svn status ots/development/OSM1S/Target
> ? ots/development/OSM1S/Target
> >> svn status ots/development/OSM1S/Target/sdcard
> svn: warning: W155010: The node '/svn/xxx/aSymlinkBug/ots/development/OSM1S/Target/sdcard' was not found.
>
> This is not the symlink behaviour that I’m expecting in SVN or should I not be so picky
>
> Environment setup:
> - OS: Red Hat Enterprise Linux Client release 5.9 (Tikanga)
> - svn: 1.8.14
> - binaries installed directly, we didn’t build them
> - no private mods
> - no Berkeley DB
>
> Yes, it is an old OS but welcome to big iron/telecom development
>
> The following is my setup:
> 1/ create a new private branch called aSymlinkBug
> svn mkdir $svnnap/sdevolution/trunk/Sandbox/bwebster/aSymlinkBug
>
> 2/ then check it out
> svn co $svnnap/sdevolution/trunk/Sandbox/bwebster/aSymlinkBug
>
> 3/ Setup required structure
> >> cd aSymlinkBug
> >> mkdir -p ots/development
> >> mkdir -p ots/osm1s/Target/sdcard/proj
> >> cat <<EOF >ots/osm1s/Target/sdcard/proj/test.sh
> #!/bin/bash
> #
> echo "Just testing"
> @EOF
> >>chmod 755 ots/osm1s/Target/sdcard/proj/test.sh
>
> 4/ Now, create the intermeidate symlink
> >> cd ots/development
> >> ln -s ../osm1s OSM1S
>
> 5/ Add everything and check it in
> >> cd ../..
> >> svn add ots
> >> svn commit -m "initial bug setup"

Try asking on the subversion users list. This is the list for
TortoiseSVN, which is a Windows only client.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3157178
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2016-01-26 19:18:05 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.