[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: Jon DeVree <jadevree_at_mtu.edu>
Date: Mon, 29 Mar 2010 14:19:53 -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.

Second, the revision shows up in the log for that file. So there is an
inconsistency here. Either the file was changed and the log is correct,
or nothing changed and the log shouldn't really be there either.

Finally, you could just as easily argue that branches/mine/ is a copy of
trunk/ and did not actually change either. So why would that have an
updated revision number but nothing else does?

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.

-- 
Jon
"lib64 is a wart on history and should never have been there."
        -Tollef Fog Heen
Received on 2010-03-29 20:20:35 CEST

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