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

Re: svn copy not updating Last Changed Rev

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Mon, 29 Mar 2010 23:53:43 +0300 (Jerusalem Daylight Time)

Jon DeVree wrote on Mon, 29 Mar 2010 at 14:19 -0400:
> On Mon, Mar 29, 2010 at 14:02:06 -0400, Bob Archer wrote:
> > Why would you expect the last changed rev of a file to change just
> > because you coppied it to another path? You didn't actually change
> > that file right?
>
> First, the value changes if you use svn copy locally and commit the
> results. So I would expect the behavior of using svn copy using two URLs
> to have the same behavior.

I don't see any difference:

    [[[
    % svn up
    At revision 1.

    % svnversion
    1

    % svn cp -q iota iota2

    % svn ci -q -m "r2: add iota2"

    % svn cp -q ^/trunk/iota ^/trunk/iota3 -m "r3: add iota3"

    % svn up -q

    % svn info iota2 iota3 | grep "Last Changed Rev"
    Last Changed Rev: 2
    Last Changed Rev: 3

    %
    ]]]

In both cases, the "Last Changed Rev" is the revision of the copy.

> I should add that I only showed this on a file, but it actually happens
> to both files and directories beneath the root of the copy operation.

Hmmm.
Received on 2010-03-29 22:53:39 CEST

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.