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

Re: Possible bug: --stop-on-copy stops too early

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Tue, 24 May 2011 13:22:42 +0300

Dirk Heinrichs wrote on Tue, May 24, 2011 at 09:14:11 +0200:
> Hi,
>
> I'm trying to get the base revision of a branch using "svn log --stop-on-
> copy". However, the output of this command stops a couple of revisions too
> early:
>
> svn log -v
> https://sdmpudpagport.sdm.de/pu/dpagpalis/svn/repository/software/branches/dhe_oracle_tablespaces_fuer_appcom
> ------------------------------------------------------------------------
> r1954 | hardt | 2011-05-19 13:51:17 +0200 (Thu, 19 May 2011) | 1 line
> Changed paths:
> D /PALISNC
> A /software (from /PALISNC:1953)
>

This is a copy of the ancestor of the branch, so 'svn log' stops on it.
Nothing surprising here given the underlying design (--stop-on-copy
doesn't know where in the tree branch boundaries are).

Try

U=https://sdmpudpagport.sdm.de/pu/dpagpalis/svn/repository/software/branches/dhe_oracle_tablespaces_fuer_appcom
svn log --stop-on-copy $U -r 1953:1
svn log --stop-on-copy ${U/software/PALISNC}@1953

> renamed software statt PALISNC
> ------------------------------------------------------------------------
Received on 2011-05-24 12:23:22 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.