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

Subversion 1.9: svn cp --pin-externals may produce dummy log entries

From: Marc Strapetz <marc.strapetz_at_syntevo.com>
Date: Wed, 22 Apr 2015 19:58:35 +0200

After invoking following series of commands:

   svnadmin create repo
   svn checkout file://localhost/d:/temp/externals/repo wc

   mkdir wc
   cd wc
   mkdir ext
   touch ext\file

   mkdir src\dir
   svn add *
   svn propset svn:externals "^/ext ext" src
   svn propset svn:externals "^/ext_at_1 ext" src\dir
   svn commit -m "initial import"

   svn up
   svn cp --pin-externals src ^^/dst -m "copy"
   svn log -r2 -v
   svn proplist -r2 -R -v ^^/
   svn proplist -r1 -R -v ^^/

The final log output shows /dst/dir as modified:

-------------------------
r2 | marc | 2015-04-22...
Changed paths:
    A /dst (from /src:1)
    M /dst/dir

copy
-------------------------

However, there is no modification expected, because src\dir external
already has a revision number set. The proplist outputs confirm that the
property hasn't been modified:

$ svn proplist -r2 -R -v ^/
...
Properties on 'file://localhost/D:/temp/externals/repo/dst/dir':
   svn:externals
     ^/ext_at_1 ext

$ svn proplist -r1 -R -v ^/
...
Properties on 'file://localhost/D:/temp/externals/repo/src/dir':
   svn:externals
     ^/ext_at_1 ext

-Marc
Received on 2015-04-22 19:58:52 CEST

This is an archived mail posted to the Subversion Dev mailing list.

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