Return-Path: X-Original-To: apmail-subversion-users-archive@minotaur.apache.org Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5706718F48 for ; Tue, 26 Jan 2016 04:58:15 +0000 (UTC) Received: (qmail 19975 invoked by uid 500); 26 Jan 2016 04:58:14 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 19865 invoked by uid 500); 26 Jan 2016 04:58:13 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Delivered-To: moderator for users@subversion.apache.org Received: (qmail 53983 invoked by uid 99); 25 Jan 2016 21:29:50 -0000 X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.999 X-Spam-Level: ** X-Spam-Status: No, score=2.999 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=coriant.onmicrosoft.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coriant.onmicrosoft.com; s=selector1-coriant-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=DaPGUsIX6Z0s9cNsDYSZz55QNnPyavq3ONpQkrKGnco=; b=dLceZYZWTkxnylCQ9Ey8CqaPbINPtyTQ2RKNeYUT9ucbiZL6gOfu9dPrD5ZXfdFIH6oY8M1OZWGjSvwcJpkhy63VoVtLjoQf6ekFbqYbmQ9/O+eXMqIkrwD9OUc+FW3u5S8Sbmr5PfmTEo5WlFHEYnMNMH9rq8lDoLJf2tE03vc= From: "Webster, Brent (Coriant - CA/Ottawa)" To: "users@subversion.apache.org" Subject: 'svn status' reporting file not found when pathname contains an intermediate symlink Thread-Topic: 'svn status' reporting file not found when pathname contains an intermediate symlink Thread-Index: AdFXs7Q5WV3hYufhT928eHNjEQv0gQ== Date: Mon, 25 Jan 2016 21:29:31 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Brent.Webster@coriant.com; x-originating-ip: [204.154.128.175] x-microsoft-exchange-diagnostics: 1;VI1PR04MB1568;5:L3gBrDfbBiumsq8FLck1uindbaXvayJ1f8AFcxuozocnJlLMw+oXEjPWQLQHwsdWEZ1RUZpG8W+9IthiA0FydGXcAt8tkUPfQy6TqfvSzzv2VvK3y6bLB7m8ncpQ+PDI02kNZ97xnERAhCHghm7zeg==;24:rmE3AUvOnh86ACtJG+Y/UnyLwXnpQm2SFSxAauyRMk/TzWoouTihmvSahCAnSd5zreDJM3DDsL5NgeCe8GrDl4QkuHzbpTBsOE/8lzNfCis= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:VI1PR04MB1568; x-ms-office365-filtering-correlation-id: 6b996328-4d37-46f3-d7e2-08d325ce9cf3 x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(2401047)(520078)(8121501046)(5005006)(3002001)(10201501046);SRVR:VI1PR04MB1568;BCL:0;PCL:0;RULEID:;SRVR:VI1PR04MB1568; x-forefront-prvs: 083289FD26 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(979002)(6009001)(189002)(199003)(10400500002)(87936001)(122556002)(2906002)(3280700002)(92566002)(40100003)(86362001)(2501003)(450100001)(5004730100002)(790700001)(110136002)(102836003)(1220700001)(77096005)(76576001)(1096002)(2351001)(11100500001)(2900100001)(229853001)(107886002)(19625215002)(74316001)(15975445007)(54356999)(5001960100002)(3846002)(6116002)(81156007)(97736004)(66066001)(33656002)(16236675004)(189998001)(19580395003)(19300405004)(50986999)(105586002)(106356001)(586003)(5003600100002)(5008740100001)(5002640100001)(101416001)(21314002)(357404004)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB1568;H:VI1PR04MB1567.eurprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; received-spf: None (protection.outlook.com: coriant.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_VI1PR04MB15678B867939E94534BF0605F8C70VI1PR04MB1567eurp_" MIME-Version: 1.0 X-OriginatorOrg: coriant.com X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jan 2016 21:29:31.2338 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 76595477-907e-4695-988b-a6b39087332d X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB1568 --_000_VI1PR04MB15678B867939E94534BF0605F8C70VI1PR04MB1567eurp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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/OS= M1S/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/OSM= 1S/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 <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" ---- Brent Webster --_000_VI1PR04MB15678B867939E94534BF0605F8C70VI1PR04MB1567eurp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I have a script within an absolute directory path: o= ts/osm1s/Target/sdcard/proj/test.sh

It exists:

  >> ls –I ots/osm1s/Target/sd= card/proj/test.sh

   1376926 ots/osm1s/Target/sdcard/proj/te= st.sh

 

   >> svn status ots/osm1s/Target/sd= card/proj/test.sh

   >>

   # i.e. no mods

 

An intermediate symlink is setup and created in=

   >> cd ots/development<= /p>

   >> ln –s ../osm1s OSM1S

 

From a Linux perspective, this link is valid

  >> ls –I ots/development/OSM= 1S/Target/sdcard/proj/test.sh

   1376926 ots/development/OSM1S/Target/sd= card/proj/test.sh

   # i.e. the inode is the same=

 

It is special:

  >> svn pl ots/development/OSM1S

  Properties on ‘ots/development/OSM1S= 217;:

     svn:special

 

but when I query it

   >> svn status ots/developmen= t/OSM1S/Target/sdcard/proj/test.sh

   svn: warning: W155010: The node '/svn/x= xx/aSymlinkBug/ots/development/OSM1S/Target/sdcard/proj/test.sh' was not fo= und.

 

Note: Querying the status at the symlink reports not= hing 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/Tar= get

  ?      ots/developme= nt/OSM1S/Target

  >> svn status ots/development/OSM1S/Tar= get/sdcard

  svn: warning: W155010: The node '/svn/xxx/aSy= mlinkBug/ots/development/OSM1S/Target/sdcard' was not found.

 

This is not the symlink behaviour that I’m exp= ecting in SVN or should I not be so picky

 

Environment setup:

-     &= nbsp;    OS: Red Hat Enterprise Linux Client release 5.9 (Ti= kanga)

-     &= nbsp;    svn: 1.8.14

-     &= nbsp;    binaries installed directly, we didn’t build = them

-     &= nbsp;    no private mods

-     &= nbsp;    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/San= dbox/bwebster/aSymlinkBug

 

2/ then check it out

   svn co $svnnap/sdevolution/trunk/Sandbo= x/bwebster/aSymlinkBug

 

3/ Setup required structure

   >> cd aSymlinkBug

   >> mkdir -p ots/development<= /o:p>

   >> mkdir -p ots/osm1s/Target/sdca= rd/proj

   >> cat <<EOF >ots/osm1s/= Target/sdcard/proj/test.sh

   #!/bin/bash

   #

   echo "Just testing"

   @EOF

   >>chmod 755 ots/osm1s/Target/sdca= rd/proj/test.sh

 

4/ Now, create the intermeidate symlink

   >> cd ots/development<= /p>

   >> ln -s ../osm1s OSM1S

 

5/ Add everything and check it in

   >> cd ../..

   >> svn add ots

   >> svn commit -m "initial bu= g setup"

 

----

Brent Webster

--_000_VI1PR04MB15678B867939E94534BF0605F8C70VI1PR04MB1567eurp_--