Re: 'svn status' reporting file not found when pathname contains an intermediate symlink
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’:
> 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
> echo "Just testing"
> >>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.
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest interface to (Sub)version control
/_/ \_\ http://tortoisesvn.net
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