Re: [viewvc-users] viewvc-1.1.2 and copied paths in log view

Tom Throckmorton <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <[email protected]>
On Oct 24 10:14, Tom Throckmorton wrote:
> Hi,
> 
> I'm prepping to move to 1.1.2 from a 1.1-dev release, and noticed a behavior
> change in the way copied resources are shown in the revision log view that I'm
> not sure is intentional.  Looked through the list, issue tracker, commits and
> the code a little to see if I could find a relevant change, but so far not
> finding an answer, so I'm hoping someone can help provide insight.
> 
> If I browse to a particular rev (view=revision) that contains copied resources,
> the copied paths are reflected in the result, e.g. 'Changed paths' includes a
> non-href'ed message '(Copied from path/to/resource, r1234) below the link to
> each changed item.  If, however, I view the revision log (view=log) for a given
> file that was copied, the ancestors are no longer listed directly in the result
> - there is instead now only an href to 'Copied from: path/to/resource revision
> 1234', and the file is listed as 'Added' vs. 'Modified'.
> 
> This has the side effect of preventing a 'Diff to previous' between the first
> copied version and its ancestor directly in viewvc, and while I can think of
> reasons why it might _not_ ought to behave that way, presenting the full
> ancestry seems more in line with what would be seen using 'svn log', and FWIW,
> with the behavior in 1.0.5 and at least some 1.1 pre-release revs.
> 
> Anyone else see this behavior, and/or know if this was this an intentional
> feature change, or just a bug?

*sigh*

Found the issue - cross_copies was disabled.  When I upgraded, I went through
and ported settings from my old viewvc.conf to the new format in 1.1.x.  I had
cross_copies=1 in my old config, but in config that came with 1.1.2, I found:

## By default each of the configuration items is commented out, with the default
## value of the option shown.

...and for cross_copies:

## cross_copies: Cross filesystem copies when traversing Subversion
## file revision histories.
##
#cross_copies = 1

...which I presumed meant it was enabled by default.  So I left it that way :)
Uncommented and revision view works again as expected.

-tt

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2414511

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.