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

Re: Rename action with pre-commit hook script

From: Nick Stolwijk <nick.stolwijk_at_gmail.com>
Date: Tue, 10 Nov 2009 12:15:16 +0100

Try to use svnlook changed --copy-info. It shows information like:

svnlook changed /tmp/tmprepository --copy-info
D trunk/a.txt
A + trunk/c.txt
    (from trunk/a.txt:r1)

Hth,

Nick Stolwijk
~Java Developer~

IPROFS BV.
Claus Sluterweg 125
2012 WS Haarlem
http://www.iprofs.nl

On Tue, Nov 10, 2009 at 12:00 PM, Sandro Frenzel <s.frenzel_at_technisat.de> wrote:
> Hello all,
>
> I want to check whether a file/directory can be renamed or not.
> So I had the idea to create a script which is invoked by a pre-commit hook script. The problem is, that I could not retreive the "old" filename from the file, which has been renamed. I could only get the "new" renamed filename.
>
> Is there any solution to get the filename from the file which has been renamed?
>
>
> Best Regards,
> Sandro Frenzel
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2416096
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2416103

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-11-10 12:16:08 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.