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

Re: Differences between WC->WC copy, URL->URL copy, and $dirent->created_rev()

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2006-02-02 23:20:20 CET

Nik Clayton wrote:
>
> I think this is a bug, or at least a strange inconsistency. I've also
> got a slightly simpler test case that doesn't involve Perl.
>
> Take the attached mkrepos.sh and run it -- it's the same as the one
> attached to my last message, save that I've added your suggested 'svn
> update' step.
>
> sh mkrepos.sh /tmp/repo
>
> Get info about /branches/test1/foo
>
> svn info file:///tmp/repo/branches/test1/foo
> Path: foo
> Name: foo
> URL: file:///tmp/repo/branches/test1/foo
> Repository Root: file:///tmp/repo
> Repository UUID: 55c3d20a-b690-da11-8650-0011251291e9
> Revision: 6
> Node Kind: file
> Last Changed Author: nik
> Last Changed Rev: 2
> Last Changed Date: 2006-01-29 10:57:32 +0000 (Sun, 29 Jan 2006)
>
> Note that "Last Changed Rev" is 2.
>
> Now get the log for /branches/test1/foo
>
> svn log file:///tmp/repo

Ah, no, that command gets the log for the whole repository, not just for the
file you are talking about.

> ------------------------------------------------------------------------
> r3 | nik | 2006-01-29 10:57:35 +0000 (Sun, 29 Jan 2006) | 1 line
> Changed paths:
> A /branches/test1 (from /trunk:2)
[...]
> ------------------------------------------------------------------------
> r2 | nik | 2006-01-29 10:57:32 +0000 (Sun, 29 Jan 2006) | 1 line
> Changed paths:
> A /trunk/bar
> A /trunk/foo
[...]
> ------------------------------------------------------------------------
>
> According to the log, there was a change to this file in r3. 'svn info'
> says it was changed in r2.

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Feb 2 23:27:23 2006

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.