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

modifyng symlinks

From: Marc Schlinger <Marc.Schlinger_at_pace.com>
Date: Wed, 14 Nov 2012 10:52:52 +0000

Hello,

I'm using :

svn, version 1.7.7 (r1393599)
   compiled Nov 7 2012, 19:23:31

on a debian host.

I am trying to create and apply a patch on a repos with the new svn commands: svn diff and svn patch.

The commit is, for what matters, changing the target of a symlink.
The patch section related to my symlink looks like this:

Modified: folder/symlink
===================================================================
--- folder/symlink 2012-10-18 10:56:32 UTC (rev 76023)
+++ folder/symlink 2012-10-18 11:25:32 UTC (rev 76024)
@@ -1 +1 @@
-link file
\ No newline at end of file
+link other_file
\ No newline at end of file

Since I'm on a linux host my symlink file is really a symlink.
This way "svn patch" is actually trying to modify "folder/file" instead of editing file pointed by "folder/symlink".

Is this a known behaviour ?

Regards,
Marc Schlinger
Received on 2012-11-14 11:53:36 CET

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.