Paths, base revision and symlinks
From: Vincent Lefevre <vincent-svn_at_vinc17.net>
Date: Thu, 21 Jun 2012 15:02:55 +0200
The svn behavior has changed with Subversion 1.7 (or at least 1.7.5)
For instance, how is path/to/file resolved? And path/to/file_at_rev,
The Subversion book just says: "Locate item in the revision identified
But how is the item identified, e.g. when symlinks are involved? And
With usual commands, a path is resolved according to the local system
This could seem a bit particular and complex, but after an upgrade
Here's an example with various tests:
------------------------------------------------------------
set -x
mkdir my-test-svn || exit
svnadmin create svn
mkdir -p dir1 dir2/dir2b
svn rm dir2/dir2b
rm dir2/dir2b
echo new > dir1/file
cat dir1/file
for i in . dir1 dir2 dir1/file; do svn ls -v $i; done
ln -s dir1/file foo-rel
ln -s `pwd`/dir1/file foo-abs
ln -s `pwd` bar
ls -l
I've attached the output.
-- Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.